OSDN Git Service

Remove bounded StringRef::compare() since nothing but Clang SA was using it and it...
authorLenny Maiorani <lenny@colorado.edu>
Thu, 28 Apr 2011 20:20:12 +0000 (20:20 +0000)
committerLenny Maiorani <lenny@colorado.edu>
Thu, 28 Apr 2011 20:20:12 +0000 (20:20 +0000)
commit6cf081cbe5963d6e1b12b0ac1268538a38acd0f1
tree84ca75909079f0182aa0460b62dd81725658bdd6
parentd227eedf8270f816270259742c17685f59044a22
Remove bounded StringRef::compare() since nothing but Clang SA was using it and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130430 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringRef.h
lib/Support/StringRef.cpp
unittests/ADT/StringRefTest.cpp