Prazek added inline comments.
================ Comment at: include/clang/Basic/Attr.td:2421 -def SelectAny : InheritableAttr, TargetSpecificAttr<TargetWindows> { +def SelectAny : InheritableAttr, TargetSpecificAttr<TargetWindowsAndLinux> { let Spellings = [Declspec<"selectany">, GCC<"selectany">]; ---------------- majnemer wrote: > selectany should work on targets other than "x86", "x86_64", "arm", "thumb", > etc. I think it is only necessary to require that it be a COFF or ELF target. Should we allow other OSes than Win32 and Linux? https://reviews.llvm.org/D33852 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits