The strings "DarwinLog" and "log" probably do not need to be in the
ConstString StringPool. We still create ConstStrings from them in some
places (for now) but that's because we don't have an implicit
constructor to convert a StringRef to a ConstString.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM
lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp | ||
---|---|---|
1495–1497 | You could get rid of the .str().c_str() if you used LLDB_LOG |
You could get rid of the .str().c_str() if you used LLDB_LOG