summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-14 17:32:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-15 13:19:14 +0100
commit9fcc7a907bc10e9af76ff27db891f5b20ccc0d38 (patch)
tree62be715adb46e8b4f49a5f677b21dd6cbfde03b2 /desktop
parent49a58e6e735a90532720f74c8d255056cd018a1a (diff)
Try even harder to get at template args in loplugin:implicitboolconversion
After f82dc45bdb9e930878447015291c5b90c9325b57 "Use the canonical TemplateDecl", builds on macOS (at least those using C++17 and recent trunk libc++) started to emit false warnings for that std::pair< Reference<XConnection>,sal_Bool> aRet; aRet.second = false; code in dbaccess/source/ui/dlg/DbAdminImpl.cxx. There's a declaration of std::pair in type_traits and a definition in utility, and for some reason the declaration in type_traits was deemed the canonical one, while the SubstTemplateTypeParmType pointed at the definition in utility. So just check both, the original and the canonical TemplateDecl. Change-Id: I2fb9d5172c031e6ad4989b215f19d11a4b17f743 Reviewed-on: https://gerrit.libreoffice.org/46474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'desktop')
0 files changed, 0 insertions, 0 deletions