diff options
author | Paul Kirth <paulkirth@google.com> | 2024-07-08 16:30:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-08 16:30:18 -0700 |
commit | 46a2abb91cb6cfac9b807ae2055cc5f1743405e4 (patch) | |
tree | 6c29fd35b3a4a0d751410420b50840c467d5280d /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | c95935789da9349c470ce75203af93624360b2b6 (diff) | |
download | llvm-46a2abb91cb6cfac9b807ae2055cc5f1743405e4.zip llvm-46a2abb91cb6cfac9b807ae2055cc5f1743405e4.tar.gz llvm-46a2abb91cb6cfac9b807ae2055cc5f1743405e4.tar.bz2 |
[clang-doc][nfc] Avoid constructing SmallString in ToString method (#96921)
This patch updates the return type of HTMLTag::toString from
SmallString<16> to StringRef, since this API only returns string
literals. As a result, there is no need to construct a full heap
allocated or owned string.
Additionally, this patch renames ToString to toString to match the LLVM
style guide.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions