diff options
author | Pavel Labath <labath@google.com> | 2015-06-08 23:38:06 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-06-08 23:38:06 +0000 |
commit | c7c30eb52832dc20a7afe6640ac4ab361ff9b9fe (patch) | |
tree | f92b605a516615b447eefa8d9d21381cfc113b70 /lldb/source/Commands/CommandObjectMemory.cpp | |
parent | 4e8e900dd1f21b5b5458affd5d6c2c89f07fdd28 (diff) | |
download | llvm-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.cpp | 3 |
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()); } } |