summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-12 16:20:59 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-12 16:20:59 +0000
commit19ac2d6494621c6b574a72f1735011c72be1d961 (patch)
tree828e7fb4a76460acfc44700029b8ac5e97924137 /clang/lib/CodeGen/CodeGenModule.cpp
parent068ae76e02df791c82bdf87a2ea37dff31b297e7 (diff)
downloadbcm5719-llvm-19ac2d6494621c6b574a72f1735011c72be1d961.tar.gz
bcm5719-llvm-19ac2d6494621c6b574a72f1735011c72be1d961.zip
When comparing template parameter lists, distinguish between three cases:
- Comparing template parameter lists to determine if we have a redeclaration - Comparing template parameter lists to determine if we have equivalent template template parameters - Comparing template parameter lists to determine whether a template template argument is valid for a given template template parameter. Previously, we did not distinguish between the last two cases, which got us into trouble when we were looking for exact type matches between the types of non-type template parameters that were dependent types. Now we do, so we properly delay checking of template template arguments until instantiation time. Also, fix an accidental fall-through in a case statement that was causing crashes. llvm-svn: 86992
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud