diff options
author | Alex Langford <alangford@apple.com> | 2023-04-26 15:01:12 -0700 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2023-04-26 15:56:29 -0700 |
commit | 6fcdfc378c2f926ed5a175326fe799844c1c80b2 (patch) | |
tree | 08e32cf7940463bd34987ebd6edd23cddddd053d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 92f1156efc5f762ac3a4cc4eebe62742f6d75789 (diff) | |
download | llvm-6fcdfc378c2f926ed5a175326fe799844c1c80b2.zip llvm-6fcdfc378c2f926ed5a175326fe799844c1c80b2.tar.gz llvm-6fcdfc378c2f926ed5a175326fe799844c1c80b2.tar.bz2 |
[lldb] Change return type of FileSpec::GetFileNameExtension
These don't really need to be in ConstStrings. It's nice that comparing
ConstStrings is fast (just a pointer comparison) but the cost of
creating the ConstString usually already includes the cost of doing a
StringRef comparison anyway, so this is just extra work and extra memory
consumption for basically no benefit.
Differential Revision: https://reviews.llvm.org/D149300
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions