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 37a1807..b885942 100644
--- a/clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
+++ b/clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
@@ -66,7 +66,7 @@ void ObjCPropertyAttributeOrderFixer::sortPropertyAttributes(
return;
}
- const StringRef Attribute{Tok->TokenText};
+ const StringRef Attribute(Tok->TokenText);
StringRef Value;
// Also handle `getter=getFoo` attributes.