Since r179585, __declspec(property) has gotten special treatment as an attribute where it is not processed as part of the typical Sema attribute functionality. Specifying this attribute as being "ignored" because there is no sema handler for it as a Decl attribute, and no AST node generated for it.

llvm-svn: 189284
This commit is contained in:
Aaron Ballman 2013-08-26 22:49:09 +00:00
parent c4ca9b0d3a
commit 988661d308
2 changed files with 1 additions and 2 deletions

View File

@ -963,7 +963,7 @@ def TypeTagForDatatype : InheritableAttr {
// Microsoft-related attributes // Microsoft-related attributes
def MsProperty : Attr { def MsProperty : IgnoredAttr {
let Spellings = [Declspec<"property">]; let Spellings = [Declspec<"property">];
} }

View File

@ -4884,7 +4884,6 @@ static void ProcessInheritableDeclAttr(Sema &S, Scope *scope, Decl *D,
break; break;
// Microsoft attributes: // Microsoft attributes:
case AttributeList::AT_MsProperty: break;
case AttributeList::AT_MsStruct: case AttributeList::AT_MsStruct:
handleMsStructAttr(S, D, Attr); handleMsStructAttr(S, D, Attr);
break; break;