]> granicus.if.org Git - clang/commit
allow cast from array to int to be considered as constant
authorNuno Lopes <nunoplopes@sapo.pt>
Mon, 2 Feb 2009 16:07:41 +0000 (16:07 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Mon, 2 Feb 2009 16:07:41 +0000 (16:07 +0000)
commit839508150a7a595b6172217eeddc4d024fc201c5
tree338c5e5880d029fc042bf95d4d87145942abf7ee
parentc4b67edf3a94071c60271305afe42185b8f23b5e
allow cast from array to int to be considered as constant

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63519 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/Sema/static-init.c