[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Mon Sep 11 08:29:28 UTC 2017
compilerplugins/clang/passparamsbyref.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5bbfa7ab8ded08d73dcb86c5e9fa3692b629e5bf
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Sep 11 10:29:01 2017 +0200
clang::Type vs. llvm::Type ambiguity
Change-Id: Idba5c15f31b25b86e2bd7b9be348a17c184fec0d
diff --git a/compilerplugins/clang/passparamsbyref.cxx b/compilerplugins/clang/passparamsbyref.cxx
index 01362afc9a82..94c910e60cb5 100644
--- a/compilerplugins/clang/passparamsbyref.cxx
+++ b/compilerplugins/clang/passparamsbyref.cxx
@@ -188,7 +188,7 @@ bool PassParamsByRef::isFat(QualType type) {
if (type->isIncompleteType()) {
return false;
}
- Type const * t2 = type.getTypePtrOrNull();
+ clang::Type const * t2 = type.getTypePtrOrNull();
return t2 != nullptr
&& compiler.getASTContext().getTypeSizeInChars(t2).getQuantity() > 64;
}
More information about the Libreoffice-commits
mailing list