lebedev.ri added inline comments.
================ Comment at: llvm/trunk/lib/Support/TimeProfiler.cpp:29-30 + +static std::string escapeString(StringRef Src) { + std::string OS; + for (const unsigned char &C : Src) { ---------------- lebedev.ri wrote: > `SmallString<32>` ? > Also, it is safe to `OS.reserve(Src.size())` Also, you probably want to add `raw_svector_ostream` ontop, and `<<` into it. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58675/new/ https://reviews.llvm.org/D58675 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits