diff options
| author | Matt Beaumont-Gay <matthewbg@google.com> | 2011-12-12 22:35:02 +0000 |
|---|---|---|
| committer | Matt Beaumont-Gay <matthewbg@google.com> | 2011-12-12 22:35:02 +0000 |
| commit | 9d570c438cd31923b548bbb5d0ca84d68b3f13c7 (patch) | |
| tree | ee2eeaba41f00aab93e0310db3dab0cffaee04d0 /llvm/lib/VMCore/Module.cpp | |
| parent | 055d0c961b7feee0d875cd791afa2451d98980dc (diff) | |
| download | bcm5719-llvm-9d570c438cd31923b548bbb5d0ca84d68b3f13c7.tar.gz bcm5719-llvm-9d570c438cd31923b548bbb5d0ca84d68b3f13c7.zip | |
Suppress -Warray-bounds in certain cases involving macros from system headers.
The motivation here is a "clever" implementation of strncmp(), which peels the first few comparisons via chained conditional expressions which ensure that the input arrays are known at compile time to be sufficiently large.
llvm-svn: 146430
Diffstat (limited to 'llvm/lib/VMCore/Module.cpp')
0 files changed, 0 insertions, 0 deletions

