summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-25 23:51:36 +0000
committerAlp Toker <alp@nuanti.com>2014-01-25 23:51:36 +0000
commit42a16a67f53da8b0eceabdc92a5f89d93a4d2c74 (patch)
tree562f2357c7f10f8c19f0ee8c2ccdf2234b1f3f94 /clang/lib/Sema/SemaExpr.cpp
parent48a6daa70f7413dcc25dc11da8910af9849c1062 (diff)
downloadbcm5719-llvm-42a16a67f53da8b0eceabdc92a5f89d93a4d2c74.tar.gz
bcm5719-llvm-42a16a67f53da8b0eceabdc92a5f89d93a4d2c74.zip
Rename getResultLoc() too
Follow up to r200082. Spotted by Dmitri llvm-svn: 200105
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index e4e0052424d..be169b6ecd1 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/lib/Sema/SemaExpr.cpp
@@ -10308,7 +10308,7 @@ void Sema::ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo,
ExplicitSignature.getLocalRangeEnd()) {
// This would be much cheaper if we stored TypeLocs instead of
// TypeSourceInfos.
- TypeLoc Result = ExplicitSignature.getResultLoc();
+ TypeLoc Result = ExplicitSignature.getReturnLoc();
unsigned Size = Result.getFullDataSize();
Sig = Context.CreateTypeSourceInfo(Result.getType(), Size);
Sig->getTypeLoc().initializeFullCopy(Result, Size);
OpenPOWER on IntegriCloud