We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8237ccf commit f374adcCopy full SHA for f374adc
clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
@@ -808,6 +808,10 @@ TEST(SourceCodeTests, isKeywords) {
808
LangOpts.Coroutines = true;
809
EXPECT_TRUE(isKeyword("int", LangOpts));
810
EXPECT_TRUE(isKeyword("return", LangOpts));
811
+ // CHERI-TODO: COROUTINES_KEYWORD is not included in CXX20_KEYWORD until
812
+ // https://github.com/CTSRD-CHERI/llvm-project/issues/717 has been fixed.
813
+ EXPECT_FALSE(isKeyword("co_await", LangOpts));
814
+ LangOpts.Coroutines = true;
815
EXPECT_TRUE(isKeyword("co_await", LangOpts));
816
817
// these are identifiers (not keywords!) with special meaning in some
0 commit comments