aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/array-bounds-system-header.cpp
AgeCommit message (Collapse)AuthorFilesLines
2011-12-12Suppress -Warray-bounds in certain cases involving macros from system headers.Matt Beaumont-Gay1-0/+9
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