[PATCH] D142077: [Clang][SemaCXX][Coroutines] Fix misleading diagnostics with -Wunsequenced
Nathan Ridge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jan 21 00:48:46 PST 2023
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 test](https://searchfox.org/llvm/rev/1495210914997bcd0ca6937be0ae3cd6809b5ef5/clang/test/SemaCXX/coreturn.cpp#2)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142077/new/
https://reviews.llvm.org/D142077
More information about the cfe-commits
mailing list