JonChesterfield added a comment.

Works out cleanly, thanks for the suggestion.



================
Comment at: clang/lib/Sema/SemaDecl.cpp:12478
 
     if (!Var->isInvalidDecl() && RealDecl->hasAttr<LoaderUninitializedAttr>()) 
{
+      if (Var->getStorageClass() == SC_Extern) {
----------------
Same as first diff except for swapping the existing two checks over.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85990/new/

https://reviews.llvm.org/D85990

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to