diff --git a/clang/unittests/Format/TokenAnnotatorTest.cpp b/clang/unittests/Format/TokenAnnotatorTest.cpp index e7bc26b5a9b545..60137b8a23c68e 100644 --- a/clang/unittests/Format/TokenAnnotatorTest.cpp +++ b/clang/unittests/Format/TokenAnnotatorTest.cpp @@ -42,7 +42,7 @@ class TokenAnnotatorTest : public ::testing::Test { do { \ EXPECT_TOKEN_KIND(FormatTok, Kind); \ EXPECT_TOKEN_TYPE(FormatTok, Type); \ - } while (false); + } while (false) TEST_F(TokenAnnotatorTest, UnderstandsUsesOfStarAndAmpInMacroDefinition) { // This is a regression test for mis-parsing the & after decltype as a binary