llvm-project
c2faeb01 - [analyzer][NFC] Out-line `ExplodedGraph::addEndOfPath` and `GraphTraits<ExplodedGraph *>` node iteration (#246988)

Commit
10 hours ago
[analyzer][NFC] Out-line `ExplodedGraph::addEndOfPath` and `GraphTraits<ExplodedGraph *>` node iteration (#246988) - Move the bodies of `ExplodedGraph::addEndOfPath` and of `GraphTraits<ExplodedGraph *>::nodes_begin`/`nodes_end` from `ExplodedGraph.h` into `ExplodedGraph.cpp`. - They were inline in a header that most checkers include, so every such TU instantiated the `std::vector` push_back and the `llvm::df_begin`/`df_end` depth-first iterator machinery, though only a few places in the engine call them. - No include changes: `nodes_iterator` still names `df_iterator` in the header. Build-time impact (instructions retired, 196 `lib/StaticAnalyzer` TUs): - Total: -0.37% Assisted-by: Claude Code
Author
Parents
Loading