summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorWill Dietz <wdietz2@illinois.edu>2013-10-13 22:09:26 +0000
committerWill Dietz <wdietz2@illinois.edu>2013-10-13 22:09:26 +0000
commit5357df6290e7049c2130d4e36dcd37d6f78f0018 (patch)
tree8c2824b76b6de401c9f2cc6e2aa3879a1f0dfb40 /llvm/docs/tutorial
parentd6cbede9c5cdcff4aeb6016a19222848aa8bb549 (diff)
downloadbcm5719-llvm-5357df6290e7049c2130d4e36dcd37d6f78f0018.tar.gz
bcm5719-llvm-5357df6290e7049c2130d4e36dcd37d6f78f0018.zip
MC: Don't assume incoming StringRef's are null terminated.
This can happen when processing command line arguments, which are often stored as std::string's and later turned into StringRef's via std::string::data(). Unfortunately this is not guaranteed to return a null-terminated string until C++11, causing breakage on platforms that don't do this. llvm-svn: 192558
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud