aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/Format.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Format/Format.cpp')
-rw-r--r--clang/lib/Format/Format.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 68e9618..24a36d9 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -3158,6 +3158,7 @@ private:
"UIImage",
"UIView",
};
+ assert(llvm::is_sorted(FoundationIdentifiers));
for (auto *Line : AnnotatedLines) {
if (Line->First && (Line->First->TokenText.starts_with("#") ||