forked from qt-creator/qt-creator
Clang: Ignore missing includes while indexing
Change-Id: I0319fbbbde132320c06cb8b04f7d31aed9c0e218 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -45,6 +45,7 @@ bool CollectMacrosSourceFileCallbacks::handleBeginSource(clang::CompilerInstance
|
||||
compilerInstance.getPreprocessorPtr(),
|
||||
m_sourcesManager);
|
||||
|
||||
compilerInstance.getPreprocessorPtr()->SetSuppressIncludeNotFoundError(true);
|
||||
compilerInstance.getPreprocessorPtr()->addPPCallbacks(std::move(callbacks));
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user