diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-01 13:02:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-06 05:38:14 +0000 |
commit | 2e293a731c1559c9869dfcb32491bc600fc18e4e (patch) | |
tree | dc43bd0d4ce9b55c3f4a6ae99abd830b395fcd9e /sal/osl/unx/salinit.cxx | |
parent | cc719ad619f1897d05581e38a2703add6f6a1050 (diff) |
new loplugin/rewriter comparisonwithconstant
As per sberg' suggestion
Limit it to == and !=, because some people like the flow of inequalities
like: "0 < a && a < 42"
The changes to sal/ were made using the rewriter.
The rewriter still has one bug, in pipe.cxx, it managed to pick up
some random piece of macro. No idea why.
Change-Id: I01305f9c5396a4b6c7421d6e92f1b4b529388e82
Reviewed-on: https://gerrit.libreoffice.org/30962
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/osl/unx/salinit.cxx')
0 files changed, 0 insertions, 0 deletions