[PATCH] D53049: Annotate scoped_lock as with scoped_lockable attribute
Louis Dionne via Phabricator
reviews at reviews.llvm.org
Wed Oct 10 14:56:53 PDT 2018
ldionne added a comment.
In https://reviews.llvm.org/D53049#1261141, @aaronpuchert wrote:
> In https://reviews.llvm.org/D53049#1260836, @NoQ wrote:
>
> > Hmm, this seems to be causing buildbot failures, could you take a look?
>
>
> Hmm, `std::scoped_lock` is only available with C++17. I'll put an `#ifdef` around it if you don't mind.
`#if TEST_STD_VER >= 17` is what you're looking for. And don't forget to `#include "test_macros.h".
Repository:
rL LLVM
https://reviews.llvm.org/D53049
More information about the libcxx-commits
mailing list