[PATCH] D133887: [Clang] Support label at end of compound statement

Evgeny Shulgin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 14 12:33:02 PDT 2022


Izaron added a comment.

I thought it was a good idea to slightly rename `err_label_end_of_compound_statement` to `err_SWITCH_label_end_of_compound_statement` because we aren't going to support empty labels in switch statements. (GCC also doesn't compile it - https://godbolt.org/z/xabKaon8v)

So now we need to clarify that we don't support empty labels in SWITCH compound statements (just there).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133887



More information about the cfe-commits mailing list