Details
Details
- Reviewers
dcoughlin zaks.anna - Commits
- rGc8629bd35a3f: [analyzer] Refactor recursive symbol reachability check to use symbol_iterator
rC287380: [analyzer] Refactor recursive symbol reachability check to use symbol_iterator
rL287380: [analyzer] Refactor recursive symbol reachability check to use symbol_iterator
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thank you for the cleanup!!! For bonus points, please add comments to the class APIs:)
lib/StaticAnalyzer/Core/ProgramState.cpp | ||
---|---|---|
542 ↗ | (On Diff #78285) | I guess we should break the loop here. |
lib/StaticAnalyzer/Core/ProgramState.cpp | ||
---|---|---|
535 ↗ | (On Diff #78285) | Hmm, the original code does actually visit non-SymbolData. |
Comment Actions
I believe you're correct, the original code terminates early because of the short circuit evaluation on line 553, and visits all reachable nodes but doesn't recurse on non-SymbolData.