summaryrefslogtreecommitdiff
path: root/source/Symbol/CompilerDeclContext.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-13 20:06:56 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-13 20:06:56 +0000
commit7fed546d1996271dabc7cf71d4d033125c4da4ee (patch)
tree2b6dc7dcb4a6380cb331aded15f5a81c0038e194 /source/Symbol/CompilerDeclContext.cpp
parent9e6d35490a6542f9c97607f93c2ef8ca8e03cbcc (diff)
downloadsrc-test2-7fed546d1996271dabc7cf71d4d033125c4da4ee.tar.gz
src-test2-7fed546d1996271dabc7cf71d4d033125c4da4ee.zip
Notes
Diffstat (limited to 'source/Symbol/CompilerDeclContext.cpp')
-rw-r--r--source/Symbol/CompilerDeclContext.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/Symbol/CompilerDeclContext.cpp b/source/Symbol/CompilerDeclContext.cpp
index e44cee67284c..8bee1b48753a 100644
--- a/source/Symbol/CompilerDeclContext.cpp
+++ b/source/Symbol/CompilerDeclContext.cpp
@@ -38,6 +38,15 @@ CompilerDeclContext::GetName () const
return ConstString();
}
+ConstString
+CompilerDeclContext::GetScopeQualifiedName () const
+{
+ if (IsValid())
+ return m_type_system->DeclContextGetScopeQualifiedName(m_opaque_decl_ctx);
+ else
+ return ConstString();
+}
+
bool
CompilerDeclContext::IsStructUnionOrClass () const
{