================ @@ -3391,7 +3391,7 @@ class Sema final : public SemaBase { bool ConstexprSupported, bool CLinkageMayDiffer); /// type checking declaration initializers (C99 6.7.8) - bool CheckForConstantInitializer(Expr *e, QualType t); + bool CheckForConstantInitializer(Expr *Init, unsigned DiagID); ---------------- sam-mccall wrote:
you could consider adding a default for DiagID as there's an "obvious" one used in most places. Up to you. https://github.com/llvm/llvm-project/pull/88014 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits