]> granicus.if.org Git - clang/commit
Partial fix for PR3310, concerning type-checking for tentative
authorDouglas Gregor <dgregor@apple.com>
Tue, 10 Mar 2009 21:58:27 +0000 (21:58 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 10 Mar 2009 21:58:27 +0000 (21:58 +0000)
commita03aca82de5259846d4ef38db11b8116398d2222
tree997bfd92f2d48870f696768c2cf2c9ce2bc48609
parentfbe899f7143d85f11d16423568fee5ebd99beab1
Partial fix for PR3310, concerning type-checking for tentative
definitions. We were rejecting tentative definitions of incomplete
(which is bad), and now we don't.

This fix is partial because we don't do the end-of-translation-unit
initialization for tentative definitions that don't ever have any
initializers specified.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66584 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Sema/bitfield.c
test/Sema/enum.c
test/Sema/incomplete-decl.c
test/Sema/tentative-decls.c