]> granicus.if.org Git - clang/commit
In some dependent contexts, incomplete array types persist into FinalizeDeclaratorGro...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 17 Oct 2009 19:37:06 +0000 (19:37 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Sat, 17 Oct 2009 19:37:06 +0000 (19:37 +0000)
commitd75191f0d100b596281f99ea8f2f0a0d0560d969
tree8b48fa43990e6f6c9937e219ded669f13ee56f16
parent12356b119032edd64e9c32f9f01920d12c2acc57
In some dependent contexts, incomplete array types persist into FinalizeDeclaratorGroup. Don't require them to have a complete type. This allows us to compile Hello World with the Apache stdcxx library. If you don't use endl, it even links and runs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84347 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p4.cpp [new file with mode: 0644]