[clang-tools-extra] [clang-tidy] Add objc-protocol-order check (PR #247371)

Arthur Milchior via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 02:59:39 PST 2026


================
@@ -178,6 +178,12 @@ infrastructure are described first, followed by tool-specific sections.
   Finds casts from a scoped enumeration (`enum class`) to an integer type and
   replaces them with a call to `std::to_underlying` (introduced in C++23).
 
+- New {doc}`objc-protocol-order
+  <clang-tidy/checks/objc/protocol-order>` check.
+
+  Finds Objective-C protocol lists that are not sorted alphabetically and
----------------
Arthur-Milchior wrote:

Done

https://github.com/llvm/llvm-project/pull/247371


More information about the cfe-commits mailing list