[clang] [llvm] [Clang] Show inlining hints for __attribute__((warning/error)) (PR #174892)

Justin Stitt via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 8 11:35:32 PST 2026


================
@@ -348,6 +348,12 @@ New Compiler Flags
 - New options for enabling allocation token instrumentation: ``-fsanitize=alloc-token``, ``-falloc-token-max=``, ``-fsanitize-alloc-token-fast-abi``, ``-fsanitize-alloc-token-extended``.
 - The ``-resource-dir`` option is now displayed in the list of options shown by ``--help``.
 - New option ``-fmatrix-memory-layout`` added to control the memory layout of Clang matrix types. (e.g. ``-fmatrix-memory-layout=column-major`` or ``-fmatrix-memory-layout=row-major``).
+- New option ``-fdiagnostics-show-inlining-chain=`` added to show inlining chain
+  notes for ``__attribute__((warning))`` and ``__attribute__((error))``
----------------
JustinStitt wrote:

Changed all the instances in e866945f1c61774e745ec3a793629104ef473fee. Hopefully I didn't miss anywhere

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


More information about the cfe-commits mailing list