forked from OSchip/llvm-project
parent
eab7515385
commit
9fb93576e6
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue