Skip to content
Commit 6ce03808 authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent 526cce12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment