diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-11 10:48:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-11 10:48:12 +0200 |
commit | b4c9c0d137a9157b4efef213267fc3a6b75ed4b0 (patch) | |
tree | e9c158c2af85bdeeba25044756c435be697d7308 /compilerplugins/clang/useuniqueptr.cxx | |
parent | 5bbfa7ab8ded08d73dcb86c5e9fa3692b629e5bf (diff) |
More clang::*Type vs. llvm::*Type ambiguities
Change-Id: I21133976793ab018c633dda077029666308526db
Diffstat (limited to 'compilerplugins/clang/useuniqueptr.cxx')
-rw-r--r-- | compilerplugins/clang/useuniqueptr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx index 0f6937f182b2..05b9dad2c801 100644 --- a/compilerplugins/clang/useuniqueptr.cxx +++ b/compilerplugins/clang/useuniqueptr.cxx @@ -337,7 +337,7 @@ void UseUniquePtr::CheckForDeleteOfPOD(const CompoundStmt* compoundStmt) if (tagDecl->isUnion()) continue; - auto pointerType = dyn_cast<PointerType>(fieldDecl->getType()->getUnqualifiedDesugaredType()); + auto pointerType = dyn_cast<clang::PointerType>(fieldDecl->getType()->getUnqualifiedDesugaredType()); QualType elementType = pointerType->getPointeeType(); auto tc = loplugin::TypeCheck(elementType); if (!elementType.isPODType(compiler.getASTContext()) |