commit | c1da204c433459713cbf4c62f0addf458e6b4b9f | [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 | af8b251973ba78d9350bee23c5e70353a105b431 | |
parent | cbd323ad5259dc2bd3428a4ac26718b10adcd3cf [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119933 91177308-0d34-0410-b5e6-96231b3b80d8