1 //===-- ClangNamespaceDecl.cpp ----------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 #include "lldb/Symbol/ClangNamespaceDecl.h" 11 12 #include "clang/AST/Decl.h" 13 14 namespace lldb_private { 15 16 std::string GetQualifiedName() const17ClangNamespaceDecl::GetQualifiedName () const 18 { 19 if (m_namespace_decl) 20 return m_namespace_decl->getQualifiedNameAsString(); 21 return std::string(); 22 } 23 24 25 } 26