From b6583a9283e1b57c43dd5a4d8eff54d16c112020 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 14 Nov 2023 08:28:21 +0100 Subject: Adapt compilerplugins/clang/test/fieldcast.cxx to clang-cl ...where loplugin:locking2 is disabled Change-Id: Id58cbedab191c59b901ef1a0e0dd82b8f8438c4e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159400 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- compilerplugins/clang/test/fieldcast.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'compilerplugins/clang/test') diff --git a/compilerplugins/clang/test/fieldcast.cxx b/compilerplugins/clang/test/fieldcast.cxx index 98e43d023324..6d0437d04e6f 100644 --- a/compilerplugins/clang/test/fieldcast.cxx +++ b/compilerplugins/clang/test/fieldcast.cxx @@ -7,6 +7,10 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#if defined _WIN32 //TODO, #include +// expected-no-diagnostics +#else + #include #include #include @@ -53,4 +57,7 @@ class Test5 std::shared_ptr m_p; void test1() { (void)dynamic_cast(m_p.get()); } }; + +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit