hanchenye-llvm-project/clang/test
Jordan Rose cc0b1bfa56 [analyzer] Ensure that PathDiagnostics profile the same regardless of path.
PathDiagnostics are actually profiled and uniqued independently of the
path on which the bug occurred. This is used to merge diagnostics that
refer to the same issue along different paths, as well as by the plist
diagnostics to reference files created by the HTML diagnostics.

However, there are two problems with the current implementation:

1) The bug description is included in the profile, but some
   PathDiagnosticConsumers prefer abbreviated descriptions and some
   prefer verbose descriptions. Fixed by including both descriptions in
   the PathDiagnostic objects and always using the verbose one in the profile.

2) The "minimal" path generation scheme provides extra information about
   which events came from macros that the "extensive" scheme does not.
   This resulted not only in different locations for the plist and HTML
   diagnostics, but also in diagnostics being uniqued in the plist output
   but not in the HTML output. Fixed by storing the "end path" location
   explicitly in the PathDiagnostic object, rather than trying to find the
   last piece of the path when the diagnostic is requested.

This should hopefully finish unsticking our internal buildbot.

llvm-svn: 162965
2012-08-31 00:36:26 +00:00
..
ARCMT Update VerifyDiagnosticConsumer to only get directives during parsing. 2012-08-10 01:06:16 +00:00
ASTMerge Update VerifyDiagnosticConsumer to only get directives during parsing. 2012-08-10 01:06:16 +00:00
Analysis [analyzer] Ensure that PathDiagnostics profile the same regardless of path. 2012-08-31 00:36:26 +00:00
CXX When computing the effective context for access control, 2012-08-24 22:54:02 +00:00
CodeCompletion Make the spacing of the code completion result for NSDictionary 2012-08-17 05:40:05 +00:00
CodeGen Fix test case for Release builds. 2012-08-28 22:22:54 +00:00
CodeGenCUDA CUDA: give static storage class to __shared__ and __constant__ 2012-08-28 20:37:50 +00:00
CodeGenCXX Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
CodeGenObjC Fix PR reference in test. 2012-08-29 21:27:50 +00:00
CodeGenObjCXX When performing a trivial copy of a C++ type, we must be careful not 2012-08-21 04:10:00 +00:00
CodeGenOpenCL Remove names from the CHECK lines. 2012-08-16 00:22:16 +00:00
Coverage Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GNUstep 2012-07-03 20:49:52 +00:00
Driver Cleanup FreeBSD linking and add support for -pie. 2012-08-28 15:09:03 +00:00
FixIt Improvements to vexing-parse warnings. Make the no-parameters case more 2012-07-30 21:30:52 +00:00
Frontend Update VerifyDiagnosticConsumer to only get directives during parsing. 2012-08-10 01:06:16 +00:00
Headers Remove the 'intrin.h' builtin header file and its tests for now. 2012-05-07 20:46:58 +00:00
Index Reland r160052: Default to -std=c++11 on Windows. 2012-08-30 02:08:31 +00:00
Lexer Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
Misc Splitting the duplicated decl spec extension warning into two: one is an ExtWarn and the other a vanilla warning. This addresses PR13705, where const char const * wouldn't warn unless -pedantic was specified under the right conditions. 2012-08-28 20:55:40 +00:00
Modules When disambiguating an expression-statement from a declaraton-statement, if the 2012-08-23 20:19:14 +00:00
PCH test/PCH/objc_stmts.m: Suppress stderr to be fed to FileCheck. 2012-07-25 11:14:11 +00:00
Parser Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
Preprocessor Make preprocessor act in a GCC-compatible fashion when a macro is redefined 2012-08-30 13:38:46 +00:00
Rewriter Modern objc translator: Fixes a crash in rewriter when rewriting the API 2012-08-21 18:56:50 +00:00
Sema Add -Wduplicate-enum warning. Clang will emit this warning when an implicitly 2012-08-30 20:32:24 +00:00
SemaCUDA
SemaCXX Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
SemaObjC objective-C ARC: under -Wexplicit-ownership-type diagnose those 2012-08-30 23:56:02 +00:00
SemaObjCXX objective-C ARC: under -Wexplicit-ownership-type diagnose those 2012-08-30 23:56:02 +00:00
SemaOpenCL Disable the warning for missing prototypes for OpenCL kernels. Includes testcase. 2012-07-26 00:08:28 +00:00
SemaTemplate Reland r160052: Default to -std=c++11 on Windows. 2012-08-30 02:08:31 +00:00
Tooling Fixed crash and added a test and a minor output problem 2012-08-17 17:38:39 +00:00
Unit
CMakeLists.txt Removed standalone clang-ast-dump tool. 2012-07-26 01:44:18 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg libclang API for comment-to-xml conversion. 2012-08-07 17:54:38 +00:00
lit.site.cfg.in
make_test_dirs.pl