benhamilton added inline comments.

================
Comment at: lib/Format/Format.cpp:1424
                           const AdditionalKeywords &Keywords) {
-    static const std::unordered_set<StringRef> FoundationIdentifiers = {
+    static constexpr llvm::StringLiteral FoundationIdentifiers[] = {
         "CGFloat",
----------------
Should we add a comment that this array must be sorted if someone adds a new 
entry?


Repository:
  rC Clang

https://reviews.llvm.org/D42189



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to