diff --git a/src/clang_tu.cc b/src/clang_tu.cc index 9e026652..2762aa8c 100644 --- a/src/clang_tu.cc +++ b/src/clang_tu.cc @@ -175,6 +175,8 @@ buildCompilerInvocation(const std::string &main, std::vector args, ci->getPreprocessorOpts().ImplicitPCHInclude.clear(); ci->getPreprocessorOpts().PrecompiledPreambleBytes = {0, false}; ci->getPreprocessorOpts().PCHThroughHeader.clear(); + + ci->getHeaderSearchOpts().ModuleFormat = "raw"; return ci; }