summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-18 13:32:06 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-11-18 17:29:17 +0100
commitd7643c6a708630a0be365b29a01d514891d9b3fb (patch)
treee4350c17bd0a6a47d966e5abb8da239d964d2373 /compilerplugins
parent5f39ae82e4f72c28f9c5136ff820853e97249a8f (diff)
Missing includes
...with recent Clang trunk Change-Id: I9ea0f1692df8d269356df0d6b20ea2173f632425 Reviewed-on: https://gerrit.libreoffice.org/83086 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/consttobool.cxx2
-rw-r--r--compilerplugins/clang/fakebool.cxx1
-rw-r--r--compilerplugins/clang/implicitboolconversion.cxx2
3 files changed, 5 insertions, 0 deletions
diff --git a/compilerplugins/clang/consttobool.cxx b/compilerplugins/clang/consttobool.cxx
index c7ebd6b2a162..c09a9534bb75 100644
--- a/compilerplugins/clang/consttobool.cxx
+++ b/compilerplugins/clang/consttobool.cxx
@@ -13,6 +13,8 @@
#include <limits>
#include <stack>
+#include "clang/Basic/Builtins.h"
+
#include "check.hxx"
#include "plugin.hxx"
diff --git a/compilerplugins/clang/fakebool.cxx b/compilerplugins/clang/fakebool.cxx
index 99fbf95e3d29..93fdeddaa83d 100644
--- a/compilerplugins/clang/fakebool.cxx
+++ b/compilerplugins/clang/fakebool.cxx
@@ -14,6 +14,7 @@
#include <string>
#include "clang/AST/Attr.h"
+#include "clang/Basic/Builtins.h"
#include "check.hxx"
#include "compat.hxx"
diff --git a/compilerplugins/clang/implicitboolconversion.cxx b/compilerplugins/clang/implicitboolconversion.cxx
index 84addf67f858..e16b15517bc9 100644
--- a/compilerplugins/clang/implicitboolconversion.cxx
+++ b/compilerplugins/clang/implicitboolconversion.cxx
@@ -15,6 +15,8 @@
#include <string>
#include <vector>
+#include "clang/Basic/Builtins.h"
+
#include "check.hxx"
#include "compat.hxx"
#include "plugin.hxx"