]> granicus.if.org Git - clang/commit
__declspec(uuid) is only supported for C++ code according to MSDN (as well as behavio...
authorAaron Ballman <aaron@aaronballman.com>
Sun, 24 Nov 2013 21:35:16 +0000 (21:35 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Sun, 24 Nov 2013 21:35:16 +0000 (21:35 +0000)
commitaa244b4c5df532f8220eeb1c3388fc28db4db6fa
treecf819d5671523a2966e19958c5f23c20da241557
parent81e6d921275d44fc70f06904ea0785aca25512b7
__declspec(uuid) is only supported for C++ code according to MSDN (as well as behaviorally in MSVC). This adds a generic diagnostic that we use for uuid, and can use for some other attributes as well, and adds a testcase.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195580 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclAttr.cpp
test/Sema/MicrosoftExtensions.c