]> granicus.if.org Git - clang/commit
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)
commit8387eb5f328aa8762e787df252a2510435a72bbf
tree45009a967e27a888353d12bbcec5ed72da95db57
parent3711ab3a6867d75332d35919783e0d98a628f1ab
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320752 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ReleaseNotes.rst
include/clang/Basic/Attr.td