diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-11-08 08:42:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-11-08 17:05:25 +0100 |
commit | b1afd3413dabf33d500796d037e85fdb38c4ec5b (patch) | |
tree | eeaea60584981fa3e34758363d18414ee25b6866 /compilerplugins | |
parent | bfba46d90fc4146ab2a48d155d90dafc8c0a067e (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.cxx | 6 |
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: */ |