diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 13:54:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 21:41:44 +0200 |
commit | 152b3ef0f36a067e3ee07172d3057a3a728e12f1 (patch) | |
tree | dbdf088485ef82f65e504b9e02ea8ab759546a8a /shell | |
parent | df6bf6dd3d7f11b308f6881326de6400d44b46da (diff) |
loplugin:noexceptmove: Cater for null FunctionDecl::getBody
...which can happen for function templates with clang-cl, leading to false
warnings like
> [build CXX] codemaker/source/commoncpp/commoncpp.cxx
> In file included from codemaker/source/commoncpp/commoncpp.cxx:25:
> In file included from include\codemaker/typemanager.hxx:28:
> include\rtl/ref.hxx(126,5): error: move operator= can be noexcept [loplugin:noexceptmove]
> Reference<reference_type> &
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Change-Id: I541c7c3d86d05964834e3e5cf678c8f1145ea132
Reviewed-on: https://gerrit.libreoffice.org/79956
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions