jdoerfert added a comment. I'd go with `config::mayRequireThreadSpecificState` or sth. Also some documentation there.
you should be able to use assertions, like `ASSERT(false && "....")`. Which gives us messages in assert mode if violated. Clang documentation should be something like `no thread in parallel region will modify an ICV`. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D120106/new/ https://reviews.llvm.org/D120106 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits