| 1 |
struct Foo {}; |
| 2 |
|
| 3 |
template<class T> |
| 4 |
Foo::Foo() {} |
| 5 |
|
| 6 |
/* |
| 7 |
EXTRA_FLAGS: |
| 8 |
-fms-compatibility |
| 9 |
-fdelayed-template-parsing |
| 10 |
|
| 11 |
OUTPUT: |
| 12 |
{ |
| 13 |
"includes": [], |
| 14 |
"skipped_ranges": [], |
| 15 |
"usr2func": [{ |
| 16 |
"usr": 17319723337446061757, |
| 17 |
"detailed_name": "Foo::Foo::Foo()", |
| 18 |
"qual_name_offset": 0, |
| 19 |
"short_name": "Foo", |
| 20 |
"spell": "4:6-4:9|4:1-4:11|1026|-1", |
| 21 |
"bases": [], |
| 22 |
"vars": [], |
| 23 |
"callees": [], |
| 24 |
"kind": 9, |
| 25 |
"parent_kind": 23, |
| 26 |
"storage": 0, |
| 27 |
"declarations": [], |
| 28 |
"derived": [], |
| 29 |
"uses": [] |
| 30 |
}], |
| 31 |
"usr2type": [{ |
| 32 |
"usr": 9174142900507230378, |
| 33 |
"detailed_name": "T", |
| 34 |
"qual_name_offset": 0, |
| 35 |
"short_name": "", |
| 36 |
"bases": [], |
| 37 |
"funcs": [], |
| 38 |
"types": [], |
| 39 |
"vars": [], |
| 40 |
"alias_of": 0, |
| 41 |
"kind": 26, |
| 42 |
"parent_kind": 0, |
| 43 |
"declarations": ["3:16-3:17|3:10-3:17|1|-1"], |
| 44 |
"derived": [], |
| 45 |
"instances": [], |
| 46 |
"uses": [] |
| 47 |
}, { |
| 48 |
"usr": 15041163540773201510, |
| 49 |
"detailed_name": "struct Foo {}", |
| 50 |
"qual_name_offset": 7, |
| 51 |
"short_name": "Foo", |
| 52 |
"spell": "1:8-1:11|1:1-1:14|2|-1", |
| 53 |
"bases": [], |
| 54 |
"funcs": [17319723337446061757], |
| 55 |
"types": [], |
| 56 |
"vars": [], |
| 57 |
"alias_of": 0, |
| 58 |
"kind": 23, |
| 59 |
"parent_kind": 1, |
| 60 |
"declarations": [], |
| 61 |
"derived": [], |
| 62 |
"instances": [], |
| 63 |
"uses": ["4:1-4:4|4|-1", "4:6-4:9|4|-1"] |
| 64 |
}], |
| 65 |
"usr2var": [] |
| 66 |
} |
| 67 |
*/ |