llvm-project/clang/test
Jordan Rose 5bc0dd79e1 [analyzer] Don't assert when mixing reinterpret_cast and derived-to-base casts.
This just adds a very simple check that if a DerivedToBase CastExpr is
operating on a value with known C++ object type, and that type is not the
base type specified in the AST, then the cast is invalid and we should
return UnknownVal.

In the future, perhaps we can have a checker that specifies that this is
illegal, but we still shouldn't assert even if the user turns that checker
off.

PR14872

llvm-svn: 175239
2013-02-15 01:23:24 +00:00
..
ARCMT [arcmt] Make sure the function has an associated parameter for the argument 2013-02-14 17:29:16 +00:00
ASTMerge Fix code that attempted to produce a diagnostic with one DiagnosticEngine, then 2012-12-20 02:22:15 +00:00
Analysis [analyzer] Don't assert when mixing reinterpret_cast and derived-to-base casts. 2013-02-15 01:23:24 +00:00
CXX Add a test for r174980, that we used to accept 2013-02-12 20:43:41 +00:00
CodeCompletion PR14381: Never skip constexpr function bodies when code-completing. We may need 2012-11-19 21:13:18 +00:00
CodeGen [ms-inline asm] Add test case for r175083. 2013-02-13 21:34:54 +00:00
CodeGenCUDA CUDA: give static storage class to __shared__ and __constant__ 2012-08-28 20:37:50 +00:00
CodeGenCXX Mangle extern "C" functions whose names are not simple identifiers. 2013-02-14 15:38:59 +00:00
CodeGenObjC Make this test determinstic for my last patch. 2013-02-14 22:38:41 +00:00
CodeGenObjCXX Added test for r174461 that checks that the desired behavior also occurs in ObjC++ alongside ObjC. 2013-02-06 00:14:48 +00:00
CodeGenOpenCL Use the target address space value when mangling names. 2013-02-08 01:07:32 +00:00
Coverage Revert r166541, "clang/test: Add appropriate requirements as REQUIRES, corresponding to r166532." 2012-10-24 03:59:09 +00:00
Driver Use -mno-implicit-float by default for kernel/kext code. <rdar://13177960> 2013-02-10 16:01:41 +00:00
FixIt objc: Provide correct fixit instruction when two mismatched 2013-02-01 20:04:49 +00:00
Frontend [driver] Warnings for warning options are handled by the frontend. The driver needs to process the 2013-01-15 01:21:53 +00:00
Headers Reinstate r173952, this time limiting it to exactly the form 2013-01-30 23:10:17 +00:00
Index [libclang] Fix annotation of a range where the begin or end location 2013-02-13 18:33:28 +00:00
Lexer Lexer: Don't warn about Unicode in preprocessor directives. 2013-01-31 19:48:48 +00:00
Misc StmtPrinter: Write large char values using \u or \U. 2013-02-08 22:30:27 +00:00
Modules Change this comment to helpfully explain why it's there. 2013-02-13 03:34:21 +00:00
OpenMP Add initial rough support for synthesizing linker options when passed 2013-01-17 13:19:29 +00:00
PCH Add OpenCL samplers as Clang builtin types and check sampler related restrictions. 2013-02-07 10:55:47 +00:00
Parser PR15132: Replace "address expression must be an lvalue or a function 2013-02-02 02:14:45 +00:00
Preprocessor FileCheck'ize tests 2013-02-09 16:41:47 +00:00
Rewriter objective-C modern translator: Fixes a mistranslation 2013-02-11 19:30:33 +00:00
Sema The meat of this patch is in BuildCXXMemberCalLExpr where we make it use 2013-02-12 08:08:54 +00:00
SemaCUDA
SemaCXX Partially revert r175117 so that we don't break assumptions about how 2013-02-14 03:31:26 +00:00
SemaObjC objective-C: When implementing custom accessor method for 2013-02-14 19:07:19 +00:00
SemaObjCXX One can override an Objective-C ARC ownership qualifier that came from 2013-01-17 23:59:28 +00:00
SemaOpenCL Diagnose loads of 'half' l-values in OpenCL. 2013-02-12 01:29:43 +00:00
SemaTemplate PR15132: Replace "address expression must be an lvalue or a function 2013-02-02 02:14:45 +00:00
TableGen Revert "tg-fixits.td: fixup for Linux" 2013-01-11 02:37:47 +00:00
Tooling Add indents to AST dumping and removed parenthesis from AST nodes. 2013-01-31 01:44:26 +00:00
Unit
CMakeLists.txt CMake: Include Clang unit tests in check-clang target in standalone builds. 2013-02-08 07:28:25 +00:00
Makefile
TestRunner.sh
cxx-sections.data
lit.cfg clang/test/Driver/darwin-sdkroot.c: Suppress this on msys bash, to introduce the feature "shell-preserves-root". 2013-01-16 06:10:16 +00:00
lit.site.cfg.in
make_test_dirs.pl