aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Mangle.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-05 17:40:24 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-05 17:40:24 +0000
commitba68eca7582a62e3e2ff4b0eba1b2b73a6b80895 (patch)
treecda084548462f9d6bd3fdfe67d210f170baa0f04 /lib/CodeGen/Mangle.cpp
parentec5e696a7523db8eae450f4593a80a27f32e530b (diff)
Add semantic analysis for the creation of and an AST representation
for template template argument pack expansions. This allows fun such as: template<template<class> class ...> struct apply_impl { /*...*/ }; template<template<class> class ...Metafunctions> struct apply { typedef typename apply_impl<Metafunctions...>::type type; }; However, neither template argument deduction nor template instantiation is implemented for template template argument packs, so this functionality isn't useful yet. I'll probably replace the encoding of template template argument pack expansions in TemplateArgument so that it's harder to accidentally forget about the expansion. However, this is a step in the right general direction. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
0 files changed, 0 insertions, 0 deletions