diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-24 19:23:30 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-12-24 19:23:30 +0000 |
| commit | 791dbb3e5fbe5910b84e3f2bd26cf272e2bde128 (patch) | |
| tree | fa4196a1a5a3de3f79c47b2825601fc97581e4bb /test/Transforms/LoopVectorize | |
| parent | a0be09f511c68a88ee95b73c8f0ebd78156a559e (diff) | |
Use a std::string rather than a dynamically allocated char* buffer.
This affords us to use std::string's allocation routines and use the destructor
for the memory management. Switching to that also means that we can use
operator==(const std::string&, const char *) to perform the string comparison
rather than resorting to libc functionality (i.e. strcmp).
Patch by Saleem Abdulrasool!
Differential Revision: http://llvm-reviews.chandlerc.com/D230
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LoopVectorize')
0 files changed, 0 insertions, 0 deletions
