[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 06:02:55 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:
Although later it does say "only the validity of the immediate context is considered." So I guess it's fine.
https://github.com/llvm/llvm-project/pull/135390
More information about the cfe-commits
mailing list