diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-12 13:54:59 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-12 13:54:59 +0000 |
commit | 018cbd5ddf11a0bbab48cc2a374148bdfce9a9e2 (patch) | |
tree | 6b4654e47c29eb100660e0066df3e44f64d61b10 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | bb2f0c541c1bcf05131b66e4aa036229fc5f068b (diff) |
Use StringRef::substr instead of std::string::substr to avoid using a free'd
string temporary. This should fix PR6590.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions