This accessor is useful and could be slightly more efficient than
Str.val().data() because you can avoid StringRef instantiation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I have no objections. It already has size() getter, it is consistent to have data(). LGTM.