================ @@ -226,6 +226,21 @@ static bool isPossiblyEscaped(ExplodedNode *N, const DeclRefExpr *DR) { return false; } } + + if (const SwitchStmt *SS = dyn_cast<SwitchStmt>(S)) { + if (const CompoundStmt *CST = dyn_cast<CompoundStmt>(SS->getBody())) { ---------------- steakhal wrote:
```suggestion if (const auto *SS = dyn_cast<SwitchStmt>(S)) { if (const auto *CST = dyn_cast<CompoundStmt>(SS->getBody())) { ``` The type is already mentioned on the line. https://github.com/llvm/llvm-project/pull/82089 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits