]> granicus.if.org Git - clang/commit
Deduce a ConstantArrayType from a value-dependent initializer list
authorDouglas Gregor <dgregor@apple.com>
Thu, 19 Nov 2009 23:25:22 +0000 (23:25 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 19 Nov 2009 23:25:22 +0000 (23:25 +0000)
commit73460a32bc5299a5927d23d2e464d72af796eabf
treefa43a822155b29ff6751df758a6329d0623d2832
parent865d447ac6a4721ab58e898d014a21f2eff74b06
Deduce a ConstantArrayType from a value-dependent initializer list
rather than punting to a DependentSizedArrayType, tightening up our
type checking for template definitions. Thanks, John!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89407 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
lib/Sema/SemaInit.cpp
test/SemaTemplate/dependent-sized_array.cpp