[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 18 16:30:35 UTC 2019


 compilerplugins/clang/consttobool.cxx            |    2 ++
 compilerplugins/clang/fakebool.cxx               |    1 +
 compilerplugins/clang/implicitboolconversion.cxx |    2 ++
 3 files changed, 5 insertions(+)

New commits:
commit d7643c6a708630a0be365b29a01d514891d9b3fb
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Nov 18 13:32:06 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Nov 18 17:29:17 2019 +0100

    Missing includes
    
    ...with recent Clang trunk
    
    Change-Id: I9ea0f1692df8d269356df0d6b20ea2173f632425
    Reviewed-on: https://gerrit.libreoffice.org/83086
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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"


More information about the Libreoffice-commits mailing list