summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveVariables.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-11 19:13:48 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-11 19:13:48 +0000
commite62e6a0191d271f6a927b091dc6516ae06de8f3f (patch)
treeb3fdd9df181bfce50c6be61642dc8174c57bc60d /llvm/lib/CodeGen/LiveVariables.cpp
parent5375309250976b0b138beae3368826cf368dd659 (diff)
downloadbcm5719-llvm-e62e6a0191d271f6a927b091dc6516ae06de8f3f.tar.gz
bcm5719-llvm-e62e6a0191d271f6a927b091dc6516ae06de8f3f.zip
Before checking a template template argument against its corresponding
template template parameter, substitute any prior template arguments into the template template parameter. This, for example, allows us to properly check the template template argument for a class such as: template<typename T, template<T Value> class X> struct Foo; The actual implementation of this feature was trivial; most of the change is dedicated to giving decent diagnostics when this substitution goes horribly wrong. We now get a note like: note: while substituting prior template arguments into template template parameter 'X' [with T = float] As part of this change, enabled some very pedantic checking when comparing template template parameter lists, which shook out a bug in our overly-eager checking of default arguments of template template parameters. We now perform only minimal checking of such default arguments when they are initially parsed. llvm-svn: 86864
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud