]> granicus.if.org Git - clang/commit
Add a C++11 and C2x spelling for the availability attribute in the clang vendor names...
authorAaron Ballman <aaron@aaronballman.com>
Sat, 24 Feb 2018 17:16:42 +0000 (17:16 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Sat, 24 Feb 2018 17:16:42 +0000 (17:16 +0000)
commit7f2da06683b6fba2339022269fcdc390efde4c43
tree8f087d76dd22a58fcc8bbb4ddcae227fb5adb192
parent59aa6137453f5e232dbd15ccf2499fac8cd2818f
Add a C++11 and C2x spelling for the availability attribute in the clang vendor namespace.

This attribute has custom parsing rules that previously prevented it from being supported with square bracket notation. Rework the clang attribute argument parsing to be more easily extended for other custom-parsed attributes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326036 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
lib/Parse/ParseDecl.cpp
test/Sema/attr-availability-square-brackets.c [new file with mode: 0644]