]> granicus.if.org Git - clang/commit
Add type checking for tentative definitions at the end of the
authorDouglas Gregor <dgregor@apple.com>
Tue, 10 Mar 2009 23:43:53 +0000 (23:43 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 10 Mar 2009 23:43:53 +0000 (23:43 +0000)
commit275a369f003f25bd22c00c1c0fc0251c7208caf4
treef9088a9b40a3ce195904954931a36c1adb532f15
parentdd98e2cad165ca73c769e4f105a4e47c2216387a
Add type checking for tentative definitions at the end of the
translation unit.

Thread the various declarations of variables via
VarDecl::getPreviousDeclaration.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66601 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/Basic/DiagnosticSemaKinds.def
lib/AST/Decl.cpp
lib/Sema/Sema.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
test/Sema/enum.c
test/Sema/incomplete-decl.c
test/Sema/init.c
test/Sema/tentative-decls.c