[clang] [diagtool] Make the BuiltinDiagnosticsByID table sorted (PR #120321)

Karl-Johan Karlsson via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 05:16:02 PST 2025


================
@@ -0,0 +1,31 @@
+//===--- DiagnosticIDs.inc --------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Defines the Diagnostic IDs in ID sorted order.
+///
+//===----------------------------------------------------------------------===//
+
+// Turn off clang-format, as the order of the includes are important to make
----------------
karka228 wrote:

I added a comment about that in the file header.

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


More information about the cfe-commits mailing list