Rename the type argument for the iboutletcollection attribute to not

conflict with MinGW headers, from Kirk Beitz!

llvm-svn: 127127
This commit is contained in:
Douglas Gregor 2011-03-06 18:55:32 +00:00
parent 9bb83e85b8
commit c81a7a2591
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ def IBOutlet : InheritableAttr {
def IBOutletCollection : InheritableAttr { def IBOutletCollection : InheritableAttr {
let Spellings = ["iboutletcollection"]; let Spellings = ["iboutletcollection"];
let Args = [TypeArgument<"Interface">]; let Args = [TypeArgument<"InterFace">];
} }
def Malloc : InheritableAttr { def Malloc : InheritableAttr {

View File

@ -4916,7 +4916,7 @@ CXType clang_getIBOutletCollectionType(CXCursor C) {
IBOutletCollectionAttr *A = IBOutletCollectionAttr *A =
cast<IBOutletCollectionAttr>(cxcursor::getCursorAttr(C)); cast<IBOutletCollectionAttr>(cxcursor::getCursorAttr(C));
return cxtype::MakeCXType(A->getInterface(), cxcursor::getCursorTU(C)); return cxtype::MakeCXType(A->getInterFace(), cxcursor::getCursorTU(C));
} }
} // end: extern "C" } // end: extern "C"