summaryrefslogtreecommitdiffstats
path: root/compilerplugins
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-05-26 13:53:34 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-05-27 16:03:31 +0200
commitd4bb16adcd2327cb99b42f64d62a180a0f08c147 (patch)
treec6a1282cd328c8ce2b9f9a48c80966956fded031 /compilerplugins
parent-fsanitize=nullability (diff)
downloadcore-d4bb16adcd2327cb99b42f64d62a180a0f08c147.tar.gz
core-d4bb16adcd2327cb99b42f64d62a180a0f08c147.zip
Revert "Remove broken rebuild of compilerplugins when CLANG_FULL_VERSION..."
This reverts commit efe28895498b03f1468a9dc9f510452f36affc2f. It is that commit that is broken. The only thing that does not work is that not all compilerplugin sources depend on config_clang.h, the rest is fine. So instead of reverting something that in principle works (and even complaining in the commit message about the original problem), just fix it (will do in next commit). Change-Id: Ic7766a97220d5b7ef1cd195320899564140fdf1c Reviewed-on: https://gerrit.libreoffice.org/72975 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/plugin.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx
index 984bd11cd315..75672ff09915 100644
--- a/compilerplugins/clang/plugin.hxx
+++ b/compilerplugins/clang/plugin.hxx
@@ -12,6 +12,8 @@
#ifndef PLUGIN_H
#define PLUGIN_H
+#include <config_clang.h>
+
#include <clang/AST/ASTContext.h>
#include <clang/AST/RecursiveASTVisitor.h>
#include <clang/Basic/FileManager.h>