Harmonize GNU- and C++-style attribute spellings.
authorAaron Ballman <aaron@aaronballman.com>
Thu, 14 Dec 2017 22:17:09 +0000 (22:17 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Thu, 14 Dec 2017 22:17:09 +0000 (22:17 +0000)
commit802de4f7ac0c495b14a4ba5eab47579ae4031b01
tree3588425f38eb851775c2ac0af8d3cdcb02022c30
parentd15d76e2ae39fb58f0bcbc6ca62b3c9a18a9dfe9
Harmonize GNU- and C++-style attribute spellings.

Most attributes will now use the Clang<"name"> construct to provide both __attribute__((name)) and [[clang::name]] syntaxes for the attribute. Attributes deviating from this should be marked with a comment explaining why they are not supported under both spellings. Common reasons are: the attribute is provided by some other specification that controls the syntax or the attribute cannot be exposed under a particular spelling for some given reason.

Because this is a mechanical change that only introduces new spellings, there are no test cases for the commit.

llvm-svn: 320752
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/Attr.td