[PATCH] D59307: Patch llvm bug 41033 concerning atomicity of statement expressions
JF Bastien via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 13 10:08:49 PDT 2019
jfb added a comment.
Thinking some more, this is really a silly gotcha in code. We should probably follow what we're about to do with wg21.link/P1152 <https://reviews.llvm.org/P1152> and ban chaining. Statement expressions should therefore not be allowed to return `_Atomic`, `std::atomic`, nor `volatile`.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59307/new/
https://reviews.llvm.org/D59307
More information about the cfe-commits
mailing list