[clang] [clang] print correct context for diagnostics suppressed by deduction (PR #125453)

via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 2 22:05:22 PST 2025


================
@@ -1909,7 +1909,19 @@ class Sema final : public SemaBase {
   /// '\#pragma clang attribute push' directives to the given declaration.
   void AddPragmaAttributes(Scope *S, Decl *D);
 
-  void PrintPragmaAttributeInstantiationPoint();
+  using DiagFuncRef =
----------------
cor3ntin wrote:

I would like a more specific name, like `InstantiationContextDiagCallback` or something along these lines

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


More information about the cfe-commits mailing list