diff options
-rw-r--r-- | include/clang/Basic/Attr.td | 2 | ||||
-rw-r--r-- | tools/libclang/CIndex.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/Attr.td b/include/clang/Basic/Attr.td index 282c5082ed..3579e2c6f1 100644 --- a/include/clang/Basic/Attr.td +++ b/include/clang/Basic/Attr.td @@ -266,7 +266,7 @@ def IBOutlet : InheritableAttr { def IBOutletCollection : InheritableAttr { let Spellings = ["iboutletcollection"]; - let Args = [TypeArgument<"Interface">]; + let Args = [TypeArgument<"InterFace">]; } def Malloc : InheritableAttr { diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index 21251e09b1..74f90790c7 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -4916,7 +4916,7 @@ CXType clang_getIBOutletCollectionType(CXCursor C) { IBOutletCollectionAttr *A = cast<IBOutletCollectionAttr>(cxcursor::getCursorAttr(C)); - return cxtype::MakeCXType(A->getInterface(), cxcursor::getCursorTU(C)); + return cxtype::MakeCXType(A->getInterFace(), cxcursor::getCursorTU(C)); } } // end: extern "C" |