Skip to content

Commit 9c12c4b

Browse files
authored
NFC
1 parent 83b1270 commit 9c12c4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Format/TokenAnnotator.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,9 +1643,9 @@ class AnnotatingParser {
16431643
if (IsCpp && CurrentToken) {
16441644
const auto *Info = CurrentToken->Tok.getIdentifierInfo();
16451645
// What follows Tok is an identifier or a non-operator keyword.
1646-
if (Info && !(Info->isCPlusPlusOperatorKeyword() ||
1647-
CurrentToken->isPlacementOperator() ||
1648-
CurrentToken->is(tok::kw_co_await))) {
1646+
if (Info && !(CurrentToken->isPlacementOperator() ||
1647+
CurrentToken->is(tok::kw_co_await) ||
1648+
Info->isCPlusPlusOperatorKeyword())) {
16491649
FormatToken *LParen;
16501650
if (CurrentToken->startsSequence(tok::kw_decltype, tok::l_paren,
16511651
tok::kw_auto, tok::r_paren)) {

0 commit comments

Comments
 (0)