================ @@ -1698,6 +1698,9 @@ class Sema final { ChangedStateAtExit }; + void DiagnoseMissingFormatAttributes(const FunctionDecl *FDecl, ---------------- Endilll wrote:
This declaration is placed among functions implemented in `SemaAttr.cpp`, as you might see around line 1296, but its implementation is placed in `SemaDeclAttr.cpp`. Declarations of functions in this file have their own section in `Sema.h`, which starts around line 3690. This discrepancy should be fixed one way or another. 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