data: handling nested type names

* Implemented recursive handling of nested names in CxxTypeNameResolver. For example used when resolving names of dependent template parameters.
This commit is contained in:
malte_langkabel
2015-09-26 19:18:07 +02:00
parent ae27d8025b
commit 27ed5a0635
4 changed files with 83 additions and 34 deletions
+27
View File
@@ -6,3 +6,30 @@ public:
{
}
};
template <typename T>
class Fooo
{
public:
void bar()
{
}
};
template <typename T, typename T::a::type U>
class Foooo1
{
public:
void bar()
{
}
};
template <typename T, typename T::type U>
class Foooo2
{
public:
void bar()
{
}
};
+9
View File
@@ -1,7 +1,16 @@
#include "header.h"
#include <vector>
int main()
{
std::vector<Fooo<int>> yay;
for (Fooo<int> a: yay)
{
a;
}
Foo<true, int, float> ft;
ft.bar();
return 0;