================
@@ -4500,6 +4500,8 @@ def DLLImportStaticLocal : InheritableAttr, 
TargetSpecificAttr<TargetHasDLLImpor
 
 def SelectAny : InheritableAttr {
   let Spellings = [Declspec<"selectany">, GCC<"selectany">];
+  let Subjects = SubjectList<[NonParmVar, Function], ErrorDiag,
+                             "variable declarations with external linkage">;
----------------
a-tarasyuk wrote:

@AaronBallman I've removed it

https://github.com/llvm/llvm-project/pull/189641
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to