llvm-project/clang/test
Richard Smith 49a6b6e91e Fix handling of initialization from parenthesized initializer list.
This change fixes a crash on initialization of a reference from ({}) during
template instantiation and incidentally improves diagnostics.

This reverts a prior attempt to handle this in r286721. Instead, we teach the
initialization code that initialization cannot be performed if a source type
is required and the initializer is an initializer list (which is not an
expression and does not have a type), and likewise for function-style cast
expressions.

llvm-svn: 298676
2017-03-24 01:14:25 +00:00
..
ARCMT [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
ASTMerge [ASTImporter] Import fix of GCCAsmStmts w/ missing symbolic operands 2017-03-13 15:32:24 +00:00
Analysis [analyzer] Fix a rare crash for valist check. 2017-03-13 12:48:26 +00:00
CXX Correct class-template deprecation behavior-REDUX 2017-03-23 18:51:54 +00:00
CodeCompletion [Preprocessor] Fix incorrect token caching that occurs when lexing _Pragma 2017-02-24 17:45:16 +00:00
CodeGen Update the SamplePGO test to verify that unroll/icp is not invoked in thinlto compile phase. 2017-03-23 21:20:17 +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 IRGen: Do not set dllexport on declarations. 2017-03-21 02:02:41 +00:00
CodeGenCoroutines [coroutines] Build and pass coroutine_handle to await_suspend 2017-03-09 03:09:43 +00:00
CodeGenObjC [CodeGen] Emit a CoreFoundation link guard when @available is used 2017-03-23 11:14:27 +00:00
CodeGenObjCXX Represent pass_object_size attrs in ExtParameterInfo 2017-02-24 02:49:47 +00:00
CodeGenOpenCL Fix array sizes where address space is not yet known 2017-03-21 18:55:39 +00:00
Coverage Handle StaticAssertDecl in DeclContextPrinter 2017-01-03 12:16:02 +00:00
CoverageMapping Suppress uninteresting warnings in test/CoverageMapping, NFC. 2017-02-25 07:05:41 +00:00
Driver Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +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/test/Format/inplace.cpp: Avoid using wildcard. 2017-02-28 10:05:56 +00:00
Frontend Add -iframeworkwithsysroot compiler option 2017-03-13 11:17:41 +00:00
Headers Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
Import Testbed and skeleton of a new expression parser 2016-12-22 20:03:14 +00:00
Index [index] When indexing system headers make sure to report important reference relations 2017-03-23 16:34:47 +00:00
Integration
Layout Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
Lexer [c++1z] Mark constexpr lambdas as done on status page and start advertising 2017-02-21 23:58:29 +00:00
Misc Disable warning about MSVC not found. 2017-03-15 16:35:13 +00:00
Modules [Modules] Find PrivateHeaders when looking into subframeworks 2017-03-21 16:43:51 +00:00
OpenMP [test] Unbreak OpenMP/linking.c with arch-specific libdir 2017-03-08 09:07:33 +00:00
PCH [Serialization] Serialize DependentSizedExtVectorType 2017-03-22 10:04:48 +00:00
Parser Remove the -faltivec alias option and replace it with -maltivec everywhere. 2017-03-21 22:06:18 +00:00
Preprocessor Turn on HTM on power8 and later (including powerpc64le) since it's 2017-03-20 21:12:53 +00:00
Profile Weaken test/Profile/c-ternary.c 2017-02-25 07:21:23 +00:00
Rewriter [test] Port clang tests to canonicalized booleans 2017-01-25 13:11:45 +00:00
Sema Correct class-template deprecation behavior-REDUX 2017-03-23 18:51:54 +00:00
SemaCUDA [CUDA] Let NVPTX inherit the host's calling conventions. 2017-01-05 16:53:38 +00:00
SemaCXX Fix handling of initialization from parenthesized initializer list. 2017-03-24 01:14:25 +00:00
SemaObjC Correct class-template deprecation behavior-REDUX 2017-03-23 18:51:54 +00:00
SemaObjCXX Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +00:00
SemaOpenCL [OpenCL] Added diagnostic for checking length of vector 2017-03-21 13:20:57 +00:00
SemaTemplate Print nested name specifiers for typedefs and type aliases 2017-03-10 15:04:58 +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 [Driver] Add flag to request arch-specific-subdir in -rpath 2017-03-14 16:58:07 +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