summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/array-bounds-system-header.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Suppress -Warray-bounds in certain cases involving macros from system headers.Matt Beaumont-Gay2011-12-121-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
OpenPOWER on IntegriCloud