================ @@ -27,6 +28,8 @@ class PathDiagnosticLocation; class BugSuppression { public: + BugSuppression(ASTContext &ACtx) : ACtx(ACtx) {} ---------------- haoNoQ wrote:
Hmm I somehow never noticed that we have any actual const-correctness for `ASTContext`, thanks! https://github.com/llvm/llvm-project/pull/79398 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits