compilerplugins/clang/unusedfields.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 4ab071b5b57859df4d7740c4f28618e6bc7abc23 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Sep 29 10:44:22 2017 +0200 More clang::*Type vs. llvm::*Type ambiguities Change-Id: I52373c32818234e376d855684635f9bf1012ed5e 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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits