summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/PassManager.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-07 23:30:53 +0000
committerAlp Toker <alp@nuanti.com>2014-06-07 23:30:53 +0000
commit541d5070bfb4c617e389b6aecc57fdf0738ad243 (patch)
tree32d2cc604223f90772d6fff814f4fff3f16838c0 /llvm/lib/IR/PassManager.cpp
parent4925ba7ffe7d5af68f2587944d0185e864c3ec77 (diff)
downloadbcm5719-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/PassManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud