aboutsummaryrefslogtreecommitdiff
path: root/include/clang/CodeGen/ModuleBuilder.h
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
commitfb898e17cff919bd28b88e9d93301d6e2cc5cbd1 (patch)
treebd29ded2aa06ad5d3ca84e0a11f1d0a7369f8329 /include/clang/CodeGen/ModuleBuilder.h
parente0c4ff2fcef19a84afaacf9eff71636b3bdad071 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/CodeGen/ModuleBuilder.h')
0 files changed, 0 insertions, 0 deletions