llvm-project/clang/lib/Sema
Steve Naroff 5bb8f2264b Fix issues with C "tentative" definitions.
- Move checking from MergeVarDecl->FinializeDeclaratorGroup. Since MergeVarDecl is called before the initializer is attacted, it can't be done there (this removes a long standing FIXME).
- Add Sema::isTentativeDefinition() and Sema::CheckForFileScopedRedefinitions().
- Remove FIXME's and touch-up test case.

Still some more work to do (forthcoming)...

llvm-svn: 54533
2008-08-08 17:50:35 +00:00
..
CXXFieldCollector.h Update some comments. 2008-07-01 11:22:40 +00:00
IdentifierResolver.cpp Unify ctx_iterator/ctx_begin()/ctx_end() and iterator/begin()/end() so that a single iterator type is used for both traversing decls of the same declaration context *and* of the parent declaration contexts, depending on the value of the bool parameter 'LookInParentCtx' that is passed to IdentifierResolver::begin(). 2008-07-17 17:49:50 +00:00
IdentifierResolver.h Make the default constructor of IdentifierResolver::iterator public. 2008-08-01 10:20:48 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
ParseAST.cpp ParseAST now never releases the passed ASTConsumer. This is the responsibility of the client. 2008-08-08 02:46:37 +00:00
Sema.cpp change more instances of QualType::getCanonicalType to call 2008-07-26 22:17:49 +00:00
Sema.h Fix issues with C "tentative" definitions. 2008-08-08 17:50:35 +00:00
SemaChecking.cpp Fix <rdar://problem/6125909>. 2008-08-07 00:49:01 +00:00
SemaDecl.cpp Fix issues with C "tentative" definitions. 2008-08-08 17:50:35 +00:00
SemaDeclAttr.cpp attribute "unused" also applies to functions. 2008-08-07 01:02:05 +00:00
SemaDeclCXX.cpp Move AsmLabel into Declarator instead of just a parameter to 2008-08-05 16:28:08 +00:00
SemaDeclObjC.cpp remove two uses of getCanonicalType I missed. 2008-07-27 00:05:05 +00:00
SemaExpr.cpp Fix several issues in checking of address-of expressions. 2008-08-04 20:02:37 +00:00
SemaExprCXX.cpp Add Sema support for C++ classes. 2008-07-01 10:37:29 +00:00
SemaExprObjC.cpp change more instances of QualType::getCanonicalType to call 2008-07-26 22:17:49 +00:00
SemaInit.cpp Finally fix PR2189. This makes a fairly invasive but important change to 2008-08-04 07:31:14 +00:00
SemaStmt.cpp Use DeclStmt::decl_iterator instead of walking the getNextDeclarator() chain. 2008-08-08 02:45:18 +00:00
SemaType.cpp make DeclSpec manage its own protocol qualifier list memory instead of having 2008-07-26 01:53:50 +00:00
SemaUtil.h Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00