forked from OSchip/llvm-project
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:
parent
c4ca9b0d3a
commit
988661d308
|
@ -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">];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue