diff options
-rw-r--r-- | compilerplugins/clang/unusedfields.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/unusedfields.cxx b/compilerplugins/clang/unusedfields.cxx index cb17d8526560..48cbb864d1d0 100644 --- a/compilerplugins/clang/unusedfields.cxx +++ b/compilerplugins/clang/unusedfields.cxx @@ -962,8 +962,8 @@ llvm::Optional<CalleeWrapper> UnusedFields::getCallee(CallExpr const * callExpr) return CalleeWrapper(functionDecl); // Extract the functionprototype from a type - Type const * calleeType = callExpr->getCallee()->getType().getTypePtr(); - if (auto pointerType = calleeType->getUnqualifiedDesugaredType()->getAs<PointerType>()) { + clang::Type const * calleeType = callExpr->getCallee()->getType().getTypePtr(); + if (auto pointerType = calleeType->getUnqualifiedDesugaredType()->getAs<clang::PointerType>()) { if (auto prototype = pointerType->getPointeeType()->getUnqualifiedDesugaredType()->getAs<FunctionProtoType>()) { return CalleeWrapper(prototype); } |