diff options
Diffstat (limited to 'clang-tools-extra/clangd/Compiler.h')
-rw-r--r-- | clang-tools-extra/clangd/Compiler.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/Compiler.h b/clang-tools-extra/clangd/Compiler.h index c24ea3546c5..689514ab480 100644 --- a/clang-tools-extra/clangd/Compiler.h +++ b/clang-tools-extra/clangd/Compiler.h @@ -52,7 +52,8 @@ struct ParseInputs { /// Builds compiler invocation that could be used to build AST or preamble. std::unique_ptr<CompilerInvocation> -buildCompilerInvocation(const ParseInputs &Inputs); +buildCompilerInvocation(const ParseInputs &Inputs, + clang::DiagnosticConsumer &D); /// Creates a compiler instance, configured so that: /// - Contents of the parsed file are remapped to \p MainFile. |