[clang] Suppress errors from well-formed-testing type traits in SFINAE contexts (PR #135390)
Aaron Puchert via cfe-commits
cfe-commits at lists.llvm.org
Tue May 6 05:58:20 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list