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
- Build Status
Buildable 1379 Build 1379: arc lint + arc unit
Event Timeline
Comment Actions
Thank you for the cleanup!!! For bonus points, please add comments to the class APIs:)
lib/StaticAnalyzer/Core/ProgramState.cpp | ||
---|---|---|
538 | I guess we should break the loop here. |
lib/StaticAnalyzer/Core/ProgramState.cpp | ||
---|---|---|
534 | 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.
Hmm, the original code does actually visit non-SymbolData.