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>
This commit is contained in:
@@ -57,10 +57,10 @@ void f()
|
|||||||
Sequence<Sequence<sal_Bool>> s2{ { false } };
|
Sequence<Sequence<sal_Bool>> s2{ { false } };
|
||||||
(void)s2;
|
(void)s2;
|
||||||
// expected-error@+1 {{implicit conversion (IntegralCast) from 'bool' to 'const int' [loplugin:implicitboolconversion]}}
|
// expected-error@+1 {{implicit conversion (IntegralCast) from 'bool' to 'const int' [loplugin:implicitboolconversion]}}
|
||||||
Sequence<sal_Int32> s3{ false };
|
Sequence<int> s3{ false };
|
||||||
(void)s3;
|
(void)s3;
|
||||||
// expected-error@+1 {{implicit conversion (IntegralCast) from 'bool' to 'const int' [loplugin:implicitboolconversion]}}
|
// 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;
|
(void)s4;
|
||||||
Wrap1<sal_Bool> w1{ false };
|
Wrap1<sal_Bool> w1{ false };
|
||||||
(void)w1;
|
(void)w1;
|
||||||
|
Reference in New Issue
Block a user