Track clang changes from r200082

llvm-svn: 200084
This commit is contained in:
Alp Toker 2014-01-25 16:57:03 +00:00
parent eab7515385
commit 9fb93576e6
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {