Updated to the LLVM/Clang of 2010-11-17 at 3:30pm.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@119677 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangASTSource.cpp b/source/Expression/ClangASTSource.cpp
index 330c1da..e808a04 100644
--- a/source/Expression/ClangASTSource.cpp
+++ b/source/Expression/ClangASTSource.cpp
@@ -36,6 +36,7 @@
// for method signatures!) might help.
Selector ClangASTSource::GetExternalSelector(uint32_t) { return Selector(); }
uint32_t ClangASTSource::GetNumExternalSelectors() { return 0; }
+CXXBaseSpecifier *ClangASTSource::GetExternalCXXBaseSpecifiers(uint64_t Offset) { return NULL; }
// The core lookup interface.
DeclContext::lookup_result ClangASTSource::FindExternalVisibleDeclsByName
diff --git a/source/Expression/ClangExpressionParser.cpp b/source/Expression/ClangExpressionParser.cpp
index 1497dab..ad0807a 100644
--- a/source/Expression/ClangExpressionParser.cpp
+++ b/source/Expression/ClangExpressionParser.cpp
@@ -243,8 +243,11 @@
// 5. Set up the source management objects inside the compiler
+ m_file_manager.reset(new clang::FileManager());
+ m_file_system_options.reset(new clang::FileSystemOptions());
+
if (!m_compiler->hasSourceManager())
- m_compiler->createSourceManager();
+ m_compiler->createSourceManager(*m_file_manager.get(), *m_file_system_options.get());
m_compiler->createFileManager();
m_compiler->createPreprocessor();