[clang] [diagtool] Make the BuiltinDiagnosticsByID table sorted (PR #120321)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 04:11:46 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
----------------
kadircet wrote:
can you mention that the order is dictated by https://github.com/llvm/llvm-project/blob/main/clang/include/clang/Basic/DiagnosticIDs.h#L49-L65 ?
https://github.com/llvm/llvm-project/pull/120321
More information about the cfe-commits
mailing list