Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add -Wstring-plus-int, which warns on "str" + int and int + "str". | Nico Weber | 2012-03-02 | 1 | -1/+1 |
| | | | | | | | | It doesn't warn if the integer is known at compile time and within the bounds of the string. Discussion: http://comments.gmane.org/gmane.comp.compilers.clang.scm/47203 llvm-svn: 151943 | ||||
* | Add the new unit test that I managed to leave out of r136997 :/ | Kaelyn Uhrain | 2011-08-10 | 1 | -0/+33 |
| | | | | llvm-svn: 137242 | ||||
* | Revert r136046 while fixing handling of e.g. &foo[index_one_past_size] | Kaelyn Uhrain | 2011-07-26 | 1 | -33/+0 |
| | | | | llvm-svn: 136113 | ||||
* | Expand array bounds checking to work in the presence of unary & and *, | Kaelyn Uhrain | 2011-07-26 | 1 | -0/+33 |
and to work with pointer arithmetic in addition to array indexing. The new pointer arithmetic porition of the array bounds checking can be turned on by -Warray-bounds-pointer-arithmetic (and is off by default). llvm-svn: 136046 |