Commit Graph

9 Commits

Author SHA1 Message Date
06fb559a4b note about (not) linking llvm/clang libraries
Change-Id: I628e3b99b69d238abc9df3e62e77b30eb85f1a0d
2012-10-09 23:31:39 +02:00
7c4d3ea6ba don't check next statement after if body if there's also an else part
Change-Id: I04265acd821187f529562691f35ede93b84368fa
2012-10-09 17:25:28 +02:00
4d3c6a0499 ignore macro expansion completely for now
Change-Id: Ie37b83fef1279a0a953de27941e3b342437c81d1
2012-10-09 17:25:28 +02:00
7cd19a8f10 do not analyse system headers in the compiler plugin
Change-Id: Ica1e233b45cc778bfdc86cfd608ada7fc261c6c2
2012-10-09 17:25:28 +02:00
4d05099806 do not force compiler plugin warnings to errors with -Werror, for now
Change-Id: I87585fce44e803513d5345709d9723075b9429a1
2012-10-09 17:25:28 +02:00
4fc56b9d4c move some code to a common base
Change-Id: Ife306c69054dfcc20b1339b88a4e14e5333ced71
2012-10-09 17:25:28 +02:00
d4aa136e97 compiler plugin check for if/while/true bodies with possibly {} missing
Change-Id: Ia84c70006b0b8a039b6fea27f3c5cde796f25d03
2012-10-09 17:25:27 +02:00
13e39545ea compiler check for unused variables
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-09 17:25:27 +02:00
02a8d36ebf initial support for clang compiler plugins
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
2012-10-09 17:25:27 +02:00