summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-01-03 20:15:21 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-04 15:27:24 +0100
commit217e3f2ea1e8983328364607f244daceeafca167 (patch)
tree136686e0e8faadfcc91c8a24a74318cf550700b4 /config
parent1cec392ef50699cc0f310823e4e5fdbb9b272f0f (diff)
better handling of which files are processed by clang plugins
Check that only LO's files are processed, as there's no point otherwise. Also warn about files in workdir/solver/builddir, as those are either generated or copies. Try to automatically match include files from solver to srcdir though, as that's where include files are usually included from :(. Change-Id: Ie8389e903f623a9d0e75015091acc0da78e76c3a
Diffstat (limited to 'config')
-rw-r--r--config/config_clang.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config_clang.h.in b/config/config_clang.h.in
index 60ff5bf5914d..9d87e7a80b26 100644
--- a/config/config_clang.h.in
+++ b/config/config_clang.h.in
@@ -7,6 +7,9 @@ Settings related to Clang compiler plugins.
#ifndef CONFIG_CLANG_H
#define CONFIG_CLANG_H
+#undef BUILDDIR
+#undef OUTDIR
#undef SRCDIR
+#undef WORKDIR
#endif