Add {start,end}with_lower methods to StringRef.
authorRui Ueyama <ruiu@google.com>
Wed, 30 Oct 2013 18:32:26 +0000 (18:32 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 30 Oct 2013 18:32:26 +0000 (18:32 +0000)
commitf34c3ca3046378bdb7e49b7366bafca0e0bafb9a
tree5d05a659ba56b1bed812d13cd1ca638c7f2b6c2e
parent3f04b5068619ca0411521c9871f4bfc6b04f951f
Add {start,end}with_lower methods to StringRef.

startswith_lower is ocassionally useful and I think worth adding.
endwith_lower is added for completeness.

Differential Revision: http://llvm-reviews.chandlerc.com/D2041

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