================
@@ -47,6 +47,10 @@ class VarBypassDetector {
llvm::DenseMap<const Stmt *, unsigned> ToScopes;
// Set of variables which were bypassed by some jump.
llvm::DenseSet<const VarDecl *> Bypasses;
+ // Map from a bypassing jump (goto/switch case) to the variable declarations
+ // it bypasses. Used to reinitialize those variables at the jump (C++ only).
----------------
efriedma-quic wrote:
Outdated comment "C++ only".
https://github.com/llvm/llvm-project/pull/181937
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits