[clang] Implement [[msvc::no_unique_address]] (PR #65675)
    via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Sep 13 05:46:07 PDT 2023
    
    
  
================
@@ -55,7 +55,7 @@ CXX11(unlikely)
 // CHECK: likely: 201803L
 // CHECK: maybe_unused: 201603L
 // ITANIUM: no_unique_address: 201803L
-// WINDOWS: no_unique_address: 0
+// WINDOWS: no_unique_address: 201803L 
----------------
cor3ntin wrote:
don't we expect `__has_cpp_attribute(no_unique_address)` to be 0 on windows and `__has_cpp_attribute(msvc::no_unique_address)` to be... some value?
https://github.com/llvm/llvm-project/pull/65675
    
    
More information about the cfe-commits
mailing list