[clang] [Clang] Implement LWG3819 for `__reference_meows_from_temporary` (PR #142554)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 4 11:02:57 PDT 2025


================
@@ -1343,12 +1343,21 @@ static bool EvaluateBooleanTypeTrait(Sema &S, TypeTrait Kind,
     if (RD && RD->isAbstract())
       return false;
 
+    // LWG3819: For reference_meows_from_temporary traits, && is not added to
----------------
shafik wrote:

After some offline discussion I now get that `meow` is basically an `X` which can be replaced a series of terms, this case converts/constructs.

I still think this will confusing to anyone not already familiar w/ LWG but I don't have a good replacement suggestion. 

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


More information about the cfe-commits mailing list