diff options
author | Vedant Kumar <vsk@apple.com> | 2016-11-07 02:39:37 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-11-07 02:39:37 +0000 |
commit | 6ba1db9f787a373677cb9c08c0e7b7ad305604d5 (patch) | |
tree | a6d31cb22bf80f5393fb2e8a6475152c506fec81 /libcxx/src/bind.cpp | |
parent | b110e0485194d1b5ba4c3cb02a8cd2ee57be92cd (diff) | |
download | bcm5719-llvm-6ba1db9f787a373677cb9c08c0e7b7ad305604d5.tar.gz bcm5719-llvm-6ba1db9f787a373677cb9c08c0e7b7ad305604d5.zip |
[lldb] Fix -Waggressive-loop-optimizations warning
We shouldn't access past the end of an array, even if we think that the
layout of the struct containing the array is always what we expect. The
compiler is free to optimize away the stores as undefined behavior, and
in fact, GCC 6.2.1 claims it will do exactly this.
llvm-svn: 286093
Diffstat (limited to 'libcxx/src/bind.cpp')
0 files changed, 0 insertions, 0 deletions