nridge added inline comments.
Comment at: clang/lib/Sema/SemaChecking.cpp:15186
+ if (ChildExpr == CSE->getOperand())
+// Do not recurse over a CoroutineSuspendExpr's operand.
+// The operand is also a subexpression of getCommonExpr(), and
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0b8daee028a8: [Clang][SemaCXX][Coroutines] Fix misleading
diagnostics with -Wunsequenced (authored by bruno).
Repository:
rG LLVM Github Monorepo
bruno added a comment.
Only test failing is `ClangScanDeps/modules-full.cpp` on Windoes, which is
unrelated to this change.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142077/new/
https://reviews.llvm.org/D142077
___
cfe-commits mailing
bruno updated this revision to Diff 494740.
bruno added a comment.
Update checks that rely on `coroutine_traits` in `std-coroutine.h`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142077/new/
https://reviews.llvm.org/D142077
Files:
clang/lib/Sema/SemaChecking.cpp
bruno added a comment.
Thanks for the review, will push once all tests pass!
Comment at: clang/lib/Sema/SemaChecking.cpp:15186
+ if (ChildExpr == CSE->getOperand())
+// Do not recurse over a CoroutineSuspendExpr's operand.
+// The operand is also a
bruno updated this revision to Diff 494707.
bruno added a comment.
Update patch to reuse `std-coroutine.h` and add a few more other bits there.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142077/new/
https://reviews.llvm.org/D142077
Files:
clang/lib/Sema/SemaChecking.cpp
ChuanqiXu accepted this revision.
ChuanqiXu added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Sema/SemaChecking.cpp:15186
+ if (ChildExpr == CSE->getOperand())
+// Do not recurse over a CoroutineSuspendExpr's operand.
+
nridge added inline comments.
Comment at: clang/test/SemaCXX/warn-unsequenced-coro.cpp:7
+
+namespace std {
+
Consider including `"Inputs/std-coroutine.h"` instead, as in e.g. [this
nridge added inline comments.
Comment at: clang/lib/Sema/SemaChecking.cpp:15186
+ if (ChildExpr == CSE->getOperand())
+// Do not recurse over a CoroutineSuspendExpr's operand.
+// The operand is also a subexpression of getCommonExpr(), and
bruno added a comment.
Test failure is unrelated.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142077/new/
https://reviews.llvm.org/D142077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
bruno created this revision.
bruno added reviewers: ChuanqiXu, nridge, sammccall.
Herald added subscribers: hoy, modimo, wenlei.
Herald added a project: All.
bruno requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
D115187
11 matches
Mail list logo