hanchenye-llvm-project/clang/test
Ted Kremenek 1e809b4c4c [analyzer] Implement basic path diagnostic pruning based on "interesting" symbols and regions.
Essentially, a bug centers around a story for various symbols and regions.  We should only include
the path diagnostic events that relate to those symbols and regions.

The pruning is done by associating a set of interesting symbols and regions with a BugReporter, which
can be modified at BugReport creation or by BugReporterVisitors.

This patch reduces the diagnostics emitted in several of our test cases.  I've vetted these as
having desired behavior.  The only regression is a missing null check diagnostic for the return
value of realloc() in test/Analysis/malloc-plist.c.  This will require some investigation to fix,
and I have added a FIXME to the test case.

llvm-svn: 152361
2012-03-09 01:13:14 +00:00
..
ARCMT [objcmt] Add a triple to test/ARCMT/objcmt-subscripting-literals.m 2012-03-06 22:03:39 +00:00
ASTMerge Improve location fidelity of objc decls. 2011-10-04 04:48:02 +00:00
Analysis [analyzer] Implement basic path diagnostic pruning based on "interesting" symbols and regions. 2012-03-09 01:13:14 +00:00
CXX Remove a test FIXME for a case which is already fixed. 2012-03-08 23:08:29 +00:00
CodeCompletion Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
CodeGen [driver] What was implemented in r152130 was actually -fno-inline-functions, not 2012-03-06 21:17:19 +00:00
CodeGenCUDA CUDA: IR generation support for device stubs 2011-10-06 18:51:56 +00:00
CodeGenCXX Also test pr12104 with pch. 2012-03-08 15:07:42 +00:00
CodeGenObjC Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
CodeGenObjCXX Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
CodeGenOpenCL A few style changes. 2012-01-19 01:16:16 +00:00
Coverage rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Driver Implement -fno-dwarf2-cfi-asm on linux too. 2012-03-08 14:39:55 +00:00
FixIt Fix a couple of issues with literal-operator-id parsing, and provide recovery 2012-03-08 23:06:02 +00:00
Frontend Remove the unuseful -fdiagnostics-show-name 2012-02-15 19:45:34 +00:00
Headers rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Index [libclang] Fix a crash when serializing a preprocessing record that contains 2012-03-08 01:08:28 +00:00
Lexer When checking the encoding of an 8-bit string literal, don't just check the 2012-03-08 21:59:28 +00:00
Misc Move int<->pointer conversion warnings behind -Wint-conversions. 2012-03-02 20:23:08 +00:00
Modules Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules, 2012-03-01 22:07:04 +00:00
PCH AST representation for user-defined literals, plus just enough of semantic 2012-03-07 08:35:16 +00:00
Parser Fix a couple of issues with literal-operator-id parsing, and provide recovery 2012-03-08 23:06:02 +00:00
Preprocessor Adding support for #pragma include_alias in MS compatibility mode. This implements PR 10705. 2012-03-02 22:51:54 +00:00
Rewriter objective-c modern translator. Don't ignore unnamed bitfields 2012-03-06 17:16:27 +00:00
Sema Undo patch for // rdar://10735698 2012-03-06 18:41:35 +00:00
SemaCUDA CUDA: diagnose invalid calls across targets 2011-10-02 23:49:40 +00:00
SemaCXX Turn explicit construction of temporaries using initializer list syntax into CXXTemporaryObjectExprs, not just CXXConstructExprs, which have a worrying tendency to vanish. Fixes PR12167. 2012-03-08 21:05:45 +00:00
SemaObjC Don't crash when a statement in a block is ill-formed but 2012-03-08 22:00:17 +00:00
SemaObjCXX Add clang support for new Objective-C literal syntax for NSDictionary, NSArray, 2012-03-06 20:05:56 +00:00
SemaOpenCL Support constant evaluation for OpenCL nested vector literals. Patch by Anton Lokhmotov. 2012-01-03 23:24:20 +00:00
SemaTemplate Correct test from r152189. 2012-03-07 01:13:38 +00:00
Unit
CMakeLists.txt CMake: Promote the testing targets out of folders on IDE. 2012-01-30 03:15:47 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg Have the driver pass CPU and target feature information to cc1as. 2012-02-10 20:37:10 +00:00
lit.site.cfg.in
make_test_dirs.pl