diff options
Diffstat (limited to 'compilerplugins/clang/cstylecast.cxx')
-rw-r--r-- | compilerplugins/clang/cstylecast.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compilerplugins/clang/cstylecast.cxx b/compilerplugins/clang/cstylecast.cxx index 8504ca573dcb5..b428b1d1503f3 100644 --- a/compilerplugins/clang/cstylecast.cxx +++ b/compilerplugins/clang/cstylecast.cxx @@ -26,8 +26,8 @@ bool areSimilar(QualType type1, QualType type2) { if (!t2->isPointerType()) { return false; } - auto t1a = t1->getAs<PointerType>(); - auto t2a = t2->getAs<PointerType>(); + auto t1a = t1->getAs<clang::PointerType>(); + auto t2a = t2->getAs<clang::PointerType>(); t1 = t1a->getPointeeType().getTypePtr(); t2 = t2a->getPointeeType().getTypePtr(); } else if (t1->isMemberPointerType()) { @@ -77,7 +77,7 @@ bool areSimilar(QualType type1, QualType type2) { QualType resolvePointers(QualType type) { while (type->isPointerType()) { - type = type->getAs<PointerType>()->getPointeeType(); + type = type->getAs<clang::PointerType>()->getPointeeType(); } return type; } |