aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-01-11 22:21:24 +0000
committerDouglas Gregor <dgregor@apple.com>2011-01-11 22:21:24 +0000
commit2fcb863b2b278e0b73c5381f41eb579bea82f2e2 (patch)
tree0fd64f216de2e4c04467adef3c6ad812429ad384 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentcb9c4f85ec0e99295576c40dab3f33f59007e545 (diff)
downloadllvm-2fcb863b2b278e0b73c5381f41eb579bea82f2e2.zip
llvm-2fcb863b2b278e0b73c5381f41eb579bea82f2e2.tar.gz
llvm-2fcb863b2b278e0b73c5381f41eb579bea82f2e2.tar.bz2
Implement partial ordering of class template partial specializations
and function templates that contain variadic templates. This involves three small-ish changes: (1) When transforming a pack expansion, if the transformed argument still contains unexpanded parameter packs, build a pack expansion. This can happen during the substitution that occurs into class template partial specialiation template arguments during partial ordering. (2) When performing template argument deduction where the argument is a pack expansion, match against the pattern of that pack expansion. (3) When performing template argument deduction against a non-pack parameter, or a non-expansion template argument, deduction fails if the argument itself is a pack expansion (C++0x [temp.deduct.type]p22). llvm-svn: 123279
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions