From 45fb9726abd555467d94610283e4235904fbe2b1 Mon Sep 17 00:00:00 2001
From: Roberto Raggi <roberto.raggi@nokia.com>
Date: Thu, 4 Jun 2009 11:53:48 +0200
Subject: [PATCH] Add the type-template parameters.

---
 src/plugins/cpptools/cppmodelmanager.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp
index 8cb06934474..967547e0d4a 100644
--- a/src/plugins/cpptools/cppmodelmanager.cpp
+++ b/src/plugins/cpptools/cppmodelmanager.cpp
@@ -364,6 +364,14 @@ protected:
         return false;
     }
 
+    virtual bool visit(TypenameTypeParameterAST *ast)
+    {
+        if (ast->name)
+            addType(ast->name->name);
+
+        return true;
+    }
+
     virtual bool visit(NamedTypeSpecifierAST *ast)
     {
         if (ast->name) {
-- 
GitLab