summaryrefslogtreecommitdiff
path: root/compilerplugins/Makefile-clang.mk
AgeCommit message (Collapse)AuthorFilesLines
2014-05-09compilerplugins/clang: filter out -fsanitize=addressStephan Bergmann1-1/+1
Change-Id: I3e78bd86c8010124a2d006f288095aac26e60797
2014-02-25Drop CLANGBUILD in addition to CLANGDIRStephan Bergmann1-2/+2
...see <http://lists.freedesktop.org/archives/libreoffice/2014-February/059654.html> "Drop CLANGBUILD in addition to CLANGDIR?" Change-Id: I8d68aa0f2298240c8e7265cab273c602f5b6881a
2014-02-21Allow building compilerplugins/clang on Mac OS XStephan Bergmann1-1/+5
(at least against a self-built Clang configured --enable-keep-symbols) Change-Id: I6e38688c78f78aca1864530042159cdcef7a0694
2014-02-20EXTERNAL_WARNINGS_NOT_ERRORS -> ENABLE_WERROR and be "TRUE"/""Matúš Kukan1-1/+1
It's easier to type 'make ENABLE_WERROR= <module>' if one wants that. Change-Id: I2bb9911259f41ecae27dc110723f3364b3ff09cf
2014-01-10compilerplugins: strip out -m32/-m64 from CXXMichael Stahl1-2/+3
These are not part of LO and need to be built with native bitness of the compiler. Change-Id: I41fdec130a63e0c0d07f1df228031014cd2351c2
2013-08-05clang binary is in clang build directory, not with its sourcesLuboš Luňák1-1/+1
Change-Id: If037eac010d3cb72ca185382232c211758d009e6
2013-06-13work around the C++11 __float128 problem with libstdc++ headers and clangLuboš Luňák1-1/+1
Change-Id: Ia1b443d22b3b7f6f93f1ad8c5fa760b0f1da3b83
2013-06-05Ignore warnings in Clang headersStephan Bergmann1-1/+1
(as occur at least in trunk Clang builds) Change-Id: I7e74200ae1042133fa04477e39e46fd2f01cc1b0
2013-05-31obey --enable-werror when building clang pluginLuboš Luňák1-1/+5
Change-Id: I8ca9b09a6ffd4b2f00740563fa9682fdabb26b3d
2013-05-31reoder stuff in makefileLuboš Luňák1-2/+2
At the top should be stuff to set manually if needed. Change-Id: I516ac6df8102f00f6fc34c4c87d040688fcc2e99
2013-03-30silence compilerplugin buildPeter Foley1-3/+5
Change-Id: I4397575e4665e8a257d0bd3e15245d996a48a1f4
2013-03-28-Wextra for compiler pluginsLuboš Luňák1-1/+1
Change-Id: I246dcf1d2c099c510435d21f0dd47e3c098456f2
2013-03-19Enable -std=c++11 for compilerplugins/clangStephan Bergmann1-1/+1
Change-Id: I4849656b16c2a7103217870050b0de3ccb97af56
2013-02-07create an output dir that's already needed by $(shell ...)Luboš Luňák1-1/+2
Otherwise there's an error message e.g. during a clean build. Change-Id: I42efd08e014a4ebe25cfd1a497f622e5ea5c39ad
2013-02-07make sure the default target for compilerplugins is buildingLuboš Luňák1-1/+3
CLANGFORCE was the first in the makefile after c6ffe17631cccf11fbe00479d2169116d494a7da and therefore the default Change-Id: Id3b86a1ea2c27479067f7f55a977da3e6e8a2dfb
2013-02-02a bit more reliable detection of removed/added sourcesLuboš Luňák1-0/+4
Change-Id: I7fdde46334c648ab6cba54210e31fada87dcfb55
2013-02-02automatically link all .cxx files in clang/ into the pluginLuboš Luňák1-12/+18
This means that just moving sources to the dir will enable the plugin action in that source, without modifying any sources, so those changes would not be accidentally committed when using a rewriter to change LO sources. Change-Id: Ic5a9c52dbf1939a1e78ad39ed6691ce3a1f399df
2013-02-02move plugin handling to separate source filesLuboš Luňák1-0/+1
Change-Id: Ifa1af34121bda9ca3250d09a3b8a46ea226795ed
2013-02-01one more config/ -> config_host/ fix after the renameLuboš Luňák1-1/+1
Change-Id: I347790e1ca2ee6a27303d3644aa1459ff76ba4b0
2013-01-06do not set our clang timestamp to the timestamp of the clang binaryLuboš Luňák1-1/+1
If the clang binary comes from a package which had been built before any of our clang related sources were changed the last time, the timestamp would be older and so there would be no rebuild. So do the stamp handling the usual way, clang upgrades will work fine, downgrades will not, but that's the same problem like with downgrading a library and its headers. To somewhat mitigate the problem (Clang plugin doesn't get cleaned by 'make clean'), include the full Clang version (which includes SVN revision) in config_clang.h and make all Clang plugin code include that, so at least configure re-run will trigger a rebuild if necessary. Change-Id: I993197f79e92e36105092c92c33b2e1db343e975
2013-01-04rewriter plugin for removing forward rtl string declarationsLuboš Luňák1-0/+1
Change-Id: I12bf38985ae62756973c05aacf762ae3c405ac9b
2012-12-26config_clang.hLubos Lunak1-1/+1
2012-12-11adjust clang plugins for srcdir != builddirLuboš Luňák1-2/+2
Change-Id: Ie4c934b52c4b010703e91f84b83e1fe590b5d187
2012-12-07CLANGPLUGIN_CPPFLAGS did not actually workStephan Bergmann1-6/+2
...it just appeared to work on machines that happen to have /usr/bin/clang. So hoist CLANGDIR/CLANGBUILD from compilerplugins/Makefile-clang.mk to configure.ac instead. Change-Id: Ie5d9c6bb8e9d0caa1583d78c8693f06b69873095
2012-10-22CLANGPLUGIN_CPPFLAGS for building plugin for Clang in nonstandard locationStephan Bergmann1-1/+1
(i.e., configure with CLANGPLUGIN_CPPFLAGS=-I.../clang-installation/include -I.../clang-build/tools/clang/include) Change-Id: Ic6d2973629103f71c32f44ebba2ac70d137d18e7
2012-10-15rewriter for postfix->prefix operator++Luboš Luňák1-0/+1
Change-Id: I59a7490ec76b10fd31033d1ceccd1e3eae0ad398
2012-10-15support for compiler rewritersLuboš Luňák1-5/+7
Change-Id: I12e98ac9fc49ef2007914324006a396d183b778c
2012-10-13compiler check to compare SAL_WARN/LOG areas against sal/inc/sal/log-areas.doxLuboš Luňák1-1/+2
Some of the areas are guesses I've added after seeing them, whoever feels reponsible for whichever part of the code feel free to adjust them. Change-Id: I2192de84d51cc2bc7c28fa84019d38b465985d15
2012-10-12print something when compiling clang plugin tooLuboš Luňák1-0/+2
Change-Id: Ia312533381260a7c506dfd75b9f88c74a8329958
2012-10-12rebuild clang plugin when clang changesLuboš Luňák1-1/+5
Change-Id: Ia4192224d0b217ba2393dc457250cf12febe9306
2012-10-09note about (not) linking llvm/clang librariesLuboš Luňák1-0/+4
Change-Id: I628e3b99b69d238abc9df3e62e77b30eb85f1a0d
2012-10-09compiler plugin check for if/while/true bodies with possibly {} missingLuboš Luňák1-1/+4
Change-Id: Ia84c70006b0b8a039b6fea27f3c5cde796f25d03
2012-10-09compiler check for unused variablesLuboš Luňák1-1/+1
This is for variables that the compiler itself cannot figure out (e.g. non-trivial ctors). The classes need to be marked manually. Change-Id: I0109972e11e20578b1adc32065f701a871ee21aa
2012-10-09initial support for clang compiler pluginsLuboš Luňák1-0/+60
The plugin is intentionally built using a custom Makefile, because it's used by gbuild, so I don't want to build the plugin using gbuild too. It is also intentionally not placed under workdir/, as that is cleaned by 'make clean', the plugin is cleaned only by 'make distclean', so that cleaning it doesn't cause ccache misses. No actual functionality in the plugin itself yet. Change-Id: Ic05eba8d6260eec123c9e699eb5385abfe1b832f