aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-01-25 00:51:06 +0000
committerSteve Naroff <snaroff@apple.com>2008-01-25 00:51:06 +0000
commit78c6cdf95e38b7356e351aaeebea486dd2ed849e (patch)
tree66308b0238059b2b31c8bbf26a7c259156cf3dbc /llvm/lib/CodeGen/MachineFunction.cpp
parentfcde616864625648d37bb7109f8c0192fde0f9db (diff)
downloadllvm-78c6cdf95e38b7356e351aaeebea486dd2ed849e.zip
llvm-78c6cdf95e38b7356e351aaeebea486dd2ed849e.tar.gz
llvm-78c6cdf95e38b7356e351aaeebea486dd2ed849e.tar.bz2
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:-) llvm-svn: 46339
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions