]> granicus.if.org Git - clang/commitdiff
Since r179585, __declspec(property) has gotten special treatment as an attribute...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 26 Aug 2013 22:49:09 +0000 (22:49 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 26 Aug 2013 22:49:09 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189284 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Attr.td
lib/Sema/SemaDeclAttr.cpp

index fe3b6ee51d4e17a056235d9e356edd0a863ae76e..bd9e48f0e77864b09aad8dc1f78a662e4cc8259e 100644 (file)
@@ -963,7 +963,7 @@ def TypeTagForDatatype : InheritableAttr {
 
 // Microsoft-related attributes
 
-def MsProperty : Attr {
+def MsProperty : IgnoredAttr {
   let Spellings = [Declspec<"property">];
 }
 
index 0292a1312d5c913294ca23ce497f0dad2e2dfc28..c8237b5e95c89dd0a82612bdadfc192f30017f67 100644 (file)
@@ -4884,7 +4884,6 @@ static void ProcessInheritableDeclAttr(Sema &S, Scope *scope, Decl *D,
     break;
 
   // Microsoft attributes:
-  case AttributeList::AT_MsProperty: break;
   case AttributeList::AT_MsStruct:
     handleMsStructAttr(S, D, Attr);
     break;