hanchenye-llvm-project/clang/test
Jordan Rose 434f132060 [analyzer] For now, treat pointers-to-members as non-null void * symbols.
Until we have full support for pointers-to-members, we can at least
approximate some of their use by tracking null and non-null values.
We thus treat &A::m_ptr as a non-null void * symbol, and MemberPointer(0)
as a pointer-sized null constant.

This enables support for what is sometimes called the "safe bool" idiom,
demonstrated in the test case.

llvm-svn: 162495
2012-08-23 23:01:43 +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] For now, treat pointers-to-members as non-null void * symbols. 2012-08-23 23:01:43 +00:00
CXX When disambiguating an expression-statement from a declaraton-statement, if the 2012-08-23 20:19:14 +00:00
CodeCompletion Make the spacing of the code completion result for NSDictionary 2012-08-17 05:40:05 +00:00
CodeGen Use the alignment from lvalue emission to more accurately compute the alignment 2012-08-23 03:10:17 +00:00
CodeGenCUDA Replace PTX back-end with NVPTX back-end in all places where Clang cares 2012-05-24 17:43:12 +00:00
CodeGenCXX When mangling a negative number, remember that negating it does not 2012-08-18 04:51:52 +00:00
CodeGenObjC Fix a pair of bugs relating to properties in ARC. 2012-08-20 23:36:59 +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 [driver] Add support for the --param ssp-buffer-size= driver option. 2012-08-21 16:16:06 +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 [libclang] c-index-test: Make the printing of the overrides list of a cursor in 2012-08-22 23:15:52 +00:00
Lexer Allow -verify directives to be filtered by preprocessing. 2012-07-11 19:58:23 +00:00
Misc Fix horrible regression in control of warnings caused by introduction of -Wpedantic. 2012-08-10 20:50:00 +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 When disambiguating an expression-statement from a declaraton-statement, if the 2012-08-23 20:19:14 +00:00
Preprocessor c: small refactoring of checking for __attribute__(const)) 2012-08-13 21:15:02 +00:00
Rewriter Modern objc translator: Fixes a crash in rewriter when rewriting the API 2012-08-21 18:56:50 +00:00
Sema Comment parsing: parse "<blah" as an HTML tag only if "blah" is a known tag 2012-08-22 22:56:08 +00:00
SemaCUDA
SemaCXX Merge existing attributes before processing pragmas in friend template 2012-08-22 14:52:14 +00:00
SemaObjC make test pass on linux platforms. 2012-08-21 22:21:43 +00:00
SemaObjCXX When disambiguating an expression-statement from a declaraton-statement, if the 2012-08-23 20:19:14 +00:00
SemaOpenCL Disable the warning for missing prototypes for OpenCL kernels. Includes testcase. 2012-07-26 00:08:28 +00:00
SemaTemplate PR41111, PR5925, PR13210: Teach tentative parsing to annotate identifiers and 2012-08-18 00:55:03 +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