]> granicus.if.org Git - clang/commit
Evaluate compound literals directly into the result aggregate
authorJohn McCall <rjmccall@apple.com>
Thu, 7 Mar 2013 21:36:54 +0000 (21:36 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 7 Mar 2013 21:36:54 +0000 (21:36 +0000)
commit1723f6398ea8aa8d602a478f47695bf3b0374d35
treefca2e38d1328e1b3650cb1d96f9ca5bf53f4c05d
parent76ecdfc53778a8468b7177c556fdbfe797fdbb29
Evaluate compound literals directly into the result aggregate
when that aggregate isn't potentially aliased.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176654 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprAgg.cpp
test/CodeGen/compound-literal.c