Nikolas Klauser
874217f99b
[clang] Enable C++11-style attributes in all language modes
This also ignores and deprecates the `-fdouble-square-bracket-attributes` command line flag, which seems to not be used anywhere. At least a code search exclusively found mentions of it in documentation: https://sourcegraph.com/search?q=context:global+-fdouble-square-bracket-attributes+-file:clang/*+-file:test/Sema/*+-file:test/Parser/*+-file:test/AST/*+-file:test/Preprocessor/*+-file:test/Misc/*+archived:yes&patternType=standard&sm=0&groupBy=repo
RFC: https://discourse.llvm.org/t/rfc-enable-c-11-c2x-attributes-in-all-standard-modes-as-an-extension-and-remove-fdouble-square-bracket-attributes
This enables `[[]]` attributes in all C and C++ language modes without warning by default. `-Wc++-extensions` does warn. GCC has enabled this extension in all C modes since GCC 10.
Reviewed By: aaron.ballman, MaskRay
Spies: #clang-vendors, beanz, JDevlieghere, Michael137, MaskRay, sstefan1, jplehr, cfe-commits, lldb-commits, dmgreen, jdoerfert, wenlei, wlei
Differential Revision: https://reviews.llvm.org/D151683
2023-07-22 09:34:15 -07:00
..
2023-01-14 12:31:01 -08:00
2023-01-14 11:07:21 -08:00
2020-01-28 23:25:25 +01:00
2023-01-14 12:31:01 -08:00
2023-07-22 09:34:15 -07:00
2021-11-09 18:35:26 +01:00
2020-01-29 01:52:48 +01:00
2020-01-29 01:52:48 +01:00
2019-10-01 23:12:57 +00:00
2023-05-18 18:14:07 -07:00
2023-06-02 08:38:13 +02:00
2023-03-24 11:03:10 +00:00
2022-07-22 17:05:04 +00:00
2022-11-08 07:21:23 -05:00
2020-11-11 16:29:19 +01:00
2019-12-14 00:16:47 -05:00
2022-10-28 15:48:20 +02:00
2022-03-21 09:39:13 -07:00
2023-07-07 12:31:55 +01:00
2023-07-18 19:39:46 -07:00
2023-07-20 06:06:33 -04:00
2023-05-31 10:43:10 +01:00
2023-05-31 10:43:10 +01:00