diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 20:58:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-23 09:12:16 +0200 |
commit | 4ad54c347180f227fac127b70c4072c192c21ddd (patch) | |
tree | a6939e48027ee44bba1b76bd2e5d76ad5a6ae794 /solenv/CompilerTest_compilerplugins_clang.mk | |
parent | 24c17dab2f10ad1b7ba342fbd40dc65b7d8f9b24 (diff) |
new loplugin:returnconstval
look for code that thwarts copy-elision/move optimisations by
returning const values.
Change-Id: Iafa038d15051e06ee76d8a1c0ce8b7d234cd8488
Reviewed-on: https://gerrit.libreoffice.org/77964
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 caeee4333e78..82c37fe34b07 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/redundantpointerops \ compilerplugins/clang/test/refcounting \ compilerplugins/clang/test/referencecasting \ + compilerplugins/clang/test/returnconstval \ compilerplugins/clang/test/salbool \ compilerplugins/clang/test/salcall \ compilerplugins/clang/test/sallogareas \ |