projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
859bf4d
)
Fix warning on extra ';'. NFC.
author
Michael Liao
<michael.hliao@gmail.com>
Tue, 3 Dec 2019 21:02:55 +0000
(16:02 -0500)
committer
Michael Liao
<michael.hliao@gmail.com>
Tue, 3 Dec 2019 21:02:55 +0000
(16:02 -0500)
clang/lib/Format/TokenAnnotator.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Format/TokenAnnotator.cpp
b/clang/lib/Format/TokenAnnotator.cpp
index
93cb369
..
d5d394e
100644
(file)
--- a/
clang/lib/Format/TokenAnnotator.cpp
+++ b/
clang/lib/Format/TokenAnnotator.cpp
@@
-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,