| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
shouldn't be converted to the result type. Fixes PR12206 and dupe PR12510.
This was probably the original intent of r133041 (also me, a year ago).
llvm-svn: 156062
|
|
|
|
| |
llvm-svn: 156061
|
|
|
|
|
|
|
|
|
|
|
|
| |
checks:
- unix.Malloc - Checks for memory leaks, double free, use-after-free.
- unix.cstring.NullArg - Checks for null pointers passed as arguments to
CString functions + evaluates CString functions.
- unix.cstring.BadSizeArg - Checks for common anti-patterns in
strncat size argument.
llvm-svn: 150988
|
|
|
|
|
|
| |
be the common root package.
llvm-svn: 136835
|
|
|
|
| |
llvm-svn: 128187
|
|
|
|
|
|
| |
misnomer award.
llvm-svn: 126676
|
|
|
|
| |
llvm-svn: 126606
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
checks. These are:
CStringChecker
ChrootChecker
MallocChecker
PthreadLockChecker
StreamChecker
UnreachableCodeChecker
MallocChecker creates implicit dependencies between checkers and needs to be handled differently.
llvm-svn: 125598
|
|
|
|
|
|
|
|
|
| |
-Wtautological-compare instead of -Wsign-compare, which also implies turning
them on by default.
Restoration of r112877.
llvm-svn: 113334
|
|
|
|
|
|
| |
experiment in a few days.
llvm-svn: 112882
|
|
|
|
|
|
|
| |
to -Wtautological-compare. This implies that they're now on by default.
If this causes chaos, I'll figure something else out.
llvm-svn: 112877
|
|
|
|
|
|
|
|
|
| |
- Allowed reporting of dead macros
- Added path walking function to search for false positives in conditional statements
- Updated some affected tests
- Added some false positive test cases
llvm-svn: 109561
|
|
|
|
|
|
|
|
|
|
| |
analyzer checks.
- Created a new class to do post-analysis
- Updated several test cases with unreachable code to expect a warning
- Added some general tests
llvm-svn: 109286
|
|
|
|
|
|
| |
The constant was copied from clang's limits.h.
llvm-svn: 106732
|
|
|
|
|
|
| |
fails on linux.
llvm-svn: 106661
|
|
|
|
| |
llvm-svn: 106639
|
|
|
|
|
|
| |
assuming relationships, convert the integers to the same type as the symbol, at least for now.
llvm-svn: 106458
|
|
const2
llvm-svn: 106339
|