]> granicus.if.org Git - clang/commit
Template instantiation for C99 designated initializers, because we
authorDouglas Gregor <dgregor@apple.com>
Thu, 21 May 2009 23:17:49 +0000 (23:17 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 21 May 2009 23:17:49 +0000 (23:17 +0000)
commit9ea62768fca25d829d80199cf4f8cf0f4dd39251
tree148d110e673fdd610e2b177e8c2fadccac5ffc45
parentccb97f52afeb4ce5b239a6f3b44956d9e220e5e3
Template instantiation for C99 designated initializers, because we
can. Also, delay semantic analysis of initialization for
value-dependent as well as type-dependent expressions, since we can't
always properly type-check a value-dependent expression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72233 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
lib/AST/Expr.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaTemplateInstantiateExpr.cpp
test/SemaTemplate/fun-template-def.cpp
test/SemaTemplate/instantiate-c99.cpp [new file with mode: 0644]