diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-13 18:41:59 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-09-13 18:41:59 +0000 |
commit | f1e7af36d6673185994b3d1751cf7e9a9a1491b8 (patch) | |
tree | a14054a145ee93e6895d669c91a328b6dd76a131 /lib/Sema/SemaDeclAttr.cpp | |
parent | 265941bc308d65cc270d5c4de5806f37ce405606 (diff) |
Add the location of the interface reference to IBOutletCollectionAttr.
Depends on a llvm tablegen commit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclAttr.cpp')
-rw-r--r-- | lib/Sema/SemaDeclAttr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 7c7e3abf16..a887ce8ac3 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -815,8 +815,8 @@ static void handleIBOutletCollection(Sema &S, Decl *D, S.Diag(Attr.getLoc(), diag::err_iboutletcollection_type) << II; return; } - D->addAttr(::new (S.Context) IBOutletCollectionAttr(Attr.getRange(), S.Context, - QT)); + D->addAttr(::new (S.Context) IBOutletCollectionAttr(Attr.getRange(),S.Context, + QT, Attr.getParameterLoc())); } static void possibleTransparentUnionPointerType(QualType &T) { |