diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-15 17:53:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-15 17:53:12 +0000 |
commit | 7bee3271e883acf2d07b48f3796a7cdc158112db (patch) | |
tree | 3096b7eba70e098208bcb6a23cbc02b4b7066c85 /lib/CodeGen/SelectionDAG/TargetLowering.cpp | |
parent | 207e1bcf897d1c732f717b9773029651ecc59ab2 (diff) |
rewrite FindStringInBuffer to use an explicit loop instead of
trying to wrap strstr which is just too inconvenient. Make it
use a StringRef to avoid ".c_str()" calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/TargetLowering.cpp')
0 files changed, 0 insertions, 0 deletions