summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/ClangNamespaceDecl.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-04-09 22:46:21 +0000
committerGreg Clayton <gclayton@apple.com>2012-04-09 22:46:21 +0000
commitc1422c1d314ed9a261e91048ddeac78cb78d98c9 (patch)
tree404dfd40ddd50c132b5a2251b2cb5aaf304c852d /lldb/source/Symbol/ClangNamespaceDecl.cpp
parent5c61054742df2714ec669523e54afa332bcad54b (diff)
downloadbcm5719-llvm-c1422c1d314ed9a261e91048ddeac78cb78d98c9.tar.gz
bcm5719-llvm-c1422c1d314ed9a261e91048ddeac78cb78d98c9.zip
Added a packet history object to the GDBRemoteCommunication class that is always remembering the last 512 packets that were sent/received. These packets get dumped if logging gets enabled, or when the new expr lldb::DumpProcessGDBRemotePacketHistory (void *process, const char *log_file_path) global function is called.
llvm-svn: 154354
Diffstat (limited to 'lldb/source/Symbol/ClangNamespaceDecl.cpp')
-rw-r--r--lldb/source/Symbol/ClangNamespaceDecl.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/lldb/source/Symbol/ClangNamespaceDecl.cpp b/lldb/source/Symbol/ClangNamespaceDecl.cpp
index 9e764ba1cd9..568b0263f0f 100644
--- a/lldb/source/Symbol/ClangNamespaceDecl.cpp
+++ b/lldb/source/Symbol/ClangNamespaceDecl.cpp
@@ -9,3 +9,17 @@
#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();
+}
+
+
+}
OpenPOWER on IntegriCloud