llvm-project/clang/test
David Majnemer e64941fa60 Sema: Check value dependent casts when possible
We know that const_cast<char *>((void)Something) is ill-formed, even if
'Something' is dependent because you can't cast from void to a pointer
type.

This fixes PR21845.

llvm-svn: 224299
2014-12-16 00:46:30 +00:00
..
ARCMT Objective-C SDK modernizer. When modernizing an enum to 2014-12-10 18:25:24 +00:00
ASTMerge
Analysis [Sema]. Warn when logical expression is a pointer 2014-11-14 17:12:50 +00:00
CXX Diagnose function template definitions inside functions 2014-12-15 23:16:32 +00:00
CodeCompletion
CodeGen Update this testcase for the new metadata assembler syntax. 2014-12-15 19:25:33 +00:00
CodeGenCUDA IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
CodeGenCXX IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
CodeGenObjC IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
CodeGenObjCXX Have the driver and the target code agree on what the default ABI 2014-12-05 01:06:59 +00:00
CodeGenOpenCL IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
Coverage clang/test/Coverage/html-diagnostics.c: Use find(1) to avoid globbing. 2014-11-04 13:05:10 +00:00
CoverageMapping InstrProf: Don't emit coverage for uninstantiated templates 2014-11-18 00:34:46 +00:00
Driver IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
FixIt Wire up delayed typo correction to DiagnoseEmptyLookup and set up 2014-11-20 22:06:40 +00:00
Format Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Frontend Don't actually generate code for testing the frontend's target cpu flag, 2014-12-09 15:52:55 +00:00
Headers [PowerPC] Add VSX builtins for vec_div 2014-11-14 12:10:51 +00:00
Index clang/test/Index/usrs.cpp: Appease targeting msvc. 2014-12-08 10:20:33 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout Test case B: fixed check rule 2014-10-21 08:16:42 +00:00
Lexer MSVC: A wide string literal from L#macro_arg in a macro 2014-12-15 04:18:11 +00:00
Misc ASTDumper: print whether a function is constexpr 2014-12-05 22:38:57 +00:00
Modules IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
OpenMP IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
PCH Do not warn on keyword undef 2014-12-12 06:37:55 +00:00
Parser Diagnose function template definitions inside functions 2014-12-15 23:16:32 +00:00
Preprocessor Preprocessor: Recover instead of mutating a token in ExpandBuiltinMacro 2014-12-15 09:03:58 +00:00
Profile IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
Rewriter Objective-C modern rewriter. Patch to fix a rewriting bug 2014-10-28 23:46:58 +00:00
Sema Sema: Cleanup and improve string-plus-char checking. 2014-12-15 20:22:33 +00:00
SemaCUDA Workaround attribute ordering issue with kernel only attributes 2014-12-05 18:03:58 +00:00
SemaCXX Sema: Check value dependent casts when possible 2014-12-16 00:46:30 +00:00
SemaObjC [Objective-C]. This patch extends objc_bridge attribute to support objc_bridge(id). 2014-12-11 22:56:26 +00:00
SemaObjCXX Allow @synchronized to contextually convert a C++ object to an ObjC object pointer. 2014-08-12 16:20:36 +00:00
SemaOpenCL Workaround attribute ordering issue with kernel only attributes 2014-12-05 18:03:58 +00:00
SemaTemplate If a non-template constructor instantiated to X(X), 2014-12-14 01:46:53 +00:00
TableGen
Tooling Remove "REQUIRES:shell" from tests. They work for me. 2014-11-04 13:41:33 +00:00
Unit Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. 2014-07-04 05:11:55 +00:00
VFS IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
.clang-format
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Fix makefile for debuginfo-tests execution. 2014-10-17 23:50:47 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg Remove local handling of ASAN_OPTIONS and UBSAN_OPTIONS. 2014-11-03 23:09:25 +00:00
lit.site.cfg.in Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
make_test_dirs.pl