We have a string litteral (via CPP) used to construct StringRef, which
is used to construct a SmallString. Just construct the latter
directly.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think this still ends up doing an implicit conversion to StringRef first since there is no SmallString constructor from const char *. But I guess shorter code is better.
LGTM