https://llvm.org/bugs/show_bug.cgi?id=25676
Richard Smith <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #1 from Richard Smith <[email protected]> --- (In reply to comment #0) > according to various reports one can google, [...] the above usage is correct. Those reports are wrong. The standard is completely clear on the entities to which this attribute can appertain, and they are: - variable declarations - non-static data member declarations - the definition of a class or enumeration This is none of those things, so it's ill-formed, exactly as clang's diagnostic says. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list [email protected] http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
