================
@@ -1382,14 +1382,17 @@ void loadMainFilePreambleMacros(const Preprocessor &PP,
bool semaCodeComplete(std::unique_ptr<CodeCompleteConsumer> Consumer,
const clang::CodeCompleteOptions &Options,
const SemaCompleteInput &Input,
- IncludeStructure *Includes = nullptr) {
+ IncludeStructure *Includes = nullptr,
+ std::unique_ptr<CompilerInvocation> CI = nullptr) {
----------------
argothiel wrote:
LangOpts are required before this function call in the codeCompleteComment
path. Thus, adding the possiblity to call semaCodeComplete with an already
calculated CI, to avoid double work.
https://github.com/llvm/llvm-project/pull/187623
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits