Details
Diff Detail
- Build Status
Buildable 12306 Build 12306: arc lint + arc unit
Event Timeline
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp | ||
---|---|---|
1344 | what's the point of this using statement? I think it would be more readable to do this in runOnFunction (see the depth_first loop over basic blocks). |
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp | ||
---|---|---|
1344 | InstVisitor has other overloads of visit() seems like this visitor exists for things exactly like this, and I see similar usage in other places. moving check into runOnFunction will make us to copy loop over instructions which does not look more readable to me. I'd prefer to keep as much as possible logic in InstVisitor. I guess we have own look for bblocks in runOnFunction only to have depth_first. |
what's the point of this using statement?
I think it would be more readable to do this in runOnFunction (see the depth_first loop over basic blocks).