[PATCH] D143260: [clangd] Add semantic token for labels

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 13 10:07:48 PST 2023


nridge added a comment.

Another potential consideration here is the GNU "labels as values <https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html>" language extension, which clang seems to support, and which allows referencing a `LabelDecl` from a context other than a goto-statement (and thus less obvious from the lexical context only).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143260



More information about the cfe-commits mailing list