summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-11-08 08:42:56 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-11-08 17:05:25 +0100
commitb1afd3413dabf33d500796d037e85fdb38c4ec5b (patch)
treeeeaea60584981fa3e34758363d18414ee25b6866 /compilerplugins
parentbfba46d90fc4146ab2a48d155d90dafc8c0a067e (diff)
Adapt compilerplugins/clang/test/locking2.cxx to clang-cl
...where loplugin:locking2 is disabled Change-Id: Ie6a241ac49670e47001cba67c7af9996623a23ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159109 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/test/locking2.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/locking2.cxx b/compilerplugins/clang/test/locking2.cxx
index 3ef1a11228b6..5e6c36d4db26 100644
--- a/compilerplugins/clang/test/locking2.cxx
+++ b/compilerplugins/clang/test/locking2.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 <mutex>
#include <memory>
#include <osl/mutex.hxx>
@@ -47,4 +51,6 @@ struct Foo
};
}
+#endif
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */