================ @@ -0,0 +1,21 @@ +//===----------------------------------------------------------------------===// +// +// 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 +/// This file contains the necessary includes for using +/// `RuntimeTrapDiagnosticBuilder`. ---------------- Sirraide wrote:
So the primary (and really only) purpose of the `DiagnosticXY.h` headers is to provide all of the diagnostic IDs in `DiagnosticXYKinds.td`, e.g. `DiagnosticSema.h` makes all diagnostics in `DiagnosticSemaKinds.td` available. Because of that, I’m not sure this even needs a file comment since all the other diagnostic headers don’t have one either, and really, the only reason this header isn’t just generated by TableGen is because we don’t do that for files that are actually in the source tree (the actual implementation of these headers is just TableGen’erated boilerplate, in this case in `DiagnosticTrapInterface.inc`). https://github.com/llvm/llvm-project/pull/154618 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits