mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 00:20:14 +00:00
Track clang changes from r200082
llvm-svn: 200084
This commit is contained in:
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…
x
Reference in New Issue
Block a user