aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorAlex Langford <alangford@apple.com>2023-05-26 15:50:26 -0700
committerAlex Langford <alangford@apple.com>2023-06-15 14:57:20 -0700
commite29cc5216a8608b026e390b69022878b2ec3071a (patch)
tree324a71302bb62413b843e223798f27e10134a2d8 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent8fb919a1154a593fdf01e759ece7904afc73f687 (diff)
downloadllvm-e29cc5216a8608b026e390b69022878b2ec3071a.zip
llvm-e29cc5216a8608b026e390b69022878b2ec3071a.tar.gz
llvm-e29cc5216a8608b026e390b69022878b2ec3071a.tar.bz2
[lldb][NFCI] Remove use of ConstString from IOHandler
None of these need to be in the ConstString StringPool. For the most part they are constant strings and do not require fast comparisons. I did change IOHandlerDelegateMultiline slightly -- specifically, the `m_end_line` member always has a `\n` at the end of it now. This was so that `IOHandlerGetControlSequence` can always return a StringRef. This did require a slight change to `IOHandlerIsInputComplete` where we must drop the newline before comparing it against the input parameter. Differential Revision: https://reviews.llvm.org/D151597
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions