aboutsummaryrefslogtreecommitdiff
path: root/source/Symbol/ClangNamespaceDecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Symbol/ClangNamespaceDecl.cpp')
-rw-r--r--source/Symbol/ClangNamespaceDecl.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/source/Symbol/ClangNamespaceDecl.cpp b/source/Symbol/ClangNamespaceDecl.cpp
new file mode 100644
index 000000000000..568b0263f0fe
--- /dev/null
+++ b/source/Symbol/ClangNamespaceDecl.cpp
@@ -0,0 +1,25 @@
+//===-- ClangNamespaceDecl.cpp ----------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Symbol/ClangNamespaceDecl.h"
+
+#include "clang/AST/Decl.h"
+
+namespace lldb_private {
+
+std::string
+ClangNamespaceDecl::GetQualifiedName () const
+{
+ if (m_namespace_decl)
+ return m_namespace_decl->getQualifiedNameAsString();
+ return std::string();
+}
+
+
+}