diff options
Diffstat (limited to 'tools/CIndex/CIndex.cpp')
-rw-r--r-- | tools/CIndex/CIndex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp index 99f6154056..cc49ee4236 100644 --- a/tools/CIndex/CIndex.cpp +++ b/tools/CIndex/CIndex.cpp @@ -347,8 +347,7 @@ CXTranslationUnit clang_createTranslationUnit( std::string astName(ast_filename); std::string ErrMsg; - return ASTUnit::LoadFromPCHFile(astName, CXXIdx->getDiagnostics(), - CXXIdx->getFileManager(), &ErrMsg, + return ASTUnit::LoadFromPCHFile(astName, &ErrMsg, CXXIdx->getOnlyLocalDecls(), /* UseBumpAllocator = */ true); } |