compilerplugins/clang/test/fieldcast.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit b6583a9283e1b57c43dd5a4d8eff54d16c112020
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Tue Nov 14 08:28:21 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Tue Nov 14 10:23:46 2023 +0100

    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 <sberg...@redhat.com>

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 <sys/file.h>
+// expected-no-diagnostics
+#else
+
 #include <rtl/ustring.hxx>
 #include <rtl/ref.hxx>
 #include <memory>
@@ -53,4 +57,7 @@ class Test5
     std::shared_ptr<Foo> m_p;
     void test1() { (void)dynamic_cast<Bar*>(m_p.get()); }
 };
+
+#endif
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s 
cinkeys+=0=break: */

Reply via email to