llvm-project/clang/test
Richard Smith 3291877656 [c++1z] Synthesize implicit deduction guides from constructors on demand. Rank
such guides below explicit ones, and ensure that references to the class's
template parameters are not treated as forwarding references.

We make a few tweaks to the wording in the current standard:
1) The constructor parameter list is copied faithfully to the deduction guide,
   without losing default arguments or a varargs ellipsis (which the standard
   wording loses by omission).
2) If the class template declares no constructors, we add a T() -> T<...> guide
   (which will only ever work if T has default arguments for all non-pack
   template parameters).
3) If the class template declares nothing that looks like a copy or move
   constructor, we add a T(T<...>) -> T<...> guide.
#2 and #3 follow from the "pretend we had a class type with these constructors"
philosophy for deduction guides.

llvm-svn: 295007
2017-02-14 00:25:28 +00:00
..
ARCMT [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
ASTMerge ASTImporter: fix tests on Windows with removing slashed parts of paths 2017-01-23 10:39:45 +00:00
Analysis [analyzer] Fix an assertion fail in CStringSyntaxChecker. 2017-02-02 08:20:54 +00:00
CXX [c++1z] Synthesize implicit deduction guides from constructors on demand. Rank 2017-02-14 00:25:28 +00:00
CodeCompletion [CodeCompletion] Code complete the '__auto_type' keyword 2017-02-13 23:35:59 +00:00
CodeGen [AVR] Fix __AVR_xxx macro definitions; authored by Peter Wu 2017-02-11 21:06:07 +00:00
CodeGenCUDA [CodeGen] [CUDA] Add the ability set default attrs on functions in linked modules. 2017-01-25 21:29:48 +00:00
CodeGenCXX When the new expr's array size is an ICE, emit it as a constant expression. 2017-02-13 23:49:55 +00:00
CodeGenCoroutines [coroutines] Add allocation and deallocation substatements. 2016-10-27 16:28:31 +00:00
CodeGenObjC CodeGen: annotate ObjC ARC functions with ABI constraints 2017-02-11 21:34:18 +00:00
CodeGenObjCXX [test] Make Lit tests C++11 Compatible - Objective-C++ 2017-02-13 23:09:56 +00:00
CodeGenOpenCL AMDGPU: Add a test checking alignments of emitted globals/allocas 2017-02-07 04:28:02 +00:00
Coverage Handle StaticAssertDecl in DeclContextPrinter 2017-01-03 12:16:02 +00:00
CoverageMapping [Coverage] Support for C++17 if initializers 2016-10-14 23:38:16 +00:00
Driver Update XFAIL line after r294781. 2017-02-11 02:00:03 +00:00
FixIt [Sema] Improve the error diagnostic for dot destructor calls on pointer objects 2017-01-20 15:38:58 +00:00
Format clang-format: remove tests that assume no config file will be found as this is not always the case 2017-01-23 13:20:23 +00:00
Frontend Adjust tests after folding inlining analysis into missed remarks 2017-01-30 16:22:50 +00:00
Headers [OpenCL] Diagnose write_only image3d when extension is disabled 2017-01-25 12:18:50 +00:00
Import Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
Index [Test] Make Lit tests C++11 compatible - nounwind noexcept 2017-02-13 17:56:30 +00:00
Integration
Layout
Lexer P0426: Make the library implementation of constexpr char_traits a little easier 2017-01-20 00:45:35 +00:00
Misc PR31469: Don't add friend template class decls to redecl chain in dependent contexts. 2017-01-12 09:16:26 +00:00
Modules Initialize builtins during modular codegen 2017-02-08 20:51:11 +00:00
OpenMP [CodeGen] Treat auto-generated __dso_handle symbol as HiddenVisibility 2017-02-13 18:49:21 +00:00
PCH Serialize the UsesSEH bit on FunctionDecl 2017-01-10 21:27:03 +00:00
Parser [c++1z] Synthesize implicit deduction guides from constructors on demand. Rank 2017-02-14 00:25:28 +00:00
Preprocessor Add support for armv7ve flag in clang (PR31358). 2017-02-09 23:30:10 +00:00
Profile Fix two test cases I missed updating in r291850. Sorry for the noise. 2017-01-12 22:48:28 +00:00
Rewriter [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Sema Revert r294910 and recommit r294861 and r294862 with a target triple to hopefully appease the bots. 2017-02-12 19:24:47 +00:00
SemaCUDA [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
SemaCXX [Test] Make Lit tests C++11 compatible - printf format string 2017-02-13 18:57:06 +00:00
SemaObjC [Sema][ObjC] Don't pass a DeclRefExpr that doesn't reference a VarDecl 2017-02-01 20:22:26 +00:00
SemaObjCXX [test] Make Lit tests C++11 Compatible - Objective-C++ 2017-02-13 23:09:56 +00:00
SemaOpenCL [OpenCL] Accept logical NOT for pointer types in CL1.1 2017-02-07 16:09:41 +00:00
SemaTemplate Diagnose attempts to explicitly instantiate a template at class scope. Previously Clang would simply ignore the 'template' keyword in this case. 2017-02-09 22:14:25 +00:00
TableGen
Tooling [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Unit [test] Extend llvm_shlib_dir fix to unittests 2016-12-15 20:31:08 +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 Re-apply r292662, "IRGen: Start using the WriteThinLTOBitcode pass." 2017-01-26 23:51:50 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
lit.site.cfg.in [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
make_test_dirs.pl