[PATCH] D155342: [clang][JumpDiagnostics] ignore non-asm goto target scopes
Jennifer Yu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 14 16:09:43 PDT 2023
jyu2 added inline comments.
================
Comment at: clang/lib/Sema/JumpDiagnostics.cpp:794
+ // [-Wc++20-extensions]
+ LabelDecl *TL = TargetLabel;
+ // Is TargetLabel one of the targets of the JumpStmt? If not, then skip
----------------
Just wonder why not just use TargetLabel instead?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155342/new/
https://reviews.llvm.org/D155342
More information about the cfe-commits
mailing list