================ @@ -12240,16 +12240,16 @@ class Sema final : public SemaBase { bool PrevLastDiagnosticIgnored; public: - explicit SFINAETrap(Sema &SemaRef, bool AccessCheckingSFINAE = false) + explicit SFINAETrap(Sema &SemaRef, bool TestWellformedSFINAE = false) ---------------- aaronpuchert wrote:
Adding a comment makes sense to me. I'm open to a different name, but I started with "well-formed" because that's how the standard calls it. "Valid" sounds fine, but it doesn't seem to be what the standard calls it. https://github.com/llvm/llvm-project/pull/135390 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits