summaryrefslogtreecommitdiff
path: root/compilerplugins/README
AgeCommit message (Expand)Author
2014-01-27Prepare dual-mode compiler plugin featureStephan Bergmann
2013-12-20typo fixesAndras Timar
2013-02-09make it possible to limit what files will be modified by a compiler pluginLuboš Luňák
2013-02-09treat all source files as not up to date only with FORCE_COMPILE_ALLLuboš Luňák
2013-02-02tutorial examples for writing new Clang plugin actionsLuboš Luňák
2013-02-02move documentation of plugins to the .cxx filesLuboš Luňák
2013-01-31rewriters no longer create .new files, they modify sources directlyLuboš Luňák
2013-01-11point to our wiki page on clang rather than clang homepageLuboš Luňák
2012-10-15support for compiler rewritersLuboš Luňák
2012-10-14document sallogareas compiler checkLuboš Luňák
2012-10-09compiler plugin check for if/while/true bodies with possibly {} missingLuboš Luňák
2012-10-09compiler check for unused variablesLuboš Luňák
2012-10-09initial support for clang compiler pluginsLuboš Luňák
Fix typoAndrea Gelmini Change-Id: I16429dd54a4901a5a70f221a3bd11e32e5c34855 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90852 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2020-02-24tdf#42949 Fix IWYU warnings in svx/source/[f-m]*/*cxxGabor Kelemen Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I103c5c7f1a74e8c3a021a91c7a96ebc87cb19efd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89263 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> 2018-11-22improve function-local statics in svxNoel Grandin Change-Id: I636fcc8ba1012d774d98f6a880bf29eb4b233128 Reviewed-on: https://gerrit.libreoffice.org/63783 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2018-09-17New loplugin:externalStephan Bergmann ...warning about (for now only) functions and variables with external linkage that likely don't need it. The problems with moving entities into unnamed namespacs and breaking ADL (as alluded to in comments in compilerplugins/clang/external.cxx) are illustrated by the fact that while struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { struct S2: S1 { int f() { return 1; } }; int f(S2 s) { return s.f(); } } int main() { return f(N::S2()); } returns 1, both moving just the struct S2 into an nunnamed namespace, struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { namespace { struct S2: S1 { int f() { return 1; } }; } int f(S2 s) { return s.f(); } } int main() { return f(N::S2()); } as well as moving just the function f overload into an unnamed namespace, struct S1 { int f() { return 0; } }; int f(S1 s) { return s.f(); } namespace N { struct S2: S1 { int f() { return 1; } }; namespace { int f(S2 s) { return s.f(); } } } int main() { return f(N::S2()); } would each change the program to return 0 instead. Change-Id: I4d09f7ac5e8f9bcd6e6bde4712608444b642265c Reviewed-on: https://gerrit.libreoffice.org/60539 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2018-06-05tdf#42949 remove unused compheler includes ..Jochen Nitschke and fix the fallout Change-Id: I15bc5d626f4d157cbc69a87392078b41e621d14e Reviewed-on: https://gerrit.libreoffice.org/54882 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>