]> granicus.if.org Git - clang/commit
initialization of references should not do default fn/array promotions.
authorChris Lattner <sabre@nondot.org>
Tue, 16 Oct 2007 02:55:40 +0000 (02:55 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Oct 2007 02:55:40 +0000 (02:55 +0000)
commit943140ee64e979325d25084bf4d768896601a7ce
treecca87efda803f9f22ac4547e10ee07692b70936e
parenta1fe1176a40861cc66797e424e5aa6a6d1035219
initialization of references should not do default fn/array promotions.
This fixes a bug Anders noticed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43024 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/SemaExpr.cpp
test/Sema/cxx-references.cpp