Greg Clayton | 526e5af | 2010-11-13 03:52:47 +0000 | [diff] [blame] | 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 | |
Greg Clayton | c1422c1 | 2012-04-09 22:46:21 +0000 | [diff] [blame] | 12 | #include "clang/AST/Decl.h" |
| 13 | |
| 14 | namespace lldb_private { |
| 15 | |
| 16 | std::string |
| 17 | ClangNamespaceDecl::GetQualifiedName () const |
| 18 | { |
| 19 | if (m_namespace_decl) |
| 20 | return m_namespace_decl->getQualifiedNameAsString(); |
| 21 | return std::string(); |
| 22 | } |
| 23 | |
| 24 | |
| 25 | } |