aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Schäpers <bjoern@hazardy.de>2022-02-22 23:26:17 +0100
committerBjörn Schäpers <bjoern@hazardy.de>2022-02-26 21:22:36 +0100
commit1d03548f63add672b4adf03360e396eba852bce5 (patch)
tree15cb65e1021a9f5982f5756eb33dd01b5d57e9aa
parent1de11fe3600052d0cbc6c1f7c0ebd157348cc613 (diff)
downloadllvm-1d03548f63add672b4adf03360e396eba852bce5.zip
llvm-1d03548f63add672b4adf03360e396eba852bce5.tar.gz
llvm-1d03548f63add672b4adf03360e396eba852bce5.tar.bz2
[clang-format][NFC] Remove redundant semi
All "calls" have a semi, as they should, remove the one from the macro. Differential Revision: https://reviews.llvm.org/D120359
-rw-r--r--clang/unittests/Format/TokenAnnotatorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Format/TokenAnnotatorTest.cpp b/clang/unittests/Format/TokenAnnotatorTest.cpp
index e7bc26b..60137b8 100644
--- a/clang/unittests/Format/TokenAnnotatorTest.cpp
+++ b/clang/unittests/Format/TokenAnnotatorTest.cpp
@@ -42,7 +42,7 @@ protected:
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