[llvm] Add the 'initialized' attribute langref and support (PR #84803)
    Arthur Eubanks via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Mar 15 12:55:13 PDT 2024
    
    
  
================
@@ -616,6 +652,23 @@ std::string Attribute::getAsString(bool InAttrGrp) const {
     return Result;
   }
 
+  if (hasAttribute(Attribute::Initialized)) {
+    auto Ranges = getValueAsRanges();
+    if (Ranges.empty())
----------------
aeubanks wrote:
oh I see the verifier check below, so I don't think we need this check
https://github.com/llvm/llvm-project/pull/84803
    
    
More information about the llvm-commits
mailing list