diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-12-22 21:19:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-12-22 21:19:48 +0000 |
commit | 0f3feb4e8d96da0185afc9b123f05e6fb8497621 (patch) | |
tree | 1871b4357dda61c28e145a0828f32de36516df99 /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 1af01a69d4a1c9dba7ac5a46ecdc96a0b65befb6 (diff) | |
download | llvm-0f3feb4e8d96da0185afc9b123f05e6fb8497621.zip llvm-0f3feb4e8d96da0185afc9b123f05e6fb8497621.tar.gz llvm-0f3feb4e8d96da0185afc9b123f05e6fb8497621.tar.bz2 |
Implement template argument deduction for pack expansions whose
pattern is a template argument, which involves repeatedly deducing
template arguments using the pattern of the pack expansion, then
bundling the resulting deductions into an argument pack.
We can now handle a variety of simple list-handling metaprograms using
variadic templates. See, e.g., the new "count" metaprogram.
llvm-svn: 122439
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions