[clang] Add code completion for C++20 keywords. (PR #107982)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 12:44:02 PDT 2024
================
@@ -1837,6 +1837,10 @@ static void AddTypeSpecifierResults(const LangOptions &LangOpts,
Builder.AddChunk(CodeCompletionString::CK_RightParen);
Results.AddResult(Result(Builder.TakeString()));
}
+
+ if (LangOpts.CPlusPlus20) {
----------------
cor3ntin wrote:
That can also be enabled by `LangOpts.Char8`
https://github.com/llvm/llvm-project/pull/107982
More information about the cfe-commits
mailing list