diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-10-06 08:55:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-10-06 10:05:00 +0200 |
commit | 4fc52078f6afa4368b2f4de3cd700e474b7a417f (patch) | |
tree | eaf349ac004cc81df8c03d3f71a49ae8c2305356 /solenv/CompilerTest_compilerplugins_clang.mk | |
parent | 192a0152ff56890b406fbacfe365c452caba7fc7 (diff) |
Improve performance of loplugin:commaoperator
...by avoiding calls to parentStmt, thereby also improving the precision of
exactly which comma operators to ignore (which turned up a handful more finds).
Also added tests.
Change-Id: Ie74f824fd7f54131aab09b59086452fb4f3ff827
Reviewed-on: https://gerrit.libreoffice.org/43181
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
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 0a1fc0f2ebfe..26306dccc983 100644 --- a/solenv/CompilerTest_compilerplugins_clang.mk +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -13,6 +13,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ compilerplugins/clang/test/badstatics \ compilerplugins/clang/test/blockblock \ compilerplugins/clang/test/casttovoid \ + compilerplugins/clang/test/commaoperator \ compilerplugins/clang/test/constparams \ $(if $(filter-out INTEL,$(CPU)),compilerplugins/clang/test/convertuintptr) \ compilerplugins/clang/test/cppunitassertequals \ |