Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 4029 Build 4029: arc lint + arc unit
Event Timeline
llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | ||
---|---|---|
763 | I noticed that this function largely duplicates handling in LowerTypeTests.cpp (ditto for exportGlobal). Would it make sense to refactor that into a general helper that can be invoked by both? |
llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | ||
---|---|---|
763 | Maybe. This is a "rule of three" situation, I think -- if we add another pass that needs this, we can factor it out. |
I noticed that this function largely duplicates handling in LowerTypeTests.cpp (ditto for exportGlobal). Would it make sense to refactor that into a general helper that can be invoked by both?