]> granicus.if.org Git - clang/commit
implement a tiny amount of codegen support for gnu array range
authorChris Lattner <sabre@nondot.org>
Sat, 19 Feb 2011 22:28:58 +0000 (22:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 19 Feb 2011 22:28:58 +0000 (22:28 +0000)
commite0fd832b076eb5a1e4a4549687af0dbf2ad57181
treee5494d43a81380ee7d6c9527e6393fd42df3b5d2
parent944ed3b8dba3a129937a4e627d235ad99d225da9
implement a tiny amount of codegen support for gnu array range
designators: allowing codegen when the element initializer is a
constant or something else without a side effect.  This unblocks
enough to let process.c in the linux kernel build, PR9257.

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