diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2014-07-31 17:39:50 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2014-07-31 17:39:50 +0000 |
commit | a1db7df243610bd5433c2147ecad9de76a1f7da4 (patch) | |
tree | 304c2409b7dd48c8d59fc52020c5368b0287fe6f /clang/lib/Sema/SemaExprObjC.cpp | |
parent | be39a87e1126c229ed69985881d8fb8fc53ce4ff (diff) | |
download | bcm5719-llvm-a1db7df243610bd5433c2147ecad9de76a1f7da4.tar.gz bcm5719-llvm-a1db7df243610bd5433c2147ecad9de76a1f7da4.zip |
Obective-C. Patch to fix the incorrect ObjcMessageExpr argument source ranges,
when arguments are structures or classes. PR16392.
patch by Karlis Senko
llvm-svn: 214409
Diffstat (limited to 'clang/lib/Sema/SemaExprObjC.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExprObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExprObjC.cpp b/clang/lib/Sema/SemaExprObjC.cpp index fb2c02b77fe..2a0ccd5b069 100644 --- a/clang/lib/Sema/SemaExprObjC.cpp +++ b/clang/lib/Sema/SemaExprObjC.cpp @@ -1402,7 +1402,7 @@ bool Sema::CheckMessageArgumentTypes(QualType ReceiverType, InitializedEntity Entity = InitializedEntity::InitializeParameter(Context, param); - ExprResult ArgE = PerformCopyInitialization(Entity, SelLoc, argExpr); + ExprResult ArgE = PerformCopyInitialization(Entity, SourceLocation(), argExpr); if (ArgE.isInvalid()) IsError = true; else |