Skip to content

Commit 3333dd8

Browse files
owencac-rhodes
authored andcommitted
Update clang/lib/Format/TokenAnnotator.cpp
1 parent 54cdd97 commit 3333dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Format/TokenAnnotator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3775,7 +3775,7 @@ static bool isFunctionDeclarationName(const LangOptions &LangOpts,
37753775
if (Current.is(TT_FunctionDeclarationName))
37763776
return true;
37773777

3778-
if (Current.isNoneOf(tok::identifier, tok::kw_operator))
3778+
if (!Current.isOneOf(tok::identifier, tok::kw_operator))
37793779
return false;
37803780

37813781
const auto *Prev = Current.getPreviousNonComment();

0 commit comments

Comments
 (0)