[PATCH] Test that the single-threaded lit feature is available iff the corresponding guard is #defined
Eric Fiselier
eric at efcs.ca
Mon Oct 27 15:19:20 PDT 2014
Why not make it fail at compile time?
```
#ifdef _LIBCPP_HAS_NO_THREADS
#error <error message>
#endif
int main() {}
```
http://reviews.llvm.org/D6006
More information about the cfe-commits
mailing list