https://github.com/Sirraide commented:

One concern I have with this is that `__attribute__(())` is non-standard 
syntax, so suggesting that in a fix-it is... not great for portability, because 
e.g. MSVC doesn’t support that syntax at all. We probably want to only emit 
this diagnostic (or perform the check at all really) if we’re in 
`-std=gnuXY`/`-std=gnu++XY` mode. 

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

Reply via email to