Creating release candidate rc3 from release_31 branch

llvm-svn: 156403
llvm-svn: 156400
llvm-svn: 156399
Merging r155803:
------------------------------------------------------------------------
r155803 | rsmith | 2012-04-29 17:16:51 -0700 (Sun, 29 Apr 2012) | 8 lines

PR11926 + duplicates: Fix crash in -Wuninitialized when using a compiler like
g++4.7, which reuses stack space allocated for temporaries. CFGElement::getAs
returns a suitably-cast version of 'this'. Patch by Markus Trippelsdorf!

No test: this code has the same observable behavior as the old code when built
with most compilers, and the tests were already failing when built with a
compiler for which this produced a broken binary.

------------------------------------------------------------------------

llvm-svn: 156394
1 file changed
tree: 90f06b9d2c156bffc8b13842ff672c9abf84295e
  1. clang/
  2. compiler-rt/
  3. llvm/