================
@@ -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">;
----------------
AaronBallman wrote:

Why is `Function` in the list of subjects?

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