]> granicus.if.org Git - clang/commit
Be more careful when checking initializer lists that involve reference
authorDouglas Gregor <dgregor@apple.com>
Tue, 9 Feb 2010 00:50:06 +0000 (00:50 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 9 Feb 2010 00:50:06 +0000 (00:50 +0000)
commit2c79281ef66cb5001f0ebadf6b317250c21a1c01
tree665f9c90214f7ef16ef9e3b57cd87049281731fc
parentde09096a9ee7f670dc74c6a5b7771953ffaf5c62
Be more careful when checking initializer lists that involve reference
types; we don't want to give an expression reference type. Fixes PR6177.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaInit.cpp
test/SemaCXX/decl-init-ref.cpp