llvm-project/clang/test
Eric Fiselier 7ae80c6396 [Sema] Prevent using member declaration diagnostic if the base class is invalid.
Summary:
Once a base class has been made invalid (by a static_assert for example) all using-member declarations in the derived classes will result in a "not a base class" diagnostic. This diagnostic is very misleading and should not be emitted.

This change is needed to help libc++ produce reasonable diagnostics in `std::optional` and `std::variant`.  

Reviewers: rsmith, majnemer, aaron.ballman

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D25430

llvm-svn: 283755
2016-10-10 14:26:40 +00:00
..
ARCMT [test/objcmt] Add a follow-up test case for r275600. 2016-07-15 20:40:24 +00:00
ASTMerge ASTMerge: explicitly specify arch for GCCAsmStmt test to calm non-x86 buildbots 2016-09-28 11:04:42 +00:00
Analysis [analyzer] Re-apply r283094 "Improve CloneChecker diagnostics" 2016-10-08 10:54:30 +00:00
CXX Revert "P0035R4: Semantic analysis and code generation for C++17 overaligned allocation." 2016-10-10 14:13:55 +00:00
CodeCompletion Implement filtering for code completion of identifiers. 2016-07-27 14:56:59 +00:00
CodeGen Revert "[x86][inline-asm][clang] accept 'v' constraint" 2016-10-10 11:40:28 +00:00
CodeGenCUDA [CUDA] Rename cuda_builtin_vars.h to __clang_cuda_builtin_vars.h. 2016-10-08 22:16:08 +00:00
CodeGenCXX Revert "P0035R4: Semantic analysis and code generation for C++17 overaligned allocation." 2016-10-10 14:13:55 +00:00
CodeGenCoroutines [coroutines] Adding builtins for coroutine intrinsics and backendutil support. 2016-10-03 22:44:48 +00:00
CodeGenObjC Update clang test to accomendate discriminator change in https://reviews.llvm.org/D25132 2016-10-07 15:21:29 +00:00
CodeGenObjCXX Re-commit r282556, reverted in r282564, with a fix to CallArgList::addFrom to 2016-09-28 19:09:10 +00:00
CodeGenOpenCL [OpenCL] Fix bug in __builtin_astype causing invalid LLVM cast instructions 2016-10-03 14:41:50 +00:00
Coverage
CoverageMapping [Coverage] The coverage region for switch covers the code after the switch. 2016-09-27 23:30:36 +00:00
Driver [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
FixIt ObjC Class Property: diagnostics when accessing a class property using instance. 2016-06-28 23:01:49 +00:00
Format Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
Frontend CC1: Add -save-stats option 2016-09-26 18:53:34 +00:00
Headers Add some MS aliases for existing intrinsics 2016-09-14 21:19:43 +00:00
Index [index] Fix crash with indexing designated init expressions inside templates. 2016-08-03 05:38:53 +00:00
Integration
Layout [MS ABI] Implement __declspec(empty_bases) and __declspec(layout_version) 2016-05-23 17:16:12 +00:00
Lexer Mark aligned allocation as done. 2016-10-10 06:55:42 +00:00
Misc Put new warning in a diagnostic group. 2016-09-27 23:44:38 +00:00
Modules [modules] Be sure to emit local specializations of imported templates, even if 2016-10-06 20:30:51 +00:00
OpenMP [OpenMP] Check if the template specialization is mappable instead of specialized template Differential Revision: https://reviews.llvm.org/D25252 2016-10-06 15:47:36 +00:00
PCH [CUDA] Add #pragma clang force_cuda_host_device_{begin,end} pragmas. 2016-10-08 22:15:58 +00:00
Parser [CUDA] Add #pragma clang force_cuda_host_device_{begin,end} pragmas. 2016-10-08 22:15:58 +00:00
Preprocessor [ARM]: Add Cortex-R52 target 2016-10-07 12:08:41 +00:00
Profile [Profile] Enable profile merging with -fprofile-generat[=<dir>] 2016-07-22 22:25:01 +00:00
Rewriter
Sema [Sema] Fix PR30520: Handle incomplete field types in transparent_union unions 2016-10-06 09:47:29 +00:00
SemaCUDA [CUDA] Rename cuda_builtin_vars.h to __clang_cuda_builtin_vars.h. 2016-10-08 22:16:08 +00:00
SemaCXX [Sema] Prevent using member declaration diagnostic if the base class is invalid. 2016-10-10 14:26:40 +00:00
SemaObjC [SemaObjC] Be more strict while parsing type arguments and protocols 2016-09-13 20:04:35 +00:00
SemaObjCXX Sema: support __declspec(dll*) on ObjC interfaces 2016-07-15 20:41:10 +00:00
SemaOpenCL [AMDGPU] Expose flat work group size, register and wave control attributes 2016-09-26 01:02:57 +00:00
SemaTemplate P0127R2: Support type deduction for types of non-type template parameters in 2016-09-28 23:55:27 +00:00
TableGen
Tooling Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
VFS Don't diagnose non-modular includes when we are not compiling a module. 2016-08-26 17:16:46 +00:00
.clang-format
CMakeLists.txt Revert "[test] Add libLTO as a clang test dependency on Darwin" 2016-08-30 20:36:48 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
lit.site.cfg.in XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set 2016-09-29 07:43:08 +00:00
make_test_dirs.pl