[clang] c4fc8a2 - [clang-format] NFC keep the code clang-formatted
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 22 04:46:30 PST 2020
Author: mydeveloperday
Date: 2020-12-22T12:46:14Z
New Revision: c4fc8a21d1dbfd2e269a59533808913b46faa8ce
URL: https://github.com/llvm/llvm-project/commit/c4fc8a21d1dbfd2e269a59533808913b46faa8ce
DIFF: https://github.com/llvm/llvm-project/commit/c4fc8a21d1dbfd2e269a59533808913b46faa8ce.diff
LOG: [clang-format] NFC keep the code clang-formatted
Added:
Modified:
clang/lib/Format/TokenAnnotator.cpp
Removed:
################################################################################
diff --git a/clang/lib/Format/TokenAnnotator.cpp b/clang/lib/Format/TokenAnnotator.cpp
old mode 100644
new mode 100755
index 821b46b75f6b..733ca1e0e852
--- a/clang/lib/Format/TokenAnnotator.cpp
+++ b/clang/lib/Format/TokenAnnotator.cpp
@@ -1964,9 +1964,9 @@ class AnnotatingParser {
if (PrevToken->isOneOf(tok::l_paren, tok::l_square, tok::l_brace,
tok::comma, tok::semi, tok::kw_return, tok::colon,
- tok::kw_co_return, tok::kw_co_await, tok::kw_co_yield,
- tok::equal, tok::kw_delete, tok::kw_sizeof,
- tok::kw_throw) ||
+ tok::kw_co_return, tok::kw_co_await,
+ tok::kw_co_yield, tok::equal, tok::kw_delete,
+ tok::kw_sizeof, tok::kw_throw) ||
PrevToken->isOneOf(TT_BinaryOperator, TT_ConditionalExpr,
TT_UnaryOperator, TT_CastRParen))
return TT_UnaryOperator;
More information about the cfe-commits
mailing list