diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 11:00:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-13 08:30:11 +0200 |
commit | 8c29b0837d924d226fd1a48e323771b450f2b9b6 (patch) | |
tree | b82a7d49ba56c33896a5774a38f897773577ab33 /solenv/CompilerTest_compilerplugins_clang.mk | |
parent | 20b9e4f81a2fd3bcc2dd0c219d64968a42e35a4a (diff) |
new loplugin:constfields
look for fields which are only assigned to in the constructor, so they
can be made const
Change-Id: I0b76817c2181227b04f6a29d6a808f5e31999765
Reviewed-on: https://gerrit.libreoffice.org/60393
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 6aacf7547c60..ad9b1e3f5192 100644 --- a/solenv/CompilerTest_compilerplugins_clang.mk +++ b/solenv/CompilerTest_compilerplugins_clang.mk @@ -14,6 +14,7 @@ $(eval $(call gb_CompilerTest_add_exception_objects,compilerplugins_clang, \ compilerplugins/clang/test/blockblock \ compilerplugins/clang/test/casttovoid \ compilerplugins/clang/test/commaoperator \ + compilerplugins/clang/test/constfields \ compilerplugins/clang/test/constparams \ compilerplugins/clang/test/conststringfield \ compilerplugins/clang/test/convertlong \ |