Files
clang-p2996/llvm/lib/Support/Error.cpp
Adrian Prantl 9223ccb0e5 Avoid std::string -> (char *) roundtrip in createStringError() (NFC) (#93242)
The current API first creates a temporary std::string, then passes it as
a C string, only to then convert it into a std::string for storage, thus
unnecessarily computing the length of the string and copying it.
2024-05-23 16:51:56 -07:00

5.6 KiB