summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-04-14 00:41:11 +0000
committerAnders Carlsson <andersca@mac.com>2011-04-14 00:41:11 +0000
commitd162fb83f2c005484beb8ad71860c30a09f1907d (patch)
tree891045d00f54ff6299dd29de0075aeb940fae65c /llvm/lib/CodeGen/PHIElimination.cpp
parente7e288c80552ef5176c1ed5a35df26be3a0129ea (diff)
downloadbcm5719-llvm-d162fb83f2c005484beb8ad71860c30a09f1907d.tar.gz
bcm5719-llvm-d162fb83f2c005484beb8ad71860c30a09f1907d.zip
In C++, when initializing an array from a pascal string, it's OK if the array
is 1 element smaller than the string, because we can just strip off the last null character. This matches GCC. llvm-svn: 129490
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud