]> granicus.if.org Git - clang/commit
__declspec(uuid) is only allowed on a class according to MSDN; this makes the semanti...
authorAaron Ballman <aaron@aaronballman.com>
Sun, 24 Nov 2013 20:58:02 +0000 (20:58 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Sun, 24 Nov 2013 20:58:02 +0000 (20:58 +0000)
commit81e6d921275d44fc70f06904ea0785aca25512b7
treeb4c21319a513eaf52a26d7f8eea491c51974c62a
parent3ea479818dc312902a4dd0823bcf764ed19ac025
__declspec(uuid) is only allowed on a class according to MSDN; this makes the semantic checking consistent with what the attribute specifies in Attr.td. Also adds a test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195579 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp
test/Parser/MicrosoftExtensions.cpp