summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-modernize
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-25 16:57:03 +0000
committerAlp Toker <alp@nuanti.com>2014-01-25 16:57:03 +0000
commit9fb93576e64782ccc56fd733aeee4e5817ce6764 (patch)
treecc2d50ed64b15accfd5a35e44b31b4d75f8a0e63 /clang-tools-extra/clang-modernize
parenteab75153856380efea6534f0ed13b3f11404014a (diff)
downloadbcm5719-llvm-9fb93576e64782ccc56fd733aeee4e5817ce6764.tar.gz
bcm5719-llvm-9fb93576e64782ccc56fd733aeee4e5817ce6764.zip
Track clang changes from r200082
llvm-svn: 200084
Diffstat (limited to 'clang-tools-extra/clang-modernize')
-rw-r--r--clang-tools-extra/clang-modernize/LoopConvert/LoopActions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-modernize/LoopConvert/LoopActions.cpp b/clang-tools-extra/clang-modernize/LoopConvert/LoopActions.cpp
index 00080f0d927..9512bf73a61 100644
--- a/clang-tools-extra/clang-modernize/LoopConvert/LoopActions.cpp
+++ b/clang-tools-extra/clang-modernize/LoopConvert/LoopActions.cpp
@@ -1074,7 +1074,7 @@ void LoopFixer::run(const MatchFinder::MatchResult &Result) {
Nodes.getNodeAs<CXXMemberCallExpr>(BeginCallName);
assert(BeginCall != 0 && "Bad Callback. No begin call expression.");
QualType CanonicalBeginType =
- BeginCall->getMethodDecl()->getResultType().getCanonicalType();
+ BeginCall->getMethodDecl()->getReturnType().getCanonicalType();
if (CanonicalBeginType->isPointerType() &&
CanonicalInitVarType->isPointerType()) {
OpenPOWER on IntegriCloud