I changed the BindCompoundLiteral to AddCompoundLiteral. Init SVals are not passed into Store explicitly. Instead a GRState is passed. Because we cannot assume the compound literal is array. It may be struct. Recursive processing is necessary.
This patch is big enough. Later I will modify the AddDecl to follow the style of AddCompoundLiteral, so that we can process decl with init list.
compoundliteral.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
