]> granicus.if.org Git - clang/commit
No longer accepting attribute spellings with prefix and suffix underscores except...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 11 Dec 2013 22:27:44 +0000 (22:27 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 11 Dec 2013 22:27:44 +0000 (22:27 +0000)
commit606069ed0596a77e9e669f7edeb0e317bed7858e
tree30908a12659260404ae640863c14905052f51b5a
parent36f325afc219d1c254cf73081ce8f8a16420cea3
No longer accepting attribute spellings with prefix and suffix underscores except for GNU attributes, or C++11-style attributes in the GNU namespace. This prevents attributes such as __declspec(__dllexport__) or [[__noreturn__]] from being treated as known attributes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197082 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/AttributeList.cpp
test/Sema/MicrosoftCompatibility.c
test/SemaCXX/attr-cxx0x.cpp