[clang] [analyzer] Add BranchCondition callback to 'switch' (PR #182058)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 18 12:26:00 PST 2026


================
@@ -2872,9 +2872,6 @@ void ExprEngine::processBranch(
 
   BranchNodeBuilder Builder(Dst, BldCtx, DstT, DstF);
   for (ExplodedNode *PredN : CheckersOutSet) {
-    if (PredN->isSink())
-      continue;
----------------
NagyDonat wrote:

While I was composing this commit, I realized that this `if` is dead code, so I decided to remove it. This is not related to the rest of this PR.

https://github.com/llvm/llvm-project/pull/182058


More information about the cfe-commits mailing list