[clang] Suppress errors from well-formed-testing type traits in SFINAE contexts (PR #135390)

via cfe-commits cfe-commits at lists.llvm.org
Thu May 1 01:30:17 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)
----------------
cor3ntin wrote:

Can you add a comment for the parameter?

https://github.com/llvm/llvm-project/pull/135390


More information about the cfe-commits mailing list