diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-11-09 09:14:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-11-09 10:21:58 +0100 |
commit | 615930949304104933d38f0394ef26e104ecaedc (patch) | |
tree | 91d7e8d03aa7ca04034e75f995dbda39bbaa27f4 /compilerplugins | |
parent | 3746379f251091696b73463f7b27e8ef732dd20b (diff) |
Adapt test to clang-cl on Windows (sal_Int32 typedef int vs. long)
Change-Id: Ic3a27643bd3d5ca3a25449171a3a59140b915769
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124901
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/test/implicitboolconversion.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/test/implicitboolconversion.cxx b/compilerplugins/clang/test/implicitboolconversion.cxx index 0c53a1daf627..47c015261fef 100644 --- a/compilerplugins/clang/test/implicitboolconversion.cxx +++ b/compilerplugins/clang/test/implicitboolconversion.cxx @@ -57,10 +57,10 @@ void f() Sequence<Sequence<sal_Bool>> s2{ { false } }; (void)s2; // expected-error@+1 {{implicit conversion (IntegralCast) from 'bool' to 'const int' [loplugin:implicitboolconversion]}} - Sequence<sal_Int32> s3{ false }; + Sequence<int> s3{ false }; (void)s3; // expected-error@+1 {{implicit conversion (IntegralCast) from 'bool' to 'const int' [loplugin:implicitboolconversion]}} - Sequence<Sequence<sal_Int32>> s4{ { false } }; + Sequence<Sequence<int>> s4{ { false } }; (void)s4; Wrap1<sal_Bool> w1{ false }; (void)w1; |