summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-12-24 19:23:30 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-12-24 19:23:30 +0000
commit9d46110ff19ef07126afa4582254881b0512bde0 (patch)
tree95aad79f83971a306c9b9a99645d95d453cea472 /llvm/lib/Bitcode
parent4ed23578daa2ab659255511885f998d8876354d8 (diff)
downloadbcm5719-llvm-9d46110ff19ef07126afa4582254881b0512bde0.tar.gz
bcm5719-llvm-9d46110ff19ef07126afa4582254881b0512bde0.zip
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 llvm-svn: 171042
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud