Fix the CodeGen half of PR5911 by changing reference initialization to
correctly look through arrays to see cv-qualifiers. Also enhances the routine
for doing this to preserve more type sugaring for diagnostics.

llvm-svn: 93252
4 files changed
tree: 188b018c7b7930baf5101d51a920c805299ac939
  1. clang/
  2. compiler-rt/
  3. llvm/