Skip to content

Commit 601094a

Browse files
committed
Fix clangd unit test regression.
1 parent c5eaf83 commit 601094a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang-tools-extra/clangd/unittests/SourceCodeTests.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,8 +810,6 @@ TEST(SourceCodeTests, isKeywords) {
810810
EXPECT_TRUE(isKeyword("return", LangOpts));
811811
// CHERI-TODO: COROUTINES_KEYWORD is not included in CXX20_KEYWORD until
812812
// https://github.com/CTSRD-CHERI/llvm-project/issues/717 has been fixed.
813-
EXPECT_FALSE(isKeyword("co_await", LangOpts));
814-
LangOpts.Coroutines = true;
815813
EXPECT_TRUE(isKeyword("co_await", LangOpts));
816814

817815
// these are identifiers (not keywords!) with special meaning in some

0 commit comments

Comments
 (0)