summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedvariablecheck.hxx
AgeCommit message (Collapse)AuthorFilesLines
2014-01-27Prepare dual-mode compiler plugin featureStephan Bergmann1-1/+1
...which can act as either a rewriter or a non-rewriter that emits warnings. Also added COMPILER_PLUGIN_WARNINGS_ONLY=X to demote warnings from plugin X from errors to warnings, even under --enable-werror. Change-Id: I05361936240a890515c6bba2459565417c1746b7
2013-09-22add mode lines to new files (and idls) since last runCaolán McNamara1-0/+3
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-05-31mark all virtuals in the clang plugin as overrideLuboš Luňák1-1/+1
In order to help catch Clang API changes. Change-Id: I5738f5dff405f7a2dd377c983fb32c1c7a2ff921
2013-05-02add constLuboš Luňák1-1/+1
Change-Id: I71236b9ca6300372ba00c85401cf19f6c0e7ac99
2013-03-28pass around CompilerInstance rather than ASTContextLuboš Luňák1-1/+1
It's possible to get the latter from the former, and the former is useful for other things too (access to the preprocessor, for example). Change-Id: I708d709129fd3a35bf7c63da4de09c2e696b382d
2013-02-02avoid having to manuall modify sources when adding a new clang pluginLuboš Luňák1-1/+1
Now each one registers in its .cxx file. Change-Id: I811c0d4400c2bdccc1c287269378d7e8ad8743ce
2012-10-15support for compiler rewritersLuboš Luňák1-1/+1
Change-Id: I12e98ac9fc49ef2007914324006a396d183b778c
2012-10-13compiler check to compare SAL_WARN/LOG areas against sal/inc/sal/log-areas.doxLuboš Luňák1-1/+1
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-09move some code to a common baseLuboš Luňák1-6/+2
Change-Id: Ife306c69054dfcc20b1339b88a4e14e5333ced71
2012-10-09compiler check for unused variablesLuboš Luňák1-0/+35
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