Files
ldc/dmd2
David Nadlinger 3ec084da59 Return undef instead of null on toConstElem failure.
This fixes a segfault with associative array literals of
arrays of associative array literals, which occured because
of arrayLiteralToConst not handling null values properly.
Ensuring that null pointers are handled correctly in all
toConstElem callers is much more error-prone than just
returning an LLVM undef, an error is emitted anyway.

The root of the problem is actually in the kludgly
implementation of AssocArrayLiteral::toElem, we should
revisit this at some point.
2013-12-27 18:35:50 +01:00
..
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-06-12 20:16:37 +02:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2012-04-05 15:30:00 +04:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-01-04 06:22:53 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2012-09-07 03:51:31 +02:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-03-06 18:18:56 +01:00
2013-03-06 18:18:56 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-06-12 20:16:37 +02:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-30 21:52:45 +01:00
2013-10-30 21:52:45 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-01-04 06:22:53 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-03-06 18:18:56 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-01-04 06:22:53 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-30 21:52:45 +01:00
2013-10-30 21:52:45 +01:00
2013-12-06 09:20:22 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-11-04 00:02:41 +01:00
2013-10-29 19:21:15 +01:00
2013-06-15 15:06:57 +02:00
2013-06-12 20:16:37 +02:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00
2012-09-07 03:51:31 +02:00
2013-06-12 20:16:37 +02:00
2013-06-12 20:16:37 +02:00
2013-10-29 19:21:15 +01:00
2013-10-29 19:21:15 +01:00

		The D Programming Language
		Compiler Front End Source
		Copyright (c) 1999-2013, by Digital Mars
		http://www.digitalmars.com/
		All Rights Reserved


This is the source code to the front end Digital Mars D compiler.
It covers the lexical analysis, parsing, and semantic analysis
of the D Programming Language defined in the documents at
http://dlang.org/

These sources are free, they are redistributable and modifiable
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option)
any later version (attached as gpl.txt),
or the Artistic License (attached as artistic.txt).

The optimizer and code generator sources are 
covered under a separate license, backendlicense.txt.

It does not apply to anything else distributed by Digital Mars,
including D compiler executables.

-Walter Bright