| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update all tests other than Driver/std.cpp to use -std=c++11 rather than | Richard Smith | 2011-10-13 | 1 | -1/+1 |
| | | | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900 | ||||
| * | Add test cases for false positives on -Wnull-arithmetic from Richard | Chandler Carruth | 2011-06-19 | 1 | -3/+11 |
| | | | | | | | | | | | | | | Trieu, and fix them by checking for array and function types as well as pointer types. I've added a predicate method on Type to bundle together the logic we're using here: isPointerLikeType(). I'd welcome better names for this predicate, this is the best I came up with. It's implemented as a switch to be a touch lighter weight than all the chained isa<...> casts that would result otherwise. llvm-svn: 133383 | ||||
| * | Add a new warning when a NULL constant is used in arithmetic operations. ↵ | Richard Trieu | 2011-06-16 | 1 | -0/+65 |
| The warning will fire on cases such as: int x = 1 + NULL; llvm-svn: 133196 | |||||

