[PATCH] D127471: [Coroutines] Convert coroutine.presplit to enum attr

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 23:39:03 PDT 2022


ChuanqiXu added a comment.

In D127471#3580581 <https://reviews.llvm.org/D127471#3580581>, @akuegel wrote:

> It seems this change triggers a warning:
>
> https://buildkite.com/llvm-project/upstream-bazel/builds/31190#018160e2-0b96-4254-8986-f039b7f2e0a1
>
> llvm-project/llvm/lib/Transforms/Utils/CodeExtractor.cpp:901:15: error: enumeration value 'PresplitCoroutine' not handled in switch [-Werror,-Wswitch]
>
>   switch (Attr.getKindAsEnum()) {

Thanks for reporting! I am trying to fix it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127471/new/

https://reviews.llvm.org/D127471



More information about the cfe-commits mailing list