diff options
| author | Alp Toker <alp@nuanti.com> | 2014-06-07 23:30:53 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-06-07 23:30:53 +0000 |
| commit | 541d5070bfb4c617e389b6aecc57fdf0738ad243 (patch) | |
| tree | 32d2cc604223f90772d6fff814f4fff3f16838c0 /llvm/lib/IR/LegacyPassManager.cpp | |
| parent | 4925ba7ffe7d5af68f2587944d0185e864c3ec77 (diff) | |
| download | bcm5719-llvm-541d5070bfb4c617e389b6aecc57fdf0738ad243.tar.gz bcm5719-llvm-541d5070bfb4c617e389b6aecc57fdf0738ad243.zip | |
Avoid dubious IdentifierInfo::getNameStart() uses
These cases in particular were incurring an extra strlen() when we already knew
the length. They appear to be leftovers from when the interfaces worked with C
strings that have continued to compile due to the implicit StringRef ctor.
llvm-svn: 210403
Diffstat (limited to 'llvm/lib/IR/LegacyPassManager.cpp')
0 files changed, 0 insertions, 0 deletions

