llvm-project/clang/lib
Faisal Vali 30622bb6a5 Fix PR20334: invalid assertion while diagnosing list initialization failure
https://llvm.org/bugs/show_bug.cgi?id=20334

Unfortunately, clang currently checks for a certain brokenness of implementations of std::initializer_list in CodeGen (void 
AggExprEmitter::VisitCXXStdInitializerListExpr), not in SemaInit.  Until that is fixed, make sure we don't let broken attempts that are aggregates leak through into sema, which allows maintenance of expected invariants, and avoids triggering an assertion.



 

llvm-svn: 254889
2015-12-07 02:37:44 +00:00
..
ARCMigrate Refactor: Simplify boolean conditional return statements in lib/ARCMigrate 2015-11-06 01:26:37 +00:00
AST Fix crash in ASTDumper when dumping NamedDecl with NULL getQualifier(). 2015-12-05 22:37:55 +00:00
ASTMatchers Add a narrowing AST matcher that matches on a FunctionDecl with a non-throwing exception specification. 2015-12-02 15:23:59 +00:00
Analysis Use range-based for loop to avoid the need for calculating an array size. NFC 2015-11-30 03:11:12 +00:00
Basic [WebAssembly] Remove an obsolete TODO comment. 2015-12-05 01:36:31 +00:00
CodeGen [PGO] Instrument only base constructors and destructors. 2015-12-06 14:32:39 +00:00
Driver Fix the clang driver when "-nostdlib" is present 2015-12-02 19:12:41 +00:00
Edit Replace double negation of !FileID.isInvalid() with FileID.isValid(). 2015-10-03 10:46:20 +00:00
Format clang-format: Make it possible to turn off comment reflowing. 2015-12-01 13:28:53 +00:00
Frontend [modules] Refactor handling of -fmodules-embed-*. Track this properly rather 2015-11-26 02:04:16 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers Move _mm256_cvtps_ph and _mm256_cvtph_ps to immintrin.h. 2015-12-02 18:41:52 +00:00
Index Roll-back r250822. 2015-10-20 13:23:58 +00:00
Lex [clang] Disable Unicode in asm files 2015-11-20 23:42:39 +00:00
Parse [OPENMP 4.5] Parsing/sema support for 'omp taskloop simd' directive. 2015-12-03 09:40:15 +00:00
Rewrite Roll-back r250822. 2015-10-20 13:23:58 +00:00
Sema Fix PR20334: invalid assertion while diagnosing list initialization failure 2015-12-07 02:37:44 +00:00
Serialization Use llvm::make_range to reduce mentions of iterator type. NFC 2015-12-06 05:07:12 +00:00
StaticAnalyzer Use llvm::make_range to reduce mentions of iterator type. NFC 2015-12-06 05:07:12 +00:00
Tooling Add fall-back mode for clang tools. 2015-12-03 10:38:53 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00