[PATCH] D121370: [clang-format] SortIncludes should support "@import" lines in Objective-C

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 12:47:57 PDT 2022


HazardyKnusperkeks accepted this revision.
HazardyKnusperkeks added inline comments.


================
Comment at: clang/lib/Format/Format.cpp:2694-2697
+    if (!Matches[i].empty()) {
+      res = Matches[i];
+      break;
+    }
----------------



================
Comment at: clang/lib/Format/Format.cpp:2699
+  }
+  assert(!res.empty());
+  return res;
----------------
Is there something like LLVM_UNREACHABLE?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121370/new/

https://reviews.llvm.org/D121370



More information about the cfe-commits mailing list