diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-10 18:38:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-11 08:52:49 +0200 |
commit | b65f3fbb2beea99273371179703fcbc1d0ff326e (patch) | |
tree | 367cc5f7e1e10e3d2cebb88f649a1aef62ed80fe /solenv/CompilerTest_compilerplugins_clang.mk | |
parent | 577b95f4d0cc1cf8836ff35fc30189c64fefb508 (diff) |
new loplugin sequentialassign
Look for places we are assigning to the same variable twice
in succession, which means we can simplify that to a single assign
Change-Id: I499d20e28f5595e81e927bef8e1bf364eea8ba91
Reviewed-on: https://gerrit.libreoffice.org/70531
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv/CompilerTest_compilerplugins_clang.mk')
-rw-r--r-- | solenv/CompilerTest_compilerplugins_clang.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/CompilerTest_compilerplugins_clang.mk b/solenv/CompilerTest_compilerplugins_clang.mk index 02a6d299039a..6128f8a4ed47 100644 --- a/solenv/CompilerTest_compilerplugins_clang.mk +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -51,6 +51,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ compilerplugins/clang/test/salcall \ compilerplugins/clang/test/sallogareas \ compilerplugins/clang/test/salunicodeliteral \ + compilerplugins/clang/test/sequentialassign \ compilerplugins/clang/test/shouldreturnbool \ compilerplugins/clang/test/simplifybool \ compilerplugins/clang/test/simplifyconstruct \ |