summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/BasicObjCFoundationChecks.h
Commit message (Collapse)AuthorAgeFilesLines
* Overhaul BugReporter interface and implementation. The new interface cleans upTed Kremenek2009-02-041-4/+7
| | | | | | | | | | | | | | | | | | | | | the ownership of BugTypes and BugReports. Now BugReports are owned by BugTypes, and BugTypes are owned by the BugReporter object. The major functionality change in this patch is that reports are not immediately emitted by a call to BugReporter::EmitWarning (now called EmitReport), but instead of queued up in report "equivalence classes". When BugReporter::FlushReports() is called, it emits one diagnostic per report equivalence class. This provides a nice cleanup with the caching of reports as well as enables the BugReporter engine to select the "best" path for reporting a path-sensitive bug based on all the locations in the ExplodedGraph that the same bug could occur. Along with this patch, Leaks are now coalesced into a common equivalence class by their allocation site, and the "summary" diagnostic for leaks now reports the allocation site as the location of the bug (this may later be augmented to also provide an example location where the leak occurs). llvm-svn: 63796
* Change implementation of NSError** coding-style check to be invoked at the ↵Ted Kremenek2008-09-181-2/+4
| | | | | | end of the retain/release analysis. llvm-svn: 56312
* Rename ValueState -> GRState.Ted Kremenek2008-08-131-4/+4
| | | | | | Rename ValueStateManager -> GRStateManager. llvm-svn: 54721
* Remove unused class AnnotatedPath.Ted Kremenek2008-07-101-1/+0
| | | | llvm-svn: 53413
* Added a simple static analysis check to look for improper uses of ↵Ted Kremenek2008-06-261-0/+4
| | | | | | CFCreateNumber. llvm-svn: 52799
* Add creation of BasicObjCFoundationChecks when running GRSimpleVals from the ↵Ted Kremenek2008-03-271-0/+39
driver. llvm-svn: 48886
OpenPOWER on IntegriCloud