Luboš Luňák
81b58bb075
simplify postfixincrementfix plugin using parentStmt()
...
Change-Id: I93fa422afe7f3e1e10576dd64af9d57b2302f44e
2013-06-20 07:21:31 +02:00
Luboš Luňák
e6c20364e7
add const
...
Change-Id: I71236b9ca6300372ba00c85401cf19f6c0e7ac99
2013-05-02 18:19:59 +02:00
Luboš Luňák
153a69cad2
pass around CompilerInstance rather than ASTContext
...
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-03-28 18:01:00 +01:00
Luboš Luňák
9ab15ecc4f
-Wextra for compiler plugins
...
Change-Id: I246dcf1d2c099c510435d21f0dd47e3c098456f2
2013-03-28 18:01:00 +01:00
Luboš Luňák
276953ef21
remove not needed #include
...
Change-Id: I0fa791733407199db5be2cc9606ac9be1da64188
2013-02-02 22:59:45 +01:00
Luboš Luňák
f5ee30c3ee
append [loplugin] automatically in report() rathen than manually everywhere
...
Change-Id: I2f98622f152ae0c7ac8d1113d6380f686ac7234c
2013-02-02 22:59:45 +01:00
Luboš Luňák
b4392c575e
always use the report() helper
...
Change-Id: I2966fdb5bd98b1ddf718079584acf90a3e3a3700
2013-02-02 22:59:45 +01:00
Luboš Luňák
a1c61eb112
move documentation of plugins to the .cxx files
...
It's mostly there already anyway, no need to duplicate it.
Change-Id: I5b066f90725a064fb0746e1411900e835e3f66c3
2013-02-02 22:59:44 +01:00
Luboš Luňák
a7c3adb773
avoid having to manuall modify sources when adding a new clang plugin
...
Now each one registers in its .cxx file.
Change-Id: I811c0d4400c2bdccc1c287269378d7e8ad8743ce
2013-02-02 22:59:44 +01:00
Luboš Luňák
217e3f2ea1
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
2013-01-04 15:27:24 +01:00
Stephan Bergmann
149858e94e
Adapt to Clang 3.2
...
Change-Id: I9e51867198d7677c26cbd97f5d9c85ac13dc90c5
2012-12-05 15:30:33 +01:00
Luboš Luňák
dc3aa430f9
rewriter for postfix->prefix operator++
...
Change-Id: I59a7490ec76b10fd31033d1ceccd1e3eae0ad398
2012-10-15 23:33:08 +02:00