summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-02-16 15:04:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-02-16 16:29:41 +0100
commit4c13e89d8ef6f1eed1952fbca7ae1476d0ccff65 (patch)
treefcea60e73c6b624cc3c9bc49d84abfe74b2dbba1 /i18nutil
parent4605dfa29649864638187940de4d1064ff056ac8 (diff)
Fix compilerplugins/clang/test/consttobool.cxx
...after <https://github.com/llvm/llvm-project/commit/ 9ce6dc9872be4081fb98f6161c28581e1cbbe7dc> "CWG1423: don't permit implicit conversion of nullptr_t to bool." (Direct-initialization from std::nullptr_t to bool is allowed in C++17, but it appears that will be dropped from C++20, see <https://github.com/cplusplus/draft/commit/ df3e38121431afd9adcf7dce725a670a235463ea> "CWG1781 Converting from nullptr_t to bool in overload resolution", at which point the new check for initialization of S::b and the res.isNullPointer() branch in ConstToBool::VisitImplicitCastExpr, compilerplugins/clang/consttobool.cxx, will probably become moot.) Change-Id: I99773d13d514d5ba5296843592b740ea949b2b1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88784 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18nutil')
0 files changed, 0 insertions, 0 deletions