Mercurial > hg > CbC > CbC_llvm
comparison clang/test/AST/ast-dump-template-decls-json.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children | 5f17cb93ff66 |
comparison
equal
deleted
inserted
replaced
173:0572611fdcc8 | 207:2e18cbf3894f |
---|---|
53 | 53 |
54 template <typename Ty> | 54 template <typename Ty> |
55 template <typename Uy> | 55 template <typename Uy> |
56 void V<Ty>::f() {} | 56 void V<Ty>::f() {} |
57 | 57 |
58 template <template <typename> class = R> | |
59 void i(); | |
60 | |
58 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py | 61 // NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py |
59 | 62 |
60 | 63 |
61 // CHECK: "kind": "TranslationUnitDecl", | 64 // CHECK: "kind": "TranslationUnitDecl", |
62 // CHECK-NEXT: "loc": {}, | 65 // CHECK-NEXT: "loc": {}, |
595 // CHECK-NEXT: "inner": [ | 598 // CHECK-NEXT: "inner": [ |
596 // CHECK-NEXT: { | 599 // CHECK-NEXT: { |
597 // CHECK-NEXT: "kind": "TemplateArgument", | 600 // CHECK-NEXT: "kind": "TemplateArgument", |
598 // CHECK-NEXT: "type": { | 601 // CHECK-NEXT: "type": { |
599 // CHECK-NEXT: "qualType": "float" | 602 // CHECK-NEXT: "qualType": "float" |
600 // CHECK-NEXT: } | 603 // CHECK-NEXT: }, |
604 // CHECK-NEXT: "inner": [ | |
605 // CHECK-NEXT: { | |
606 // CHECK-NEXT: "id": "0x{{.*}}", | |
607 // CHECK-NEXT: "kind": "BuiltinType", | |
608 // CHECK-NEXT: "type": { | |
609 // CHECK-NEXT: "qualType": "float" | |
610 // CHECK-NEXT: } | |
611 // CHECK-NEXT: } | |
612 // CHECK-NEXT: ] | |
601 // CHECK-NEXT: }, | 613 // CHECK-NEXT: }, |
602 // CHECK-NEXT: { | 614 // CHECK-NEXT: { |
603 // CHECK-NEXT: "kind": "TemplateArgument", | 615 // CHECK-NEXT: "kind": "TemplateArgument", |
604 // CHECK-NEXT: "type": { | 616 // CHECK-NEXT: "type": { |
605 // CHECK-NEXT: "qualType": "int" | 617 // CHECK-NEXT: "qualType": "int" |
606 // CHECK-NEXT: } | 618 // CHECK-NEXT: }, |
619 // CHECK-NEXT: "inner": [ | |
620 // CHECK-NEXT: { | |
621 // CHECK-NEXT: "id": "0x{{.*}}", | |
622 // CHECK-NEXT: "kind": "BuiltinType", | |
623 // CHECK-NEXT: "type": { | |
624 // CHECK-NEXT: "qualType": "int" | |
625 // CHECK-NEXT: } | |
626 // CHECK-NEXT: } | |
627 // CHECK-NEXT: ] | |
607 // CHECK-NEXT: }, | 628 // CHECK-NEXT: }, |
608 // CHECK-NEXT: { | 629 // CHECK-NEXT: { |
609 // CHECK-NEXT: "id": "0x{{.*}}", | 630 // CHECK-NEXT: "id": "0x{{.*}}", |
610 // CHECK-NEXT: "kind": "ParmVarDecl", | 631 // CHECK-NEXT: "kind": "ParmVarDecl", |
611 // CHECK-NEXT: "loc": { | 632 // CHECK-NEXT: "loc": { |
1118 // CHECK-NEXT: "inner": [ | 1139 // CHECK-NEXT: "inner": [ |
1119 // CHECK-NEXT: { | 1140 // CHECK-NEXT: { |
1120 // CHECK-NEXT: "kind": "TemplateArgument", | 1141 // CHECK-NEXT: "kind": "TemplateArgument", |
1121 // CHECK-NEXT: "type": { | 1142 // CHECK-NEXT: "type": { |
1122 // CHECK-NEXT: "qualType": "int" | 1143 // CHECK-NEXT: "qualType": "int" |
1123 // CHECK-NEXT: } | 1144 // CHECK-NEXT: }, |
1145 // CHECK-NEXT: "inner": [ | |
1146 // CHECK-NEXT: { | |
1147 // CHECK-NEXT: "id": "0x{{.*}}", | |
1148 // CHECK-NEXT: "kind": "BuiltinType", | |
1149 // CHECK-NEXT: "type": { | |
1150 // CHECK-NEXT: "qualType": "int" | |
1151 // CHECK-NEXT: } | |
1152 // CHECK-NEXT: } | |
1153 // CHECK-NEXT: ] | |
1124 // CHECK-NEXT: } | 1154 // CHECK-NEXT: } |
1125 // CHECK-NEXT: ] | 1155 // CHECK-NEXT: ] |
1126 // CHECK-NEXT: }, | 1156 // CHECK-NEXT: }, |
1127 // CHECK-NEXT: { | 1157 // CHECK-NEXT: { |
1128 // CHECK-NEXT: "id": "0x{{.*}}", | 1158 // CHECK-NEXT: "id": "0x{{.*}}", |
1236 // CHECK-NEXT: "inner": [ | 1266 // CHECK-NEXT: "inner": [ |
1237 // CHECK-NEXT: { | 1267 // CHECK-NEXT: { |
1238 // CHECK-NEXT: "kind": "TemplateArgument", | 1268 // CHECK-NEXT: "kind": "TemplateArgument", |
1239 // CHECK-NEXT: "type": { | 1269 // CHECK-NEXT: "type": { |
1240 // CHECK-NEXT: "qualType": "void" | 1270 // CHECK-NEXT: "qualType": "void" |
1241 // CHECK-NEXT: } | 1271 // CHECK-NEXT: }, |
1272 // CHECK-NEXT: "inner": [ | |
1273 // CHECK-NEXT: { | |
1274 // CHECK-NEXT: "id": "0x{{.*}}", | |
1275 // CHECK-NEXT: "kind": "BuiltinType", | |
1276 // CHECK-NEXT: "type": { | |
1277 // CHECK-NEXT: "qualType": "void" | |
1278 // CHECK-NEXT: } | |
1279 // CHECK-NEXT: } | |
1280 // CHECK-NEXT: ] | |
1242 // CHECK-NEXT: } | 1281 // CHECK-NEXT: } |
1243 // CHECK-NEXT: ] | 1282 // CHECK-NEXT: ] |
1244 // CHECK-NEXT: }, | 1283 // CHECK-NEXT: }, |
1245 // CHECK-NEXT: { | 1284 // CHECK-NEXT: { |
1246 // CHECK-NEXT: "id": "0x{{.*}}", | 1285 // CHECK-NEXT: "id": "0x{{.*}}", |
1349 // CHECK-NEXT: "canConstDefaultInit": true, | 1388 // CHECK-NEXT: "canConstDefaultInit": true, |
1350 // CHECK-NEXT: "copyAssign": { | 1389 // CHECK-NEXT: "copyAssign": { |
1351 // CHECK-NEXT: "hasConstParam": true, | 1390 // CHECK-NEXT: "hasConstParam": true, |
1352 // CHECK-NEXT: "implicitHasConstParam": true, | 1391 // CHECK-NEXT: "implicitHasConstParam": true, |
1353 // CHECK-NEXT: "needsImplicit": true, | 1392 // CHECK-NEXT: "needsImplicit": true, |
1393 // CHECK-NEXT: "simple": true, | |
1354 // CHECK-NEXT: "trivial": true | 1394 // CHECK-NEXT: "trivial": true |
1355 // CHECK-NEXT: }, | 1395 // CHECK-NEXT: }, |
1356 // CHECK-NEXT: "copyCtor": { | 1396 // CHECK-NEXT: "copyCtor": { |
1357 // CHECK-NEXT: "hasConstParam": true, | 1397 // CHECK-NEXT: "hasConstParam": true, |
1358 // CHECK-NEXT: "implicitHasConstParam": true, | 1398 // CHECK-NEXT: "implicitHasConstParam": true, |
1459 // CHECK-NEXT: "canPassInRegisters": true, | 1499 // CHECK-NEXT: "canPassInRegisters": true, |
1460 // CHECK-NEXT: "copyAssign": { | 1500 // CHECK-NEXT: "copyAssign": { |
1461 // CHECK-NEXT: "hasConstParam": true, | 1501 // CHECK-NEXT: "hasConstParam": true, |
1462 // CHECK-NEXT: "implicitHasConstParam": true, | 1502 // CHECK-NEXT: "implicitHasConstParam": true, |
1463 // CHECK-NEXT: "needsImplicit": true, | 1503 // CHECK-NEXT: "needsImplicit": true, |
1504 // CHECK-NEXT: "simple": true, | |
1464 // CHECK-NEXT: "trivial": true | 1505 // CHECK-NEXT: "trivial": true |
1465 // CHECK-NEXT: }, | 1506 // CHECK-NEXT: }, |
1466 // CHECK-NEXT: "copyCtor": { | 1507 // CHECK-NEXT: "copyCtor": { |
1467 // CHECK-NEXT: "hasConstParam": true, | 1508 // CHECK-NEXT: "hasConstParam": true, |
1468 // CHECK-NEXT: "implicitHasConstParam": true, | 1509 // CHECK-NEXT: "implicitHasConstParam": true, |
1507 // CHECK-NEXT: "inner": [ | 1548 // CHECK-NEXT: "inner": [ |
1508 // CHECK-NEXT: { | 1549 // CHECK-NEXT: { |
1509 // CHECK-NEXT: "kind": "TemplateArgument", | 1550 // CHECK-NEXT: "kind": "TemplateArgument", |
1510 // CHECK-NEXT: "type": { | 1551 // CHECK-NEXT: "type": { |
1511 // CHECK-NEXT: "qualType": "int" | 1552 // CHECK-NEXT: "qualType": "int" |
1512 // CHECK-NEXT: } | 1553 // CHECK-NEXT: }, |
1554 // CHECK-NEXT: "inner": [ | |
1555 // CHECK-NEXT: { | |
1556 // CHECK-NEXT: "id": "0x{{.*}}", | |
1557 // CHECK-NEXT: "kind": "BuiltinType", | |
1558 // CHECK-NEXT: "type": { | |
1559 // CHECK-NEXT: "qualType": "int" | |
1560 // CHECK-NEXT: } | |
1561 // CHECK-NEXT: } | |
1562 // CHECK-NEXT: ] | |
1513 // CHECK-NEXT: }, | 1563 // CHECK-NEXT: }, |
1514 // CHECK-NEXT: { | 1564 // CHECK-NEXT: { |
1515 // CHECK-NEXT: "id": "0x{{.*}}", | 1565 // CHECK-NEXT: "id": "0x{{.*}}", |
1516 // CHECK-NEXT: "kind": "CXXRecordDecl", | 1566 // CHECK-NEXT: "kind": "CXXRecordDecl", |
1517 // CHECK-NEXT: "loc": { | 1567 // CHECK-NEXT: "loc": { |
1641 // CHECK-NEXT: "canConstDefaultInit": true, | 1691 // CHECK-NEXT: "canConstDefaultInit": true, |
1642 // CHECK-NEXT: "copyAssign": { | 1692 // CHECK-NEXT: "copyAssign": { |
1643 // CHECK-NEXT: "hasConstParam": true, | 1693 // CHECK-NEXT: "hasConstParam": true, |
1644 // CHECK-NEXT: "implicitHasConstParam": true, | 1694 // CHECK-NEXT: "implicitHasConstParam": true, |
1645 // CHECK-NEXT: "needsImplicit": true, | 1695 // CHECK-NEXT: "needsImplicit": true, |
1696 // CHECK-NEXT: "simple": true, | |
1646 // CHECK-NEXT: "trivial": true | 1697 // CHECK-NEXT: "trivial": true |
1647 // CHECK-NEXT: }, | 1698 // CHECK-NEXT: }, |
1648 // CHECK-NEXT: "copyCtor": { | 1699 // CHECK-NEXT: "copyCtor": { |
1649 // CHECK-NEXT: "hasConstParam": true, | 1700 // CHECK-NEXT: "hasConstParam": true, |
1650 // CHECK-NEXT: "implicitHasConstParam": true, | 1701 // CHECK-NEXT: "implicitHasConstParam": true, |
1745 // CHECK-NEXT: "canConstDefaultInit": true, | 1796 // CHECK-NEXT: "canConstDefaultInit": true, |
1746 // CHECK-NEXT: "copyAssign": { | 1797 // CHECK-NEXT: "copyAssign": { |
1747 // CHECK-NEXT: "hasConstParam": true, | 1798 // CHECK-NEXT: "hasConstParam": true, |
1748 // CHECK-NEXT: "implicitHasConstParam": true, | 1799 // CHECK-NEXT: "implicitHasConstParam": true, |
1749 // CHECK-NEXT: "needsImplicit": true, | 1800 // CHECK-NEXT: "needsImplicit": true, |
1801 // CHECK-NEXT: "simple": true, | |
1750 // CHECK-NEXT: "trivial": true | 1802 // CHECK-NEXT: "trivial": true |
1751 // CHECK-NEXT: }, | 1803 // CHECK-NEXT: }, |
1752 // CHECK-NEXT: "copyCtor": { | 1804 // CHECK-NEXT: "copyCtor": { |
1753 // CHECK-NEXT: "hasConstParam": true, | 1805 // CHECK-NEXT: "hasConstParam": true, |
1754 // CHECK-NEXT: "implicitHasConstParam": true, | 1806 // CHECK-NEXT: "implicitHasConstParam": true, |
1793 // CHECK-NEXT: "inner": [ | 1845 // CHECK-NEXT: "inner": [ |
1794 // CHECK-NEXT: { | 1846 // CHECK-NEXT: { |
1795 // CHECK-NEXT: "kind": "TemplateArgument", | 1847 // CHECK-NEXT: "kind": "TemplateArgument", |
1796 // CHECK-NEXT: "type": { | 1848 // CHECK-NEXT: "type": { |
1797 // CHECK-NEXT: "qualType": "type-parameter-0-0" | 1849 // CHECK-NEXT: "qualType": "type-parameter-0-0" |
1798 // CHECK-NEXT: } | 1850 // CHECK-NEXT: }, |
1851 // CHECK-NEXT: "inner": [ | |
1852 // CHECK-NEXT: { | |
1853 // CHECK-NEXT: "id": "0x{{.*}}", | |
1854 // CHECK-NEXT: "kind": "TemplateTypeParmType", | |
1855 // CHECK-NEXT: "type": { | |
1856 // CHECK-NEXT: "qualType": "type-parameter-0-0" | |
1857 // CHECK-NEXT: }, | |
1858 // CHECK-NEXT: "isDependent": true, | |
1859 // CHECK-NEXT: "isInstantiationDependent": true, | |
1860 // CHECK-NEXT: "depth": 0, | |
1861 // CHECK-NEXT: "index": 0, | |
1862 // CHECK-NEXT: "decl": { | |
1863 // CHECK-NEXT: "id": "0x0" | |
1864 // CHECK-NEXT: } | |
1865 // CHECK-NEXT: } | |
1866 // CHECK-NEXT: ] | |
1799 // CHECK-NEXT: }, | 1867 // CHECK-NEXT: }, |
1800 // CHECK-NEXT: { | 1868 // CHECK-NEXT: { |
1801 // CHECK-NEXT: "kind": "TemplateArgument", | 1869 // CHECK-NEXT: "kind": "TemplateArgument", |
1802 // CHECK-NEXT: "type": { | 1870 // CHECK-NEXT: "type": { |
1803 // CHECK-NEXT: "qualType": "int" | 1871 // CHECK-NEXT: "qualType": "int" |
1804 // CHECK-NEXT: } | 1872 // CHECK-NEXT: }, |
1873 // CHECK-NEXT: "inner": [ | |
1874 // CHECK-NEXT: { | |
1875 // CHECK-NEXT: "id": "0x{{.*}}", | |
1876 // CHECK-NEXT: "kind": "BuiltinType", | |
1877 // CHECK-NEXT: "type": { | |
1878 // CHECK-NEXT: "qualType": "int" | |
1879 // CHECK-NEXT: } | |
1880 // CHECK-NEXT: } | |
1881 // CHECK-NEXT: ] | |
1805 // CHECK-NEXT: }, | 1882 // CHECK-NEXT: }, |
1806 // CHECK-NEXT: { | 1883 // CHECK-NEXT: { |
1807 // CHECK-NEXT: "id": "0x{{.*}}", | 1884 // CHECK-NEXT: "id": "0x{{.*}}", |
1808 // CHECK-NEXT: "kind": "TemplateTypeParmDecl", | 1885 // CHECK-NEXT: "kind": "TemplateTypeParmDecl", |
1809 // CHECK-NEXT: "loc": { | 1886 // CHECK-NEXT: "loc": { |
1937 // CHECK-NEXT: "canConstDefaultInit": true, | 2014 // CHECK-NEXT: "canConstDefaultInit": true, |
1938 // CHECK-NEXT: "copyAssign": { | 2015 // CHECK-NEXT: "copyAssign": { |
1939 // CHECK-NEXT: "hasConstParam": true, | 2016 // CHECK-NEXT: "hasConstParam": true, |
1940 // CHECK-NEXT: "implicitHasConstParam": true, | 2017 // CHECK-NEXT: "implicitHasConstParam": true, |
1941 // CHECK-NEXT: "needsImplicit": true, | 2018 // CHECK-NEXT: "needsImplicit": true, |
2019 // CHECK-NEXT: "simple": true, | |
1942 // CHECK-NEXT: "trivial": true | 2020 // CHECK-NEXT: "trivial": true |
1943 // CHECK-NEXT: }, | 2021 // CHECK-NEXT: }, |
1944 // CHECK-NEXT: "copyCtor": { | 2022 // CHECK-NEXT: "copyCtor": { |
1945 // CHECK-NEXT: "hasConstParam": true, | 2023 // CHECK-NEXT: "hasConstParam": true, |
1946 // CHECK-NEXT: "implicitHasConstParam": true, | 2024 // CHECK-NEXT: "implicitHasConstParam": true, |
2091 // CHECK-NEXT: "canConstDefaultInit": true, | 2169 // CHECK-NEXT: "canConstDefaultInit": true, |
2092 // CHECK-NEXT: "copyAssign": { | 2170 // CHECK-NEXT: "copyAssign": { |
2093 // CHECK-NEXT: "hasConstParam": true, | 2171 // CHECK-NEXT: "hasConstParam": true, |
2094 // CHECK-NEXT: "implicitHasConstParam": true, | 2172 // CHECK-NEXT: "implicitHasConstParam": true, |
2095 // CHECK-NEXT: "needsImplicit": true, | 2173 // CHECK-NEXT: "needsImplicit": true, |
2174 // CHECK-NEXT: "simple": true, | |
2096 // CHECK-NEXT: "trivial": true | 2175 // CHECK-NEXT: "trivial": true |
2097 // CHECK-NEXT: }, | 2176 // CHECK-NEXT: }, |
2098 // CHECK-NEXT: "copyCtor": { | 2177 // CHECK-NEXT: "copyCtor": { |
2099 // CHECK-NEXT: "hasConstParam": true, | 2178 // CHECK-NEXT: "hasConstParam": true, |
2100 // CHECK-NEXT: "implicitHasConstParam": true, | 2179 // CHECK-NEXT: "implicitHasConstParam": true, |
2245 // CHECK-NEXT: "canConstDefaultInit": true, | 2324 // CHECK-NEXT: "canConstDefaultInit": true, |
2246 // CHECK-NEXT: "copyAssign": { | 2325 // CHECK-NEXT: "copyAssign": { |
2247 // CHECK-NEXT: "hasConstParam": true, | 2326 // CHECK-NEXT: "hasConstParam": true, |
2248 // CHECK-NEXT: "implicitHasConstParam": true, | 2327 // CHECK-NEXT: "implicitHasConstParam": true, |
2249 // CHECK-NEXT: "needsImplicit": true, | 2328 // CHECK-NEXT: "needsImplicit": true, |
2329 // CHECK-NEXT: "simple": true, | |
2250 // CHECK-NEXT: "trivial": true | 2330 // CHECK-NEXT: "trivial": true |
2251 // CHECK-NEXT: }, | 2331 // CHECK-NEXT: }, |
2252 // CHECK-NEXT: "copyCtor": { | 2332 // CHECK-NEXT: "copyCtor": { |
2253 // CHECK-NEXT: "hasConstParam": true, | 2333 // CHECK-NEXT: "hasConstParam": true, |
2254 // CHECK-NEXT: "implicitHasConstParam": true, | 2334 // CHECK-NEXT: "implicitHasConstParam": true, |
2499 // CHECK-NEXT: } | 2579 // CHECK-NEXT: } |
2500 // CHECK-NEXT: } | 2580 // CHECK-NEXT: } |
2501 // CHECK-NEXT: ] | 2581 // CHECK-NEXT: ] |
2502 // CHECK-NEXT: } | 2582 // CHECK-NEXT: } |
2503 // CHECK-NEXT: ] | 2583 // CHECK-NEXT: ] |
2584 // CHECK-NEXT: }, | |
2585 // CHECK-NEXT: { | |
2586 // CHECK-NEXT: "id": "0x{{.*}}", | |
2587 // CHECK-NEXT: "kind": "FunctionTemplateDecl", | |
2588 // CHECK-NEXT: "loc": { | |
2589 // CHECK-NEXT: "offset": 922, | |
2590 // CHECK-NEXT: "line": 59, | |
2591 // CHECK-NEXT: "col": 6, | |
2592 // CHECK-NEXT: "tokLen": 1 | |
2593 // CHECK-NEXT: }, | |
2594 // CHECK-NEXT: "range": { | |
2595 // CHECK-NEXT: "begin": { | |
2596 // CHECK-NEXT: "offset": 876, | |
2597 // CHECK-NEXT: "line": 58, | |
2598 // CHECK-NEXT: "col": 1, | |
2599 // CHECK-NEXT: "tokLen": 8 | |
2600 // CHECK-NEXT: }, | |
2601 // CHECK-NEXT: "end": { | |
2602 // CHECK-NEXT: "offset": 924, | |
2603 // CHECK-NEXT: "line": 59, | |
2604 // CHECK-NEXT: "col": 8, | |
2605 // CHECK-NEXT: "tokLen": 1 | |
2606 // CHECK-NEXT: } | |
2607 // CHECK-NEXT: }, | |
2608 // CHECK-NEXT: "name": "i", | |
2609 // CHECK-NEXT: "inner": [ | |
2610 // CHECK-NEXT: { | |
2611 // CHECK-NEXT: "id": "0x{{.*}}", | |
2612 // CHECK-NEXT: "kind": "TemplateTemplateParmDecl", | |
2613 // CHECK-NEXT: "loc": { | |
2614 // CHECK-NEXT: "offset": 912, | |
2615 // CHECK-NEXT: "line": 58, | |
2616 // CHECK-NEXT: "col": 37, | |
2617 // CHECK-NEXT: "tokLen": 1 | |
2618 // CHECK-NEXT: }, | |
2619 // CHECK-NEXT: "range": { | |
2620 // CHECK-NEXT: "begin": { | |
2621 // CHECK-NEXT: "offset": 886, | |
2622 // CHECK-NEXT: "col": 11, | |
2623 // CHECK-NEXT: "tokLen": 8 | |
2624 // CHECK-NEXT: }, | |
2625 // CHECK-NEXT: "end": { | |
2626 // CHECK-NEXT: "offset": 914, | |
2627 // CHECK-NEXT: "col": 39, | |
2628 // CHECK-NEXT: "tokLen": 1 | |
2629 // CHECK-NEXT: } | |
2630 // CHECK-NEXT: }, | |
2631 // CHECK-NEXT: "depth": 0, | |
2632 // CHECK-NEXT: "index": 0, | |
2633 // CHECK-NEXT: "defaultArg": { | |
2634 // CHECK-NEXT: "kind": "TemplateArgument" | |
2635 // CHECK-NEXT: }, | |
2636 // CHECK-NEXT: "inner": [ | |
2637 // CHECK-NEXT: { | |
2638 // CHECK-NEXT: "id": "0x{{.*}}", | |
2639 // CHECK-NEXT: "kind": "TemplateTypeParmDecl", | |
2640 // CHECK-NEXT: "loc": { | |
2641 // CHECK-NEXT: "offset": 904, | |
2642 // CHECK-NEXT: "col": 29, | |
2643 // CHECK-NEXT: "tokLen": 1 | |
2644 // CHECK-NEXT: }, | |
2645 // CHECK-NEXT: "range": { | |
2646 // CHECK-NEXT: "begin": { | |
2647 // CHECK-NEXT: "offset": 896, | |
2648 // CHECK-NEXT: "col": 21, | |
2649 // CHECK-NEXT: "tokLen": 8 | |
2650 // CHECK-NEXT: }, | |
2651 // CHECK-NEXT: "end": { | |
2652 // CHECK-NEXT: "offset": 896, | |
2653 // CHECK-NEXT: "col": 21, | |
2654 // CHECK-NEXT: "tokLen": 8 | |
2655 // CHECK-NEXT: } | |
2656 // CHECK-NEXT: }, | |
2657 // CHECK-NEXT: "tagUsed": "typename", | |
2658 // CHECK-NEXT: "depth": 1, | |
2659 // CHECK-NEXT: "index": 0 | |
2660 // CHECK-NEXT: }, | |
2661 // CHECK-NEXT: { | |
2662 // CHECK-NEXT: "kind": "TemplateArgument", | |
2663 // CHECK-NEXT: "range": { | |
2664 // CHECK-NEXT: "begin": { | |
2665 // CHECK-NEXT: "offset": 914, | |
2666 // CHECK-NEXT: "col": 39, | |
2667 // CHECK-NEXT: "tokLen": 1 | |
2668 // CHECK-NEXT: }, | |
2669 // CHECK-NEXT: "end": { | |
2670 // CHECK-NEXT: "offset": 914, | |
2671 // CHECK-NEXT: "col": 39, | |
2672 // CHECK-NEXT: "tokLen": 1 | |
2673 // CHECK-NEXT: } | |
2674 // CHECK-NEXT: } | |
2675 // CHECK-NEXT: } | |
2676 // CHECK-NEXT: ] | |
2677 // CHECK-NEXT: }, | |
2678 // CHECK-NEXT: { | |
2679 // CHECK-NEXT: "id": "0x{{.*}}", | |
2680 // CHECK-NEXT: "kind": "FunctionDecl", | |
2681 // CHECK-NEXT: "loc": { | |
2682 // CHECK-NEXT: "offset": 922, | |
2683 // CHECK-NEXT: "line": 59, | |
2684 // CHECK-NEXT: "col": 6, | |
2685 // CHECK-NEXT: "tokLen": 1 | |
2686 // CHECK-NEXT: }, | |
2687 // CHECK-NEXT: "range": { | |
2688 // CHECK-NEXT: "begin": { | |
2689 // CHECK-NEXT: "offset": 917, | |
2690 // CHECK-NEXT: "col": 1, | |
2691 // CHECK-NEXT: "tokLen": 4 | |
2692 // CHECK-NEXT: }, | |
2693 // CHECK-NEXT: "end": { | |
2694 // CHECK-NEXT: "offset": 924, | |
2695 // CHECK-NEXT: "col": 8, | |
2696 // CHECK-NEXT: "tokLen": 1 | |
2697 // CHECK-NEXT: } | |
2698 // CHECK-NEXT: }, | |
2699 // CHECK-NEXT: "name": "i", | |
2700 // CHECK-NEXT: "type": { | |
2701 // CHECK-NEXT: "qualType": "void ()" | |
2702 // CHECK-NEXT: } | |
2703 // CHECK-NEXT: } | |
2704 // CHECK-NEXT: ] | |
2504 // CHECK-NEXT: } | 2705 // CHECK-NEXT: } |
2505 // CHECK-NEXT: ] | 2706 // CHECK-NEXT: ] |
2506 // CHECK-NEXT: } | 2707 // CHECK-NEXT: } |