]> granicus.if.org Git - clang/commit
Fix const-eval of vector init-lists of a vector.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 17 Sep 2013 04:07:02 +0000 (04:07 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 17 Sep 2013 04:07:02 +0000 (04:07 +0000)
commit69b6515cfa336a2bfc26f5dfd9023ebf143836f3
tree8f36d3d6c8d4696de39f834a3a46e0f08bad1731
parentde940da033aa46c50c7d07c61f455e7c5053e90a
Fix const-eval of vector init-lists of a vector.

Like any other type, an init list for a vector can have the same type as
the vector itself; handle that case.

<rdar://problem/14990460>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190844 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ExprConstant.cpp
test/CodeGenCXX/static-init-4.cpp [new file with mode: 0644]