diff options
author | Steve Naroff <snaroff@apple.com> | 2008-01-25 00:51:06 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-01-25 00:51:06 +0000 |
commit | a99603333fffb57cf9ac37eabb190c8f5afc914b (patch) | |
tree | 23c70393831abe2d1753d69d07599873a06a7848 /CodeGen/CodeGenModule.cpp | |
parent | 0cbc215ccd01ba7ce8e46cac5be147746cf0af4e (diff) |
Replace Sema::CheckVariableInitList, CheckConstantInitList, and CheckForCharArrayInitializer with CheckInitializerListTypes. The new routine now supports struct/union initializers.
This is a modified version of a patch by Eli Friedman. This version passes all of the clang tests and supports vectors:-)
Note that Eli and I are still unsatisfied the implementation of CheckInitializerListTypes(). We'd like to find a more elegant implementation. Nevertheless, this is a complex part of the standard (and may be hard to simplify). Since the complexity is localized to this routine, we can iterate without too much disruption:-)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46339 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions