diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-05-19 17:38:06 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-05-19 17:38:06 +0000 |
commit | 857e918a8a40deb128840308a318bf623d68295f (patch) | |
tree | f983e536db0a65dd511df9747db40faf4ace043d /lib/Frontend/PCHReaderDecl.cpp | |
parent | 4469e8a97cdca3725b4f8f366916143113c029ac (diff) |
Add clang support for IBOutletCollection.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderDecl.cpp')
-rw-r--r-- | lib/Frontend/PCHReaderDecl.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Frontend/PCHReaderDecl.cpp b/lib/Frontend/PCHReaderDecl.cpp index 1e8bd2fe55..0aee70cedc 100644 --- a/lib/Frontend/PCHReaderDecl.cpp +++ b/lib/Frontend/PCHReaderDecl.cpp @@ -726,6 +726,13 @@ Attr *PCHReader::ReadAttributes() { New = ::new (*Context) IBOutletAttr(); break; + case Attr::IBOutletCollectionKind: { + ObjCInterfaceDecl *D = + cast_or_null<ObjCInterfaceDecl>(GetDecl(Record[Idx++])); + New = ::new (*Context) IBOutletCollectionAttr(D); + break; + } + SIMPLE_ATTR(Malloc); SIMPLE_ATTR(NoDebug); SIMPLE_ATTR(NoInline); |