aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectMemory.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2015-06-08 23:38:06 +0000
committerPavel Labath <labath@google.com>2015-06-08 23:38:06 +0000
commitc7c30eb52832dc20a7afe6640ac4ab361ff9b9fe (patch)
treef92b605a516615b447eefa8d9d21381cfc113b70 /lldb/source/Commands/CommandObjectMemory.cpp
parent4e8e900dd1f21b5b5458affd5d6c2c89f07fdd28 (diff)
downloadllvm-c7c30eb52832dc20a7afe6640ac4ab361ff9b9fe.zip
llvm-c7c30eb52832dc20a7afe6640ac4ab361ff9b9fe.tar.gz
llvm-c7c30eb52832dc20a7afe6640ac4ab361ff9b9fe.tar.bz2
Revert "Introduce a TypeSystem interface to support adding non-clang languages."
This seems to break expression evaluation on the linux build. llvm-svn: 239366
Diffstat (limited to 'lldb/source/Commands/CommandObjectMemory.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectMemory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectMemory.cpp b/lldb/source/Commands/CommandObjectMemory.cpp
index 9410f73..d589800 100644
--- a/lldb/source/Commands/CommandObjectMemory.cpp
+++ b/lldb/source/Commands/CommandObjectMemory.cpp
@@ -33,7 +33,6 @@
#include "lldb/Interpreter/OptionGroupOutputFile.h"
#include "lldb/Interpreter/OptionGroupValueObjectDisplay.h"
#include "lldb/Interpreter/OptionValueString.h"
-#include "lldb/Symbol/ClangASTContext.h"
#include "lldb/Symbol/TypeList.h"
#include "lldb/Target/MemoryHistory.h"
#include "lldb/Target/Process.h"
@@ -533,7 +532,7 @@ protected:
clang::TypeDecl *tdecl = target->GetPersistentVariables().GetPersistentType(ConstString(lookup_type_name));
if (tdecl)
{
- clang_ast_type.SetClangType(ClangASTContext::GetASTContext(&tdecl->getASTContext()),(const lldb::clang_type_t)tdecl->getTypeForDecl());
+ clang_ast_type.SetClangType(&tdecl->getASTContext(),(const lldb::clang_type_t)tdecl->getTypeForDecl());
}
}