Fix warning on extra ';'. NFC.
authorMichael Liao <michael.hliao@gmail.com>
Tue, 3 Dec 2019 21:02:55 +0000 (16:02 -0500)
committerMichael Liao <michael.hliao@gmail.com>
Tue, 3 Dec 2019 21:02:55 +0000 (16:02 -0500)
clang/lib/Format/TokenAnnotator.cpp

index 93cb369..d5d394e 100644 (file)
@@ -2597,7 +2597,7 @@ bool TokenAnnotator::spaceRequiredBeforeParens(const FormatToken &Right) const {
 static bool isKeywordWithCondition(const FormatToken &Tok) {
   return Tok.isOneOf(tok::kw_if, tok::kw_for, tok::kw_while, tok::kw_switch,
                      tok::kw_constexpr);
-};
+}
 
 bool TokenAnnotator::spaceRequiredBetween(const AnnotatedLine &Line,
                                           const FormatToken &Left,