aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp')
-rw-r--r--clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp b/clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
index b885942..b12b370 100644
--- a/clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
+++ b/clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
@@ -61,7 +61,7 @@ void ObjCPropertyAttributeOrderFixer::sortPropertyAttributes(
}
// Most attributes look like identifiers, but `class` is a keyword.
- if (!Tok->isOneOf(tok::identifier, tok::kw_class)) {
+ if (Tok->isNoneOf(tok::identifier, tok::kw_class)) {
// If we hit any other kind of token, just bail.
return;
}