================ @@ -10615,6 +10615,8 @@ class Sema final { ChangedStateAtExit }; + void DiagnoseMissingFormatAttributes(NamedDecl *FDecl, SourceLocation Loc); ---------------- AaronBallman wrote:
```suggestion void DiagnoseMissingFormatAttributes(const NamedDecl *FDecl, SourceLocation Loc); ``` (If we can't add the `const` here because it's viral for some reason, then I don't insist on this change.) https://github.com/llvm/llvm-project/pull/70024 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits