| commit | 6ce038082b3424fdc9b801e8f90abfd8ffb7a3c3 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Sun Nov 21 08:39:01 2010 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Sun Nov 21 08:39:01 2010 +0000 |
| tree | d5b156b3456510da0b23ca570c2c28a8b604d3cb | |
| parent | 526cce12f5db34b920a538cde872186a106a7d74 [diff] |
apply Dan's fix for PR8268 which allows constant folding to handle indexes over
zero sized elements. This allows us to compile:
#include <string>
void foo() { std::string s; }
into an empty function.
llvm-svn: 119933