aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.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 /clang/unittests/Basic/SourceManagerTest.cpp
parent4925ba7ffe7d5af68f2587944d0185e864c3ec77 (diff)
downloadllvm-541d5070bfb4c617e389b6aecc57fdf0738ad243.zip
llvm-541d5070bfb4c617e389b6aecc57fdf0738ad243.tar.gz
llvm-541d5070bfb4c617e389b6aecc57fdf0738ad243.tar.bz2
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 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions