PR13788: Don't perform checks on the initializer of a dependently-typed
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Nov 2012 23:03:14 +0000 (23:03 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 9 Nov 2012 23:03:14 +0000 (23:03 +0000)
commitde63d36fb2101573f03e5104a0511a378e2473ac
tree1305bb5e666126168fe63ccd78a41dd203508ee8
parent069a2df6fd0fa2b545116df27b9d2b3adb3e8464
PR13788: Don't perform checks on the initializer of a dependently-typed
variable. Previously we didn't notice the type was dependent if the only
dependence came from an array bound.

Patch by Brian Brooks!

llvm-svn: 167642
clang/lib/Sema/SemaDecl.cpp
clang/test/SemaTemplate/dependent-sized_array.cpp