aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-11-14 12:08:24 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-11-14 12:08:24 +0000
commitf4c511b026a8c9d11392c5ce05ff0a6de28d8172 (patch)
tree73f8290ea8de557db9c0c4f5f83c08128af18340 /llvm/lib/Support/CommandLine.cpp
parentea956ddf0b664de624b5ca046f5d9daf87ada727 (diff)
downloadllvm-f4c511b026a8c9d11392c5ce05ff0a6de28d8172.zip
llvm-f4c511b026a8c9d11392c5ce05ff0a6de28d8172.tar.gz
llvm-f4c511b026a8c9d11392c5ce05ff0a6de28d8172.tar.bz2
Change *BugReport constructors to take StringRefs.
- Eliminates many calls to std::string.c_str() - Fixes an invalid read in ReturnStackAddressChecker due to an unsafe call to StringRef.data() which doesn't guarantee null-termination. llvm-svn: 88779
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions