Find non-template functions
// FuncDeclarator [ not isTemplate() ] [ not getParent().isTemplate() ] [ not getParent().getParent().isSpecialization() ]
1 // no match - template function
2 template<>
3 void f() { }
4 template<>
5 class C {
6 public:
7
8 // no match - member of template class
9 void m() {
10 // ...
11 }
12 };
13 class D {
14 public:
15
16 // finds this member function
17 void n1() {
18 }
19 // no match - member template
20 template<>
21 void n2() {
22 /*code*/
23 }
24 };
25 // finds this function
26 void g() {
27
28 /*code*/
29 }