Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good - thanks!
llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp | ||
---|---|---|
121 | Might be simpler to write this as return ""; |
llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp | ||
---|---|---|
121 | I believe I would better stick with StringRef(). This is the same way as other stringify functions are written, in particular, in Dwarf.cpp, and, as I checked, the compiler generates a bit better code with the default constructor of StringRef. |
Might be simpler to write this as return "";