Generalize template parameter patterns.
commiteacfeb110fb3cd18b8e417bc460bb7b012ae8ea2
authorJohannes Sixt <j6t@kdbg.org>
Fri, 21 Nov 2008 23:40:47 +0000 (22 00:40 +0100)
committerJohannes Sixt <j6t@kdbg.org>
Mon, 8 Dec 2008 21:27:13 +0000 (8 22:27 +0100)
tree19a7afd203b5274347d9e1aa92dc3c633c666e75
parent30333d1aa0236df7779da755a51b1506c5a082e4
Generalize template parameter patterns.

This implements a way to specify template parameters in the type tables
as patterns that are matched against the actual template instances.

A "*" in the place of a template parameter acts as a wild-card that
matches all types, but only one argument except that if the last
parameter is "*", then it matches all remaining template arguments.

The template pattern for std::vector is updated to take advantage of this
new scheme. The configuration section name in the .kdbgtt file for types
that contain a Template= pattern does not take part in the lookup, and
can, therefore, be an arbitrary name.
kdbg/typetable.cpp
kdbg/typetable.h
kdbg/typetables/stdc++6.kdbgtt