================ @@ -6749,6 +6749,55 @@ void SemaCodeCompletion::CodeCompleteInitializer(Scope *S, Decl *D) { CodeCompleteExpression(S, Data); } +void SemaCodeCompletion::CodeCompleteIfConst(Scope *S, + bool AfterExclaim) const { + ResultBuilder Results(SemaRef, CodeCompleter->getAllocator(), + CodeCompleter->getCodeCompletionTUInfo(), + CodeCompletionContext::CCC_Other); ---------------- HighCommander4 wrote:
Looking at the similar function `CodeCompleteAfterIf`, I think `mapCodeCompletionContext(SemaRef, PCC_Statement)` would be more appropriate here than `CodeCompletionContext::CCC_Other` https://github.com/llvm/llvm-project/pull/124315 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits