[PATCH] D131938: [C++20] [Coroutines] Disable to take the address of labels in coroutines
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 15 20:00:19 PDT 2022
ChuanqiXu created this revision.
ChuanqiXu added reviewers: aaron.ballman, erichkeane, ychen, avogelsgesang.
ChuanqiXu added a project: clang.
Herald added a project: All.
ChuanqiXu requested review of this revision.
Herald added a subscriber: cfe-commits.
Closing https://github.com/llvm/llvm-project/issues/56436
We can't support the GNU address of label extension in coroutines well in current architecture. To avoid any further misunderstanding, we try to emit an error here.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131938
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/ScopeInfo.h
clang/lib/Sema/ScopeInfo.cpp
clang/lib/Sema/SemaCoroutine.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/addr-label-in-coroutines.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131938.452879.patch
Type: text/x-patch
Size: 5611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220816/5abbcfe3/attachment.bin>
More information about the cfe-commits
mailing list