================
@@ -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 =
----------------
mizvekov wrote:
This is currently used for more things than the InstantiationContext alone, so
the name doesn't need to be that specific to it.
`InstantiationContextDiagCallback` doesn't ring like a type to me, FuncRef is
more clear in that respect.
https://github.com/llvm/llvm-project/pull/125453
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits