hanchenye-llvm-project/clang/test
Ted Kremenek fc5d067ea0 Overhaul BugReporter interface and implementation. The new interface cleans up
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
2009-02-04 23:49:09 +00:00
..
Analysis Overhaul BugReporter interface and implementation. The new interface cleans up 2009-02-04 23:49:09 +00:00
CodeGen Test case for -femit-all-decls. 2009-02-04 21:20:25 +00:00
CodeGenCXX make ScalarExprEmitter::EmitCompare() emit the expression with the correct type instead of always zext it to an int 2009-01-11 23:22:37 +00:00
CodeGenObjC Use -fnext-runtime for this test. 2009-02-04 00:03:15 +00:00
Coverage Handle demotion of coerced arguments (as in void a(x) short x; { ... }). 2009-02-04 07:22:24 +00:00
Driver avoid creating tmp files elsewhere 2009-02-02 15:33:56 +00:00
Lexer Fix PR2477 - clang misparses "//*" in C89 mode 2009-01-16 22:39:25 +00:00
Misc fix bogus run line. 2008-08-18 19:54:48 +00:00
Parser Basic representation of C++ class templates, from Andrew Sutton. 2009-02-04 19:02:06 +00:00
Preprocessor smaller header. 2009-02-04 19:47:38 +00:00
Rewriter Fix <rdar://problem/6465284> clang ObjC rewriter: objc_super messed up again. 2008-12-23 20:11:22 +00:00
Sema Implement semantic analysis for the GNU flexible array initialization 2009-02-04 22:46:25 +00:00
SemaCXX Implement semantic analysis for the GNU flexible array initialization 2009-02-04 22:46:25 +00:00
SemaObjC Fix <rdar://problem/6552648> error: redefinition of 'XCElementAnchorDelegate' as different kind of symbol. 2009-02-04 17:14:05 +00:00
SemaObjCXX Initial implementation of argument dependent lookup (a.k.a. ADL, 2009-02-04 00:32:51 +00:00
Serialization true is pass, false is success. 2009-02-03 07:28:12 +00:00
Makefile Add test case for __ASSEMBLER__ definition. 2008-12-01 19:23:47 +00:00
TestRunner.sh Test commit. 2008-10-15 00:26:06 +00:00