| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 53906
|
|
|
|
| |
llvm-svn: 53628
|
|
|
|
|
|
| |
BugReporter::EmitBasicReport interface.
llvm-svn: 53573
|
|
|
|
|
|
|
|
| |
instead of references, because they can both fail
on functions we cannot construct full CFGs for yet.
llvm-svn: 53081
|
|
|
|
|
|
| |
-dealloc, and whether or not that implementation calls [super dealloc].
llvm-svn: 53075
|
|
|
|
|
|
| |
BugReporter interface.
llvm-svn: 53054
|
|
|
|
|
|
|
|
| |
ASTContext&, PathDiagnosticClient*, can be provided by an external source.
Split BugReporter into BugReporter and GRBugReporter so checkers not based on GRExprEngine can still use the BugReporter mechanism.
llvm-svn: 53048
|
|
|
|
|
|
|
|
| |
LiveVariables object.
Modified the DeadStores logic in AnalysisConsumer.cpp to use the LiveVariables object created by the AnalysisManager.
llvm-svn: 53043
|
|
|
|
|
|
| |
capture the diagnostic associated with a specific warning and emit it.
llvm-svn: 52565
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Check if a dead store appears as a subexpression. For such cases, we emit
a verbose diagnostic so that users aren't confused. This addresses:
<rdar://problem/5968508> checker gives misleading report for dead store in loop
2) Don't emit a dead store warning when assigning a null value to a pointer.
This is a common form of defensive programming. We may wish to make
this an option to the the checker one day.
This addresses the feature request in the following email:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-June/001978.html
llvm-svn: 52555
|
|
|
|
|
|
| |
diagnostic (simply not needed).
llvm-svn: 51432
|
|
|
|
| |
llvm-svn: 51395
|
|
|
|
| |
llvm-svn: 50679
|
|
|
|
|
|
|
|
| |
can decide the policy on how to cache related bugs. This allows us to
properly to handle warning about multiple leaks in the same location in the
ref count checker (not yet done).
llvm-svn: 49918
|
|
|
|
| |
llvm-svn: 49711
|
|
|
|
|
|
| |
in a DeclStmt.
llvm-svn: 49708
|
|
|
|
| |
llvm-svn: 49672
|
|
|
|
|
|
| |
assume that DeclStmts only have VarDecls; they can have TypedefDecls.
llvm-svn: 49662
|
|
|
|
|
|
| |
warnings are emitted as part of the warnings registered by GRSimpleVals.
llvm-svn: 49658
|
|
lib dir and move all the libraries into it. This follows the main
llvm tree, and allows the libraries to be built in parallel. The
top level now enforces that all the libs are built before Driver,
but we don't care what order the libs are built in. This speeds
up parallel builds, particularly incremental ones.
llvm-svn: 48402
|