summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-11 10:29:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-11 10:29:01 +0200
commit5bbfa7ab8ded08d73dcb86c5e9fa3692b629e5bf (patch)
treef56b8478b7da270a8f85b50bee3eb2012d410fbf /compilerplugins
parentead4daeabd273c8b632d22a3330ca92dc58ec0f8 (diff)
clang::Type vs. llvm::Type ambiguity
Change-Id: Idba5c15f31b25b86e2bd7b9be348a17c184fec0d
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/passparamsbyref.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}