r374921 - Add more information to JSON AST dumping of source locations.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 15 10:30:19 PDT 2019
Modified: cfe/trunk/test/AST/ast-dump-stmt-json.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-stmt-json.c?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/ast-dump-stmt-json.c (original)
+++ cfe/trunk/test/AST/ast-dump-stmt-json.c Tue Oct 15 10:30:19 2019
@@ -153,6 +153,7 @@ void TestLineNumbers(void) {
// CHECK: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 99,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 3,
// CHECK-NEXT: "col": 5,
@@ -160,10 +161,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 95,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 114,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -179,10 +182,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 114,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 114,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -199,16 +204,19 @@ void TestLineNumbers(void) {
// CHECK: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 121,
// CHECK-NEXT: "line": 4,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 117,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 140,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -224,10 +232,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 134,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 140,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -243,10 +253,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 134,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 134,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -262,10 +274,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ParenExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 138,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 140,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -280,10 +294,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 139,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 139,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -305,11 +321,13 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 164,
// CHECK-NEXT: "line": 6,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 191,
// CHECK-NEXT: "line": 9,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -321,11 +339,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 168,
// CHECK-NEXT: "line": 7,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 177,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -335,15 +355,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 172,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 168,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 176,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -359,10 +382,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 176,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 176,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -382,11 +407,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 181,
// CHECK-NEXT: "line": 8,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 189,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -396,15 +423,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 185,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 181,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 185,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -418,15 +448,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 188,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 181,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 188,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -444,16 +477,19 @@ void TestLineNumbers(void) {
// CHECK: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 198,
// CHECK-NEXT: "line": 11,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 19
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 194,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 225,
// CHECK-NEXT: "col": 32,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -469,10 +505,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BinaryConditionalOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 225,
// CHECK-NEXT: "col": 32,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -487,10 +525,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -506,10 +546,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "OpaqueValueExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -524,10 +566,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -545,10 +589,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "OpaqueValueExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -563,10 +609,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 220,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -584,10 +632,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 225,
// CHECK-NEXT: "col": 32,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 225,
// CHECK-NEXT: "col": 32,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -607,11 +657,13 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 262,
// CHECK-NEXT: "line": 13,
// CHECK-NEXT: "col": 34,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 340,
// CHECK-NEXT: "line": 25,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -623,11 +675,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 266,
// CHECK-NEXT: "line": 14,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 277,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -637,15 +691,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 271,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 266,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 276,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -662,10 +719,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 276,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 276,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -681,10 +740,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 276,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 276,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -706,11 +767,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 281,
// CHECK-NEXT: "line": 15,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 291,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -720,15 +783,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 285,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 281,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 290,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -745,10 +811,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 290,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 290,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -768,11 +836,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 296,
// CHECK-NEXT: "line": 17,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 298,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -790,10 +860,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 296,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 296,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -818,11 +890,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 304,
// CHECK-NEXT: "line": 18,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 306,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -839,10 +913,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 304,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 304,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -867,11 +943,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 313,
// CHECK-NEXT: "line": 20,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 314,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -889,10 +967,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 314,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 314,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -908,10 +988,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 314,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 314,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -927,10 +1009,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 314,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 314,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -959,11 +1043,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 320,
// CHECK-NEXT: "line": 21,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 321,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -980,10 +1066,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 321,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 321,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -999,10 +1087,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 321,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 321,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1029,11 +1119,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 328,
// CHECK-NEXT: "line": 23,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1051,10 +1143,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1070,10 +1164,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1089,10 +1185,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1121,11 +1219,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 335,
// CHECK-NEXT: "line": 24,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 336,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1143,10 +1243,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 336,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 336,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1162,10 +1264,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 336,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 336,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1194,10 +1298,12 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 387,
// CHECK-NEXT: "col": 45,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 576,
// CHECK-NEXT: "line": 34,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -1209,11 +1315,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "GenericSelectionExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 391,
// CHECK-NEXT: "line": 28,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 411,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1228,10 +1336,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 400,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 400,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1247,10 +1357,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 400,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 400,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1294,10 +1406,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 409,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 409,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1317,11 +1431,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "GenericSelectionExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 416,
// CHECK-NEXT: "line": 29,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 449,
// CHECK-NEXT: "col": 36,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1336,10 +1452,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 425,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 425,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1355,10 +1473,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 425,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 425,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1402,10 +1522,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 434,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 434,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1426,10 +1548,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 448,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 448,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1449,11 +1573,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "GenericSelectionExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 454,
// CHECK-NEXT: "line": 30,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 487,
// CHECK-NEXT: "col": 36,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1468,10 +1594,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 463,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 463,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1487,10 +1615,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 463,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 463,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1526,10 +1656,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 476,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 476,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1558,10 +1690,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 485,
// CHECK-NEXT: "col": 34,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 485,
// CHECK-NEXT: "col": 34,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1581,11 +1715,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "GenericSelectionExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 492,
// CHECK-NEXT: "line": 31,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 539,
// CHECK-NEXT: "col": 50,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1600,10 +1736,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 501,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 501,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1619,10 +1757,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 501,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 501,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1666,10 +1806,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 510,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 510,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1697,10 +1839,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 522,
// CHECK-NEXT: "col": 33,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 522,
// CHECK-NEXT: "col": 33,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1721,10 +1865,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 536,
// CHECK-NEXT: "col": 47,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 536,
// CHECK-NEXT: "col": 47,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -1744,11 +1890,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 545,
// CHECK-NEXT: "line": 33,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 574,
// CHECK-NEXT: "col": 32,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1758,15 +1906,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 549,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 545,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 573,
// CHECK-NEXT: "col": 31,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1782,10 +1933,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "GenericSelectionExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 553,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 573,
// CHECK-NEXT: "col": 31,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1800,10 +1953,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 562,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 562,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1819,10 +1974,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 562,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 562,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1866,10 +2023,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 571,
// CHECK-NEXT: "col": 29,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 571,
// CHECK-NEXT: "col": 29,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1895,11 +2054,13 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 608,
// CHECK-NEXT: "line": 36,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 756,
// CHECK-NEXT: "line": 50,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -1911,11 +2072,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "LabelStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 675,
// CHECK-NEXT: "line": 39,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 685,
// CHECK-NEXT: "line": 40,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -1929,10 +2092,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 685,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 685,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1945,11 +2110,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "GotoStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 690,
// CHECK-NEXT: "line": 42,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 695,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: }
@@ -1961,11 +2128,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "LabelStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 704,
// CHECK-NEXT: "line": 44,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 714,
// CHECK-NEXT: "line": 45,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -1979,10 +2148,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 714,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 714,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2000,11 +2171,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 720,
// CHECK-NEXT: "line": 47,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 740,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2014,15 +2187,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 726,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 720,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 734,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: }
@@ -2039,10 +2215,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "AddrLabelExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 732,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 734,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: }
@@ -2063,11 +2241,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IndirectGotoStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 745,
// CHECK-NEXT: "line": 49,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 751,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2078,10 +2258,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 751,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 751,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2097,10 +2279,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 751,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 751,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2116,10 +2300,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 751,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 751,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2150,10 +2336,12 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 782,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 904,
// CHECK-NEXT: "line": 64,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2165,11 +2353,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "SwitchStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 786,
// CHECK-NEXT: "line": 53,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 902,
// CHECK-NEXT: "line": 63,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -2181,11 +2371,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 794,
// CHECK-NEXT: "line": 53,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 794,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2201,10 +2393,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 794,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 794,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2229,10 +2423,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 797,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 902,
// CHECK-NEXT: "line": 63,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -2244,11 +2440,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CaseStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 801,
// CHECK-NEXT: "line": 54,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 813,
// CHECK-NEXT: "line": 55,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
@@ -2260,11 +2458,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ConstantExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 806,
// CHECK-NEXT: "line": 54,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 806,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2279,10 +2479,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 806,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 806,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2300,11 +2502,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BreakStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 813,
// CHECK-NEXT: "line": 55,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 813,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: }
@@ -2317,11 +2521,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CaseStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 822,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 844,
// CHECK-NEXT: "line": 58,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
@@ -2333,11 +2539,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ConstantExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 827,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 827,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2352,10 +2560,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 827,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 827,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2373,11 +2583,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CaseStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 832,
// CHECK-NEXT: "line": 57,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 844,
// CHECK-NEXT: "line": 58,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
@@ -2389,11 +2601,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ConstantExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 837,
// CHECK-NEXT: "line": 57,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 837,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2408,10 +2622,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 837,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 837,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2429,11 +2645,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BreakStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 844,
// CHECK-NEXT: "line": 58,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 844,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: }
@@ -2448,11 +2666,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DefaultStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 853,
// CHECK-NEXT: "line": 59,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 7
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 866,
// CHECK-NEXT: "line": 60,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
@@ -2464,10 +2684,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BreakStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 866,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 866,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: }
@@ -2480,11 +2702,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CaseStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 875,
// CHECK-NEXT: "line": 61,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 893,
// CHECK-NEXT: "line": 62,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
@@ -2497,11 +2721,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ConstantExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 880,
// CHECK-NEXT: "line": 61,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 880,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2516,10 +2742,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 880,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 880,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2537,10 +2765,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ConstantExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 886,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 886,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2555,10 +2785,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 886,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 886,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2576,11 +2808,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BreakStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 893,
// CHECK-NEXT: "line": 62,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 893,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: }
@@ -2599,10 +2833,12 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 928,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1095,
// CHECK-NEXT: "line": 91,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2614,11 +2850,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 932,
// CHECK-NEXT: "line": 67,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 943,
// CHECK-NEXT: "line": 68,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -2630,11 +2868,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 936,
// CHECK-NEXT: "line": 67,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 936,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2650,10 +2890,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 936,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 936,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2678,11 +2920,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 943,
// CHECK-NEXT: "line": 68,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 943,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2695,11 +2939,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 948,
// CHECK-NEXT: "line": 70,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 956,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2710,10 +2956,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 952,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 952,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2729,10 +2977,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 952,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 952,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2757,10 +3007,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 955,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 956,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2773,11 +3025,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 961,
// CHECK-NEXT: "line": 72,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 985,
// CHECK-NEXT: "line": 75,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -2790,11 +3044,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 965,
// CHECK-NEXT: "line": 72,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 965,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2810,10 +3066,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 965,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 965,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2838,11 +3096,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 972,
// CHECK-NEXT: "line": 73,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 972,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2853,11 +3113,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 985,
// CHECK-NEXT: "line": 75,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 985,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2870,11 +3132,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 990,
// CHECK-NEXT: "line": 77,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1008,
// CHECK-NEXT: "line": 78,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
@@ -2887,11 +3151,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 994,
// CHECK-NEXT: "line": 77,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 994,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2907,10 +3173,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 994,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 994,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2935,10 +3203,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 997,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 998,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2949,11 +3219,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1007,
// CHECK-NEXT: "line": 78,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1008,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2966,11 +3238,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1013,
// CHECK-NEXT: "line": 80,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "line": 83,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -2983,11 +3257,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1017,
// CHECK-NEXT: "line": 80,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1017,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3003,10 +3279,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1017,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1017,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3031,11 +3309,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1024,
// CHECK-NEXT: "line": 81,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1024,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3046,11 +3326,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1033,
// CHECK-NEXT: "line": 82,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "line": 83,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3062,11 +3344,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1037,
// CHECK-NEXT: "line": 82,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1037,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3082,10 +3366,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1037,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1037,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3110,11 +3396,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "line": 83,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3129,11 +3417,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1049,
// CHECK-NEXT: "line": 85,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1093,
// CHECK-NEXT: "line": 90,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3146,11 +3436,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1053,
// CHECK-NEXT: "line": 85,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1053,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3166,10 +3458,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1053,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1053,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3194,11 +3488,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1060,
// CHECK-NEXT: "line": 86,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1060,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3209,11 +3505,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1069,
// CHECK-NEXT: "line": 87,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1093,
// CHECK-NEXT: "line": 90,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3226,11 +3524,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1073,
// CHECK-NEXT: "line": 87,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1073,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3246,10 +3546,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1073,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1073,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3274,11 +3576,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1080,
// CHECK-NEXT: "line": 88,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1080,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3289,11 +3593,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1093,
// CHECK-NEXT: "line": 90,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1093,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3310,10 +3616,12 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1126,
// CHECK-NEXT: "col": 29,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1322,
// CHECK-NEXT: "line": 118,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -3325,11 +3633,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "WhileStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1130,
// CHECK-NEXT: "line": 94,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1144,
// CHECK-NEXT: "line": 95,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3341,11 +3651,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1137,
// CHECK-NEXT: "line": 94,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1137,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3361,10 +3673,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1137,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1137,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3389,11 +3703,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1144,
// CHECK-NEXT: "line": 95,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1144,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3406,11 +3722,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DoStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1149,
// CHECK-NEXT: "line": 97,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1168,
// CHECK-NEXT: "line": 99,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
@@ -3422,11 +3740,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1156,
// CHECK-NEXT: "line": 98,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1156,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3437,11 +3757,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1167,
// CHECK-NEXT: "line": 99,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1167,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3457,10 +3779,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1167,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1167,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3487,11 +3811,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ForStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1174,
// CHECK-NEXT: "line": 101,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1207,
// CHECK-NEXT: "line": 102,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3503,11 +3829,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1179,
// CHECK-NEXT: "line": 101,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1188,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3517,15 +3845,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1183,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1179,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1187,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3542,10 +3873,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1187,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1187,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3566,10 +3899,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1190,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1194,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -3585,10 +3920,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1190,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1190,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3604,10 +3941,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1190,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1190,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3632,10 +3971,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1194,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1194,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -3653,10 +3994,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1198,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1200,
// CHECK-NEXT: "col": 29,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3673,10 +4016,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1200,
// CHECK-NEXT: "col": 29,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1200,
// CHECK-NEXT: "col": 29,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3701,11 +4046,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1207,
// CHECK-NEXT: "line": 102,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1207,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3718,11 +4065,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ForStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1212,
// CHECK-NEXT: "line": 104,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1230,
// CHECK-NEXT: "line": 105,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3734,11 +4083,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1217,
// CHECK-NEXT: "line": 104,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1217,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3754,10 +4105,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1217,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1217,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3783,10 +4136,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1220,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1220,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3802,10 +4157,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1220,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1220,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3830,10 +4187,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1223,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1223,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3849,10 +4208,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1223,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1223,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3877,11 +4238,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1230,
// CHECK-NEXT: "line": 105,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1230,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3894,11 +4257,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ForStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1235,
// CHECK-NEXT: "line": 107,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1257,
// CHECK-NEXT: "line": 108,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3912,11 +4277,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1242,
// CHECK-NEXT: "line": 107,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1242,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3932,10 +4299,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1242,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1242,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3960,10 +4329,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1245,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3979,10 +4350,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1245,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1245,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4005,10 +4378,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1249,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4024,10 +4399,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1249,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4045,10 +4422,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4064,10 +4443,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4098,11 +4479,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1257,
// CHECK-NEXT: "line": 108,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1257,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4115,11 +4498,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ForStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1262,
// CHECK-NEXT: "line": 110,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1277,
// CHECK-NEXT: "line": 111,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -4133,11 +4518,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1269,
// CHECK-NEXT: "line": 110,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1269,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4153,10 +4540,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1269,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1269,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4182,11 +4571,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1277,
// CHECK-NEXT: "line": 111,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1277,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4199,11 +4590,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ForStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1282,
// CHECK-NEXT: "line": 113,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1302,
// CHECK-NEXT: "line": 114,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -4218,11 +4611,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1290,
// CHECK-NEXT: "line": 113,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4238,10 +4633,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1290,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1290,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4264,10 +4661,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1294,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4283,10 +4682,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1294,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4304,10 +4705,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4323,10 +4726,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4357,11 +4762,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1302,
// CHECK-NEXT: "line": 114,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1302,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4374,11 +4781,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ForStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1307,
// CHECK-NEXT: "line": 116,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1320,
// CHECK-NEXT: "line": 117,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -4394,10 +4803,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1320,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1320,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4412,11 +4823,13 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1346,
// CHECK-NEXT: "line": 120,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1490,
// CHECK-NEXT: "line": 130,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -4428,11 +4841,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "WhileStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1414,
// CHECK-NEXT: "line": 123,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1453,
// CHECK-NEXT: "line": 126,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -4444,11 +4859,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1421,
// CHECK-NEXT: "line": 123,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1421,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4464,10 +4881,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1424,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1453,
// CHECK-NEXT: "line": 126,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -4479,11 +4898,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ContinueStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1430,
// CHECK-NEXT: "line": 124,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1430,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -4494,11 +4915,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "BreakStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1444,
// CHECK-NEXT: "line": 125,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1444,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: }
@@ -4513,11 +4936,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ReturnStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1457,
// CHECK-NEXT: "line": 127,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1457,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: }
@@ -4528,11 +4953,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ReturnStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1468,
// CHECK-NEXT: "line": 129,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1487,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4543,10 +4970,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CallExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1475,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1487,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4561,10 +4990,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1475,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1475,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: }
@@ -4580,10 +5011,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1475,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1475,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: }
@@ -4608,10 +5041,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1486,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1486,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4633,11 +5068,13 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1518,
// CHECK-NEXT: "line": 132,
// CHECK-NEXT: "col": 26,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1542,
// CHECK-NEXT: "line": 134,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -4649,11 +5086,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "StmtExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1522,
// CHECK-NEXT: "line": 133,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1539,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4668,10 +5107,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1523,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1538,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4682,10 +5123,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1524,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1534,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4695,15 +5138,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1528,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1524,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1532,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -4720,10 +5166,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1532,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1532,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -4743,10 +5191,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1536,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1536,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4762,10 +5212,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1536,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1536,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4796,11 +5248,13 @@ void TestLineNumbers(void) {
// CHECK: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1572,
// CHECK-NEXT: "line": 136,
// CHECK-NEXT: "col": 28,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "line": 148,
// CHECK-NEXT: "presumedLine": 200003,
// CHECK-NEXT: "col": 1,
@@ -4813,11 +5267,13 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1576,
// CHECK-NEXT: "line": 137,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1581,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4827,15 +5283,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1580,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1576,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1580,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4852,12 +5311,14 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "line": 142,
// CHECK-NEXT: "presumedLine": 100000,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1622,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4867,15 +5328,18 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1621,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1621,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4893,12 +5357,14 @@ void TestLineNumbers(void) {
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
// CHECK-NEXT: "spellingLoc": {
+// CHECK-NEXT: "offset": 1644,
// CHECK-NEXT: "line": 145,
// CHECK-NEXT: "presumedLine": 200000,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "expansionLoc": {
+// CHECK-NEXT: "offset": 1640,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3,
// CHECK-NEXT: "isMacroArgExpansion": true
@@ -4906,10 +5372,12 @@ void TestLineNumbers(void) {
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
// CHECK-NEXT: "spellingLoc": {
+// CHECK-NEXT: "offset": 1644,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "expansionLoc": {
+// CHECK-NEXT: "offset": 1640,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3,
// CHECK-NEXT: "isMacroArgExpansion": true
Modified: cfe/trunk/test/AST/ast-dump-stmt-json.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-stmt-json.cpp?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/ast-dump-stmt-json.cpp (original)
+++ cfe/trunk/test/AST/ast-dump-stmt-json.cpp Tue Oct 15 10:30:19 2019
@@ -128,16 +128,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 125,
// CHECK-NEXT: "line": 4,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 120,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 137,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -153,10 +156,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 136,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 137,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -168,16 +173,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "UsingDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 164,
// CHECK-NEXT: "line": 7,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 155,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 164,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -188,15 +196,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "UsingShadowDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 164,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 164,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 164,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -215,16 +226,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "UsingDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 183,
// CHECK-NEXT: "line": 8,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 174,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 183,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -235,15 +249,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "UsingShadowDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 183,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 183,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 183,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -262,16 +279,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 198,
// CHECK-NEXT: "line": 9,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 12
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 193,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 258,
// CHECK-NEXT: "line": 12,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -287,11 +307,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 213,
// CHECK-NEXT: "line": 9,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 258,
// CHECK-NEXT: "line": 12,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -303,11 +325,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 217,
// CHECK-NEXT: "line": 10,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 240,
// CHECK-NEXT: "col": 26,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -317,15 +341,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 224,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 217,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 232,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -341,10 +368,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 231,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 232,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -362,10 +391,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 232,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 232,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -399,11 +430,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 244,
// CHECK-NEXT: "line": 11,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 255,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -419,10 +452,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 244,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 244,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -450,10 +485,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 255,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 255,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -474,16 +511,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 266,
// CHECK-NEXT: "line": 14,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 261,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 315,
// CHECK-NEXT: "line": 19,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -499,11 +539,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 279,
// CHECK-NEXT: "line": 14,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 315,
// CHECK-NEXT: "line": 19,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -515,11 +557,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXTryStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 283,
// CHECK-NEXT: "line": 15,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 313,
// CHECK-NEXT: "line": 18,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -531,11 +575,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 287,
// CHECK-NEXT: "line": 15,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 291,
// CHECK-NEXT: "line": 16,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -547,11 +593,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXCatchStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 295,
// CHECK-NEXT: "line": 17,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 313,
// CHECK-NEXT: "line": 18,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -562,16 +610,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 306,
// CHECK-NEXT: "line": 17,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 302,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 306,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -586,10 +637,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 309,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 313,
// CHECK-NEXT: "line": 18,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -608,16 +661,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 323,
// CHECK-NEXT: "line": 21,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 318,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 370,
// CHECK-NEXT: "line": 26,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -633,11 +689,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 336,
// CHECK-NEXT: "line": 21,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 370,
// CHECK-NEXT: "line": 26,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -649,11 +707,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXTryStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 340,
// CHECK-NEXT: "line": 22,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 368,
// CHECK-NEXT: "line": 25,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -665,11 +725,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 344,
// CHECK-NEXT: "line": 22,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 348,
// CHECK-NEXT: "line": 23,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -681,11 +743,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXCatchStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 352,
// CHECK-NEXT: "line": 24,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 368,
// CHECK-NEXT: "line": 25,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -693,18 +757,20 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}"
+// CHECK-NEXT: "id": "0x0"
// CHECK-NEXT: },
// CHECK-NEXT: {
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 364,
// CHECK-NEXT: "line": 24,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 368,
// CHECK-NEXT: "line": 25,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
@@ -723,16 +789,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 378,
// CHECK-NEXT: "line": 28,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 19
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 373,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 502,
// CHECK-NEXT: "line": 36,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -748,11 +817,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 400,
// CHECK-NEXT: "line": 28,
// CHECK-NEXT: "col": 28,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 502,
// CHECK-NEXT: "line": 36,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -764,11 +835,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 404,
// CHECK-NEXT: "line": 29,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 410,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -778,15 +851,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 409,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 404,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 409,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -804,11 +880,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 414,
// CHECK-NEXT: "line": 30,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 422,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -824,10 +902,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 414,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 414,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -850,10 +930,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXNewExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 418,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 422,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -878,11 +960,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXDeleteExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 429,
// CHECK-NEXT: "line": 31,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 436,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -905,10 +989,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 436,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 436,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -924,10 +1010,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 436,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 436,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -954,11 +1042,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 441,
// CHECK-NEXT: "line": 32,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 454,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -974,10 +1064,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 441,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 441,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1000,10 +1092,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXNewExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 445,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 454,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1027,10 +1121,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 453,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 453,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1046,10 +1142,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 453,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 453,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1071,11 +1169,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXDeleteExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 459,
// CHECK-NEXT: "line": 33,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 468,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1100,10 +1200,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 468,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 468,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1119,10 +1221,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 468,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 468,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1149,11 +1253,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 473,
// CHECK-NEXT: "line": 34,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -1169,10 +1275,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 473,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 473,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1195,10 +1303,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXNewExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 477,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -1224,11 +1334,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXDeleteExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 490,
// CHECK-NEXT: "line": 35,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 499,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1252,10 +1364,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 499,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 499,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1271,10 +1385,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 499,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 499,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1664,17 +1780,20 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 598,
// CHECK-NEXT: "line": 40,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 27
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 571,
// CHECK-NEXT: "line": 39,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 658,
// CHECK-NEXT: "line": 43,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -1686,16 +1805,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 590,
// CHECK-NEXT: "line": 39,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 581,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 590,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1710,16 +1832,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 598,
// CHECK-NEXT: "line": 40,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 27
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 593,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 658,
// CHECK-NEXT: "line": 43,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -1735,11 +1860,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 628,
// CHECK-NEXT: "line": 40,
// CHECK-NEXT: "col": 36,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 658,
// CHECK-NEXT: "line": 43,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -1751,11 +1878,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 632,
// CHECK-NEXT: "line": 41,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 644,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1765,15 +1894,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 635,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 632,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 643,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1790,10 +1922,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXNewExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 639,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 643,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1812,11 +1946,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXDeleteExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 648,
// CHECK-NEXT: "line": 42,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 655,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1831,10 +1967,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 655,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 655,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1864,17 +2002,20 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 766,
// CHECK-NEXT: "line": 51,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 28
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 739,
// CHECK-NEXT: "line": 50,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 905,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -1886,16 +2027,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 758,
// CHECK-NEXT: "line": 50,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 749,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 758,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1910,16 +2054,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 766,
// CHECK-NEXT: "line": 51,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 28
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 761,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 905,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -1935,11 +2082,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 797,
// CHECK-NEXT: "line": 51,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 905,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -1951,11 +2100,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 801,
// CHECK-NEXT: "line": 52,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 31
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 839,
// CHECK-NEXT: "col": 41,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1965,15 +2116,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 836,
// CHECK-NEXT: "col": 38,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 801,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 31
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 836,
// CHECK-NEXT: "col": 38,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -1991,11 +2145,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 843,
// CHECK-NEXT: "line": 53,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 858,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2011,10 +2167,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXDependentScopeMemberExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 843,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 847,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: }
@@ -2031,10 +2189,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 843,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 843,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2059,10 +2219,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXUnresolvedConstructExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 856,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 858,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2079,11 +2241,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 863,
// CHECK-NEXT: "line": 54,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 878,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2099,10 +2263,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXDependentScopeMemberExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 863,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 867,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: }
@@ -2119,10 +2285,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 863,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 863,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2147,10 +2315,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXUnresolvedConstructExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 876,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 878,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2166,10 +2336,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "InitListExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 877,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 878,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2188,11 +2360,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 883,
// CHECK-NEXT: "line": 55,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 902,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2208,10 +2382,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXDependentScopeMemberExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 883,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 891,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: }
@@ -2228,10 +2404,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ParenExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 883,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 888,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2246,10 +2424,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 884,
// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 885,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2267,10 +2447,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 885,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 885,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2299,10 +2481,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXUnresolvedConstructExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 900,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 902,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2324,17 +2508,20 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1049,
// CHECK-NEXT: "line": 65,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 36
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1022,
// CHECK-NEXT: "line": 64,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1173,
// CHECK-NEXT: "line": 68,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2346,16 +2533,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1041,
// CHECK-NEXT: "line": 64,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1032,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1041,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2370,16 +2560,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1049,
// CHECK-NEXT: "line": 65,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 36
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1173,
// CHECK-NEXT: "line": 68,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2395,11 +2588,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1088,
// CHECK-NEXT: "line": 65,
// CHECK-NEXT: "col": 45,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1173,
// CHECK-NEXT: "line": 68,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2411,11 +2606,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1092,
// CHECK-NEXT: "line": 66,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 36
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1135,
// CHECK-NEXT: "col": 46,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2425,15 +2622,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1132,
// CHECK-NEXT: "col": 43,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1092,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 36
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1132,
// CHECK-NEXT: "col": 43,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2451,11 +2651,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1139,
// CHECK-NEXT: "line": 67,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1170,
// CHECK-NEXT: "col": 34,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2471,10 +2673,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXDependentScopeMemberExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1139,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1162,
// CHECK-NEXT: "col": 26,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2492,10 +2696,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "TemplateArgument",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1159,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1159,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2511,10 +2717,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1139,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1139,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -2539,10 +2747,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXScalarValueInitExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1166,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1170,
// CHECK-NEXT: "col": 34,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2564,16 +2774,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1214,
// CHECK-NEXT: "line": 75,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 17
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1209,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1253,
// CHECK-NEXT: "line": 78,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2589,11 +2802,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1234,
// CHECK-NEXT: "line": 76,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1253,
// CHECK-NEXT: "line": 78,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2605,11 +2820,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1238,
// CHECK-NEXT: "line": 77,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1251,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2619,15 +2836,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1240,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1238,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2643,10 +2863,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "InitListExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1248,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2661,10 +2883,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "InitListExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1250,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2687,10 +2911,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "InitListExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1249,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1249,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2713,10 +2939,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1249,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1249,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2743,16 +2971,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1261,
// CHECK-NEXT: "line": 80,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1256,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1307,
// CHECK-NEXT: "line": 83,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2767,16 +2998,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1276,
// CHECK-NEXT: "line": 80,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1272,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1276,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2792,10 +3026,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1279,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1307,
// CHECK-NEXT: "line": 83,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2807,11 +3043,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "SwitchStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1283,
// CHECK-NEXT: "line": 81,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1305,
// CHECK-NEXT: "line": 82,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -2824,11 +3062,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1291,
// CHECK-NEXT: "line": 81,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1296,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2838,15 +3078,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1291,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1295,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2863,10 +3106,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1298,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1298,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2882,10 +3127,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1298,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1298,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2910,11 +3157,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1305,
// CHECK-NEXT: "line": 82,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1305,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2930,16 +3179,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1315,
// CHECK-NEXT: "line": 85,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1310,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1456,
// CHECK-NEXT: "line": 96,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2954,16 +3206,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1327,
// CHECK-NEXT: "line": 85,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1322,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1327,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2979,10 +3234,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1330,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1456,
// CHECK-NEXT: "line": 96,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2994,11 +3251,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1334,
// CHECK-NEXT: "line": 86,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1363,
// CHECK-NEXT: "line": 87,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3011,11 +3270,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1338,
// CHECK-NEXT: "line": 86,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1354,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3025,15 +3286,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1348,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1338,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1352,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -3050,10 +3314,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1352,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1352,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -3073,10 +3339,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1356,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1356,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3092,10 +3360,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1356,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1356,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3111,10 +3381,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1356,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1356,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3142,11 +3414,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1363,
// CHECK-NEXT: "line": 87,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1363,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3159,11 +3433,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1368,
// CHECK-NEXT: "line": 89,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1402,
// CHECK-NEXT: "line": 90,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3176,11 +3452,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ConstantExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1382,
// CHECK-NEXT: "line": 89,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1395,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3196,10 +3474,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1382,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1395,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3215,10 +3495,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryExprOrTypeTraitExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1382,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1390,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3234,10 +3516,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ParenExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1388,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1390,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3252,10 +3536,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1389,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1389,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3283,10 +3569,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1395,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1395,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3302,10 +3590,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1395,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1395,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3327,11 +3617,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1402,
// CHECK-NEXT: "line": 90,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1402,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3344,11 +3636,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IfStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1407,
// CHECK-NEXT: "line": 92,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1454,
// CHECK-NEXT: "line": 95,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3362,11 +3656,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ConstantExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1421,
// CHECK-NEXT: "line": 92,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1434,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3382,10 +3678,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1421,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1434,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3401,10 +3699,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryExprOrTypeTraitExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1421,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1429,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3420,10 +3720,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ParenExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1427,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1429,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3438,10 +3740,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1428,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1428,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3469,10 +3773,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1434,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1434,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3488,10 +3794,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1434,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1434,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3513,11 +3821,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1441,
// CHECK-NEXT: "line": 93,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1441,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3528,11 +3838,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1454,
// CHECK-NEXT: "line": 95,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1454,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3548,16 +3860,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1529,
// CHECK-NEXT: "line": 103,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 13
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1524,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1706,
// CHECK-NEXT: "line": 117,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -3573,11 +3888,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1545,
// CHECK-NEXT: "line": 103,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1706,
// CHECK-NEXT: "line": 117,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -3589,11 +3906,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ForStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1549,
// CHECK-NEXT: "line": 104,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1585,
// CHECK-NEXT: "line": 105,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3605,11 +3924,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1554,
// CHECK-NEXT: "line": 104,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1563,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3619,15 +3940,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1558,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1554,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1562,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3644,10 +3968,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1562,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1562,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3667,10 +3993,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1565,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1573,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3680,15 +4008,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1569,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1565,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1573,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3705,10 +4036,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1573,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1573,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3724,10 +4057,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1573,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1573,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3756,10 +4091,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1569,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1569,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3775,10 +4112,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1569,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1569,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3794,10 +4133,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1569,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1569,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3824,10 +4165,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1576,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1578,
// CHECK-NEXT: "col": 32,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3844,10 +4187,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1578,
// CHECK-NEXT: "col": 32,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1578,
// CHECK-NEXT: "col": 32,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3872,11 +4217,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1585,
// CHECK-NEXT: "line": 105,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1585,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3889,11 +4236,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1590,
// CHECK-NEXT: "line": 107,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1602,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3903,15 +4252,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1594,
// CHECK-NEXT: "col": 7,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1590,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1601,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -3929,11 +4281,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXForRangeStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1606,
// CHECK-NEXT: "line": 108,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1629,
// CHECK-NEXT: "line": 109,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -3946,11 +4300,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "line": 108,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -3960,15 +4316,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -3986,10 +4345,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -4016,10 +4377,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4029,15 +4392,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4056,10 +4422,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4075,10 +4443,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4107,10 +4477,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4120,15 +4492,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -4147,10 +4522,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -4166,10 +4543,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4185,10 +4564,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4213,10 +4594,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1619,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -4238,10 +4621,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4257,10 +4642,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4277,10 +4664,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4307,10 +4696,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4327,10 +4718,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4359,10 +4752,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4380,10 +4775,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4410,10 +4807,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1611,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1623,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4423,15 +4822,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1615,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1611,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4447,10 +4849,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4466,10 +4870,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4487,10 +4893,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4507,10 +4915,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1617,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4545,11 +4955,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1629,
// CHECK-NEXT: "line": 109,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1629,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4562,11 +4974,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1634,
// CHECK-NEXT: "line": 111,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 9
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1645,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4576,15 +4990,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1644,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1634,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 9
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1644,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4601,10 +5018,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXConstructExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1644,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1644,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4628,11 +5047,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXForRangeStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1649,
// CHECK-NEXT: "line": 112,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1669,
// CHECK-NEXT: "line": 113,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -4645,11 +5066,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1662,
// CHECK-NEXT: "line": 112,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1662,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4659,15 +5082,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1662,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1662,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1662,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4685,10 +5111,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1662,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1662,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4715,10 +5143,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4728,15 +5158,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4755,10 +5188,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXMemberCallExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4773,10 +5208,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "MemberExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4794,10 +5231,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4813,10 +5252,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4849,10 +5290,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4862,15 +5305,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4889,10 +5335,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXMemberCallExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4907,10 +5355,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "MemberExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4928,10 +5378,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4947,10 +5399,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -4983,10 +5437,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5002,10 +5458,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5022,10 +5480,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5052,10 +5512,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5072,10 +5534,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5104,10 +5568,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5125,10 +5591,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5155,10 +5623,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1654,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1663,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5168,15 +5638,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1658,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1654,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5192,10 +5665,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5211,10 +5686,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5232,10 +5709,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5252,10 +5731,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1660,
// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5290,11 +5771,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1669,
// CHECK-NEXT: "line": 113,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1669,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5307,11 +5790,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CXXForRangeStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1674,
// CHECK-NEXT: "line": 115,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1704,
// CHECK-NEXT: "line": 116,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
@@ -5323,11 +5808,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1679,
// CHECK-NEXT: "line": 115,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1684,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5337,15 +5824,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1683,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1679,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1683,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5362,10 +5852,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -5375,15 +5867,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -5401,10 +5896,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -5431,10 +5928,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5444,15 +5943,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5471,10 +5973,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5490,10 +5994,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5522,10 +6028,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5535,15 +6043,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -5562,10 +6073,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -5581,10 +6094,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5600,10 +6115,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5628,10 +6145,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1694,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -5653,10 +6172,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "BinaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5672,10 +6193,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5692,10 +6215,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5722,10 +6247,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5742,10 +6269,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5774,10 +6303,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5795,10 +6326,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5825,10 +6358,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1686,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1698,
// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5838,15 +6373,18 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1690,
// CHECK-NEXT: "col": 19,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1686,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5862,10 +6400,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5881,10 +6421,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "UnaryOperator",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5902,10 +6444,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5922,10 +6466,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1692,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5960,11 +6506,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "NullStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1704,
// CHECK-NEXT: "line": 116,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1704,
// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -5980,17 +6528,20 @@ void TestDependentGenericSelectionExpr(T
// CHECK: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1737,
// CHECK-NEXT: "line": 120,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 33
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1709,
// CHECK-NEXT: "line": 119,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1844,
// CHECK-NEXT: "line": 123,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -6002,16 +6553,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1728,
// CHECK-NEXT: "line": 119,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1719,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1728,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -6026,16 +6580,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1737,
// CHECK-NEXT: "line": 120,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 33
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1732,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1844,
// CHECK-NEXT: "line": 123,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -6050,16 +6607,19 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 1774,
// CHECK-NEXT: "line": 120,
// CHECK-NEXT: "col": 43,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1771,
// CHECK-NEXT: "col": 40,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1774,
// CHECK-NEXT: "col": 43,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -6075,10 +6635,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1777,
// CHECK-NEXT: "col": 46,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1844,
// CHECK-NEXT: "line": 123,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -6090,11 +6652,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "GenericSelectionExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1781,
// CHECK-NEXT: "line": 121,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1813,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -6110,10 +6674,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1790,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1790,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -6163,10 +6729,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1799,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1799,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -6187,10 +6755,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1812,
// CHECK-NEXT: "col": 34,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1812,
// CHECK-NEXT: "col": 34,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -6210,11 +6780,13 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "GenericSelectionExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1818,
// CHECK-NEXT: "line": 122,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1841,
// CHECK-NEXT: "col": 26,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -6230,10 +6802,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1827,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1827,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -6276,10 +6850,12 @@ void TestDependentGenericSelectionExpr(T
// CHECK-NEXT: "kind": "IntegerLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1840,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1840,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
Modified: cfe/trunk/test/AST/ast-dump-stmt-json.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-stmt-json.m?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/ast-dump-stmt-json.m (original)
+++ cfe/trunk/test/AST/ast-dump-stmt-json.m Tue Oct 15 10:30:19 2019
@@ -22,195 +22,216 @@ void TestObjCAtCatchStmt() {
// NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py
-// CHECK: "kind": "FunctionDecl",
+// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "file": "{{.*}}",
-// CHECK-NEXT: "line": 3,
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 143,
+// CHECK-NEXT: "file": "{{.*}}",
+// CHECK-NEXT: "line": 3,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 13
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 138,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 5,
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 177,
+// CHECK-NEXT: "line": 5,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
-// CHECK-NEXT: "name": "TestBlockExpr",
+// CHECK-NEXT: },
+// CHECK-NEXT: "name": "TestBlockExpr",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "void (int)"
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ParmVarDecl",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "line": 3,
-// CHECK-NEXT: "col": 24,
+// CHECK-NEXT: "offset": 161,
+// CHECK-NEXT: "line": 3,
+// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 20,
+// CHECK-NEXT: "offset": 157,
+// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 3
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 24,
+// CHECK-NEXT: "offset": 161,
+// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
-// CHECK-NEXT: "isUsed": true,
-// CHECK-NEXT: "name": "x",
+// CHECK-NEXT: },
+// CHECK-NEXT: "isUsed": true,
+// CHECK-NEXT: "name": "x",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "int"
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 27,
+// CHECK-NEXT: "offset": 164,
+// CHECK-NEXT: "col": 27,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 5,
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 177,
+// CHECK-NEXT: "line": 5,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ExprWithCleanups",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ExprWithCleanups",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "line": 4,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 168,
+// CHECK-NEXT: "line": 4,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 9,
+// CHECK-NEXT: "offset": 174,
+// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "void (^)(void)"
-// CHECK-NEXT: },
-// CHECK-NEXT: "valueCategory": "rvalue",
-// CHECK-NEXT: "cleanupsHaveSideEffects": true,
+// CHECK-NEXT: },
+// CHECK-NEXT: "valueCategory": "rvalue",
+// CHECK-NEXT: "cleanupsHaveSideEffects": true,
// CHECK-NEXT: "cleanups": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "BlockDecl"
// CHECK-NEXT: }
-// CHECK-NEXT: ],
+// CHECK-NEXT: ],
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "BlockExpr",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "BlockExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 168,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 9,
+// CHECK-NEXT: "offset": 174,
+// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "void (^)(void)"
-// CHECK-NEXT: },
-// CHECK-NEXT: "valueCategory": "rvalue",
+// CHECK-NEXT: },
+// CHECK-NEXT: "valueCategory": "rvalue",
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "BlockDecl",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "BlockDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 168,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 168,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 9,
+// CHECK-NEXT: "offset": 174,
+// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "kind": "Capture",
+// CHECK-NEXT: "kind": "Capture",
// CHECK-NEXT: "var": {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ParmVarDecl",
-// CHECK-NEXT: "name": "x",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ParmVarDecl",
+// CHECK-NEXT: "name": "x",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "int"
// CHECK-NEXT: }
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 4,
+// CHECK-NEXT: "offset": 169,
+// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 9,
+// CHECK-NEXT: "offset": 174,
+// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ImplicitCastExpr",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 171,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 171,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "int"
-// CHECK-NEXT: },
-// CHECK-NEXT: "valueCategory": "rvalue",
-// CHECK-NEXT: "castKind": "LValueToRValue",
+// CHECK-NEXT: },
+// CHECK-NEXT: "valueCategory": "rvalue",
+// CHECK-NEXT: "castKind": "LValueToRValue",
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "DeclRefExpr",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 171,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 171,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "const int"
-// CHECK-NEXT: },
-// CHECK-NEXT: "valueCategory": "lvalue",
+// CHECK-NEXT: },
+// CHECK-NEXT: "valueCategory": "lvalue",
// CHECK-NEXT: "referencedDecl": {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ParmVarDecl",
-// CHECK-NEXT: "name": "x",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ParmVarDecl",
+// CHECK-NEXT: "name": "x",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "int"
// CHECK-NEXT: }
@@ -232,195 +253,216 @@ void TestObjCAtCatchStmt() {
// CHECK-NEXT: }
-// CHECK: "kind": "FunctionDecl",
+// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "file": "{{.*}}",
-// CHECK-NEXT: "line": 7,
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 185,
+// CHECK-NEXT: "file": "{{.*}}",
+// CHECK-NEXT: "line": 7,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 19
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 180,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 9,
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 225,
+// CHECK-NEXT: "line": 9,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
-// CHECK-NEXT: "name": "TestExprWithCleanup",
+// CHECK-NEXT: },
+// CHECK-NEXT: "name": "TestExprWithCleanup",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "void (int)"
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ParmVarDecl",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "line": 7,
-// CHECK-NEXT: "col": 30,
+// CHECK-NEXT: "offset": 209,
+// CHECK-NEXT: "line": 7,
+// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 26,
+// CHECK-NEXT: "offset": 205,
+// CHECK-NEXT: "col": 26,
// CHECK-NEXT: "tokLen": 3
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 30,
+// CHECK-NEXT: "offset": 209,
+// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
-// CHECK-NEXT: "isUsed": true,
-// CHECK-NEXT: "name": "x",
+// CHECK-NEXT: },
+// CHECK-NEXT: "isUsed": true,
+// CHECK-NEXT: "name": "x",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "int"
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 33,
+// CHECK-NEXT: "offset": 212,
+// CHECK-NEXT: "col": 33,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 9,
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 225,
+// CHECK-NEXT: "line": 9,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ExprWithCleanups",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ExprWithCleanups",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "line": 8,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 216,
+// CHECK-NEXT: "line": 8,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 9,
+// CHECK-NEXT: "offset": 222,
+// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "void (^)(void)"
-// CHECK-NEXT: },
-// CHECK-NEXT: "valueCategory": "rvalue",
-// CHECK-NEXT: "cleanupsHaveSideEffects": true,
+// CHECK-NEXT: },
+// CHECK-NEXT: "valueCategory": "rvalue",
+// CHECK-NEXT: "cleanupsHaveSideEffects": true,
// CHECK-NEXT: "cleanups": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "BlockDecl"
// CHECK-NEXT: }
-// CHECK-NEXT: ],
+// CHECK-NEXT: ],
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "BlockExpr",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "BlockExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 216,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 9,
+// CHECK-NEXT: "offset": 222,
+// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "void (^)(void)"
-// CHECK-NEXT: },
-// CHECK-NEXT: "valueCategory": "rvalue",
+// CHECK-NEXT: },
+// CHECK-NEXT: "valueCategory": "rvalue",
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "BlockDecl",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "BlockDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 216,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 216,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 9,
+// CHECK-NEXT: "offset": 222,
+// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "kind": "Capture",
+// CHECK-NEXT: "kind": "Capture",
// CHECK-NEXT: "var": {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ParmVarDecl",
-// CHECK-NEXT: "name": "x",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ParmVarDecl",
+// CHECK-NEXT: "name": "x",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "int"
// CHECK-NEXT: }
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 4,
+// CHECK-NEXT: "offset": 217,
+// CHECK-NEXT: "col": 4,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 9,
+// CHECK-NEXT: "offset": 222,
+// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ImplicitCastExpr",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 219,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 219,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "int"
-// CHECK-NEXT: },
-// CHECK-NEXT: "valueCategory": "rvalue",
-// CHECK-NEXT: "castKind": "LValueToRValue",
+// CHECK-NEXT: },
+// CHECK-NEXT: "valueCategory": "rvalue",
+// CHECK-NEXT: "castKind": "LValueToRValue",
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "DeclRefExpr",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 219,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 219,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "const int"
-// CHECK-NEXT: },
-// CHECK-NEXT: "valueCategory": "lvalue",
+// CHECK-NEXT: },
+// CHECK-NEXT: "valueCategory": "lvalue",
// CHECK-NEXT: "referencedDecl": {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ParmVarDecl",
-// CHECK-NEXT: "name": "x",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ParmVarDecl",
+// CHECK-NEXT: "name": "x",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "int"
// CHECK-NEXT: }
@@ -442,242 +484,271 @@ void TestObjCAtCatchStmt() {
// CHECK-NEXT: }
-// CHECK: "kind": "FunctionDecl",
+// CHECK: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "file": "{{.*}}",
-// CHECK-NEXT: "line": 14,
-// CHECK-NEXT: "col": 6,
+// CHECK-NEXT: "offset": 252,
+// CHECK-NEXT: "file": "{{.*}}",
+// CHECK-NEXT: "line": 14,
+// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 19
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 247,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 20,
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 341,
+// CHECK-NEXT: "line": 20,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
-// CHECK-NEXT: "name": "TestObjCAtCatchStmt",
+// CHECK-NEXT: },
+// CHECK-NEXT: "name": "TestObjCAtCatchStmt",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "void ()"
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "line": 14,
-// CHECK-NEXT: "col": 28,
+// CHECK-NEXT: "offset": 274,
+// CHECK-NEXT: "line": 14,
+// CHECK-NEXT: "col": 28,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 20,
-// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "offset": 341,
+// CHECK-NEXT: "line": 20,
+// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ObjCAtTryStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ObjCAtTryStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "line": 15,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 278,
+// CHECK-NEXT: "line": 15,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 19,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 339,
+// CHECK-NEXT: "line": 19,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "line": 15,
-// CHECK-NEXT: "col": 8,
+// CHECK-NEXT: "offset": 283,
+// CHECK-NEXT: "line": 15,
+// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 16,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 287,
+// CHECK-NEXT: "line": 16,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ObjCAtCatchStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ObjCAtCatchStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 5,
+// CHECK-NEXT: "offset": 289,
+// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 17,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 306,
+// CHECK-NEXT: "line": 17,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "VarDecl",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "line": 16,
-// CHECK-NEXT: "col": 15,
+// CHECK-NEXT: "offset": 299,
+// CHECK-NEXT: "line": 16,
+// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 12,
+// CHECK-NEXT: "offset": 296,
+// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 15,
+// CHECK-NEXT: "offset": 299,
+// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
-// CHECK-NEXT: "name": "a",
+// CHECK-NEXT: },
+// CHECK-NEXT: "name": "a",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "A *"
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 18,
+// CHECK-NEXT: "offset": 302,
+// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 17,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 306,
+// CHECK-NEXT: "line": 17,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
// CHECK-NEXT: }
// CHECK-NEXT: }
// CHECK-NEXT: ]
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ObjCAtCatchStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ObjCAtCatchStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 5,
+// CHECK-NEXT: "offset": 308,
+// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 18,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 324,
+// CHECK-NEXT: "line": 18,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
-// CHECK-NEXT: "isCatchAll": true,
+// CHECK-NEXT: },
+// CHECK-NEXT: "isCatchAll": true,
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "line": 17,
-// CHECK-NEXT: "col": 17,
+// CHECK-NEXT: "offset": 320,
+// CHECK-NEXT: "line": 17,
+// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 18,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 324,
+// CHECK-NEXT: "line": 18,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
// CHECK-NEXT: }
// CHECK-NEXT: }
// CHECK-NEXT: ]
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ObjCAtFinallyStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ObjCAtFinallyStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 5,
+// CHECK-NEXT: "offset": 326,
+// CHECK-NEXT: "col": 5,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 19,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 339,
+// CHECK-NEXT: "line": 19,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CapturedStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CapturedStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "line": 18,
-// CHECK-NEXT: "col": 14,
+// CHECK-NEXT: "offset": 335,
+// CHECK-NEXT: "line": 18,
+// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 19,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 339,
+// CHECK-NEXT: "line": 19,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CapturedDecl",
-// CHECK-NEXT: "loc": {},
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CapturedDecl",
+// CHECK-NEXT: "loc": {},
// CHECK-NEXT: "range": {
-// CHECK-NEXT: "begin": {},
+// CHECK-NEXT: "begin": {},
// CHECK-NEXT: "end": {}
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "inner": [
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "CompoundStmt",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "line": 18,
-// CHECK-NEXT: "col": 14,
+// CHECK-NEXT: "offset": 335,
+// CHECK-NEXT: "line": 18,
+// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "line": 19,
-// CHECK-NEXT: "col": 3,
+// CHECK-NEXT: "offset": 339,
+// CHECK-NEXT: "line": 19,
+// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
// CHECK-NEXT: }
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: {
-// CHECK-NEXT: "id": "0x{{.*}}",
-// CHECK-NEXT: "kind": "ImplicitParamDecl",
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "ImplicitParamDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "line": 18,
-// CHECK-NEXT: "col": 14,
+// CHECK-NEXT: "offset": 335,
+// CHECK-NEXT: "line": 18,
+// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
-// CHECK-NEXT: "col": 14,
+// CHECK-NEXT: "offset": 335,
+// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
-// CHECK-NEXT: },
+// CHECK-NEXT: },
// CHECK-NEXT: "end": {
-// CHECK-NEXT: "col": 14,
+// CHECK-NEXT: "offset": 335,
+// CHECK-NEXT: "col": 14,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
-// CHECK-NEXT: },
-// CHECK-NEXT: "isImplicit": true,
-// CHECK-NEXT: "name": "__context",
+// CHECK-NEXT: },
+// CHECK-NEXT: "isImplicit": true,
+// CHECK-NEXT: "name": "__context",
// CHECK-NEXT: "type": {
// CHECK-NEXT: "qualType": "struct (anonymous at {{.*}}:18:14) *"
// CHECK-NEXT: }
Modified: cfe/trunk/test/AST/ast-dump-template-decls-json.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-template-decls-json.cpp?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/ast-dump-template-decls-json.cpp (original)
+++ cfe/trunk/test/AST/ast-dump-template-decls-json.cpp Tue Oct 15 10:30:19 2019
@@ -213,6 +213,7 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 142,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 4,
// CHECK-NEXT: "col": 6,
@@ -220,11 +221,13 @@ void V<Ty>::f() {}
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 114,
// CHECK-NEXT: "line": 3,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 146,
// CHECK-NEXT: "line": 4,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
@@ -236,16 +239,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 133,
// CHECK-NEXT: "line": 3,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 124,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 133,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -260,16 +266,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 142,
// CHECK-NEXT: "line": 4,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 137,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 146,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -283,15 +292,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 146,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 144,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 144,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -308,17 +320,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 181,
// CHECK-NEXT: "line": 7,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 150,
// CHECK-NEXT: "line": 6,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 188,
// CHECK-NEXT: "line": 7,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
@@ -330,16 +345,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 172,
// CHECK-NEXT: "line": 6,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 160,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 172,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -355,16 +373,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 181,
// CHECK-NEXT: "line": 7,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 176,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 188,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -378,15 +399,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 188,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 183,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 185,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -404,17 +428,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 230,
// CHECK-NEXT: "line": 10,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 192,
// CHECK-NEXT: "line": 9,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "line": 10,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
@@ -426,16 +453,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "line": 9,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 202,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -450,15 +480,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 221,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 212,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 221,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -472,16 +505,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 230,
// CHECK-NEXT: "line": 10,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 225,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -495,15 +531,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 232,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 232,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -528,17 +567,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 255,
// CHECK-NEXT: "line": 13,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 238,
// CHECK-NEXT: "line": 12,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 274,
// CHECK-NEXT: "line": 13,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
@@ -566,15 +608,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 274,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 269,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 269,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: }
@@ -589,17 +634,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 338,
// CHECK-NEXT: "line": 16,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 278,
// CHECK-NEXT: "line": 15,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 350,
// CHECK-NEXT: "line": 16,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
@@ -611,16 +659,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 297,
// CHECK-NEXT: "line": 15,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 288,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 297,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -635,15 +686,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTemplateParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 52,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 301,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 329,
// CHECK-NEXT: "col": 52,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -656,15 +710,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 318,
// CHECK-NEXT: "col": 41,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 310,
// CHECK-NEXT: "col": 33,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 310,
// CHECK-NEXT: "col": 33,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -679,16 +736,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 338,
// CHECK-NEXT: "line": 16,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 333,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 350,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -702,15 +762,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 342,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 340,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 340,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -723,15 +786,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 350,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 344,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 349,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -748,17 +814,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 379,
// CHECK-NEXT: "line": 19,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 354,
// CHECK-NEXT: "line": 18,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 383,
// CHECK-NEXT: "line": 19,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
@@ -770,16 +839,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 370,
// CHECK-NEXT: "line": 18,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 364,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 370,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -794,16 +866,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 379,
// CHECK-NEXT: "line": 19,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 374,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 383,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -817,15 +892,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 383,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 381,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 381,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -842,17 +920,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 409,
// CHECK-NEXT: "line": 22,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 387,
// CHECK-NEXT: "line": 21,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 420,
// CHECK-NEXT: "line": 22,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
@@ -864,16 +945,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "NonTypeTemplateParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 401,
// CHECK-NEXT: "line": 21,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 397,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 401,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -890,16 +974,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 409,
// CHECK-NEXT: "line": 22,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 404,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 420,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -913,15 +1000,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 415,
// CHECK-NEXT: "col": 12,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 411,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 419,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -937,10 +1027,12 @@ void V<Ty>::f() {}
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 419,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 419,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -968,17 +1060,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 458,
// CHECK-NEXT: "line": 25,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 424,
// CHECK-NEXT: "line": 24,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 462,
// CHECK-NEXT: "line": 25,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
@@ -990,16 +1085,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 443,
// CHECK-NEXT: "line": 24,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 434,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 448,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -1028,16 +1126,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 458,
// CHECK-NEXT: "line": 25,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 453,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 462,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1051,15 +1152,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ParmVarDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 462,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 460,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 460,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1076,17 +1180,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 498,
// CHECK-NEXT: "line": 28,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 466,
// CHECK-NEXT: "line": 27,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 500,
// CHECK-NEXT: "line": 28,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
@@ -1098,16 +1205,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 485,
// CHECK-NEXT: "line": 27,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 476,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 487,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -1134,16 +1244,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 498,
// CHECK-NEXT: "line": 28,
// CHECK-NEXT: "col": 6,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 493,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 500,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1159,17 +1272,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ClassTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 534,
// CHECK-NEXT: "line": 31,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 504,
// CHECK-NEXT: "line": 30,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 537,
// CHECK-NEXT: "line": 31,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
@@ -1181,16 +1297,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 523,
// CHECK-NEXT: "line": 30,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 514,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 523,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1204,16 +1323,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 534,
// CHECK-NEXT: "line": 31,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 527,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 537,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1275,15 +1397,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 534,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 527,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 534,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1305,17 +1430,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ClassTemplateSpecializationDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 560,
// CHECK-NEXT: "line": 34,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 541,
// CHECK-NEXT: "line": 33,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 568,
// CHECK-NEXT: "line": 34,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
@@ -1385,15 +1513,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 560,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 553,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 560,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1408,17 +1539,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ClassTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 612,
// CHECK-NEXT: "line": 37,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 572,
// CHECK-NEXT: "line": 36,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 615,
// CHECK-NEXT: "line": 37,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
@@ -1430,16 +1564,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 591,
// CHECK-NEXT: "line": 36,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 582,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 591,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1453,15 +1590,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 601,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 595,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 601,
// CHECK-NEXT: "col": 30,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1475,16 +1615,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 612,
// CHECK-NEXT: "line": 37,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 605,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 615,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1546,15 +1689,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 612,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 605,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 612,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1571,17 +1717,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ClassTemplatePartialSpecializationDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 649,
// CHECK-NEXT: "line": 40,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 619,
// CHECK-NEXT: "line": 39,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 661,
// CHECK-NEXT: "line": 40,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 1
@@ -1656,16 +1805,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 638,
// CHECK-NEXT: "line": 39,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 629,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 638,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -1680,16 +1832,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 649,
// CHECK-NEXT: "line": 40,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 642,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 649,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1704,17 +1859,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ClassTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 688,
// CHECK-NEXT: "line": 43,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 665,
// CHECK-NEXT: "line": 42,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 691,
// CHECK-NEXT: "line": 43,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
@@ -1726,16 +1884,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "NonTypeTemplateParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 679,
// CHECK-NEXT: "line": 42,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 675,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 675,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -1750,16 +1911,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 688,
// CHECK-NEXT: "line": 43,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 681,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 691,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1821,15 +1985,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 688,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 681,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 688,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1846,17 +2013,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ClassTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 728,
// CHECK-NEXT: "line": 46,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 695,
// CHECK-NEXT: "line": 45,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 731,
// CHECK-NEXT: "line": 46,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
@@ -1868,16 +2038,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "NonTypeTemplateParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 719,
// CHECK-NEXT: "line": 45,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 705,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 705,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: }
@@ -1892,16 +2065,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 728,
// CHECK-NEXT: "line": 46,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 721,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 731,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1963,15 +2139,18 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 728,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 721,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 728,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1988,17 +2167,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "ClassTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 765,
// CHECK-NEXT: "line": 49,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 735,
// CHECK-NEXT: "line": 48,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 806,
// CHECK-NEXT: "line": 52,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2010,16 +2192,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 754,
// CHECK-NEXT: "line": 48,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 745,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 754,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -2033,16 +2218,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 765,
// CHECK-NEXT: "line": 49,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 758,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 806,
// CHECK-NEXT: "line": 52,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -2105,16 +2293,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXRecordDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 765,
// CHECK-NEXT: "line": 49,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 758,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 6
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 765,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2127,17 +2318,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 801,
// CHECK-NEXT: "line": 51,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 771,
// CHECK-NEXT: "line": 50,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 803,
// CHECK-NEXT: "line": 51,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
@@ -2149,16 +2343,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 790,
// CHECK-NEXT: "line": 50,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 781,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 790,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -2172,16 +2369,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXMethodDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 801,
// CHECK-NEXT: "line": 51,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 796,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 803,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -2201,17 +2401,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "FunctionTemplateDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 868,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 833,
// CHECK-NEXT: "line": 55,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 873,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
@@ -2225,16 +2428,19 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "TemplateTypeParmDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 852,
// CHECK-NEXT: "line": 55,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 843,
// CHECK-NEXT: "col": 11,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 852,
// CHECK-NEXT: "col": 20,
// CHECK-NEXT: "tokLen": 2
// CHECK-NEXT: }
@@ -2248,17 +2454,20 @@ void V<Ty>::f() {}
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "CXXMethodDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 868,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 13,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 810,
// CHECK-NEXT: "line": 54,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 8
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 873,
// CHECK-NEXT: "line": 56,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
@@ -2276,10 +2485,12 @@ void V<Ty>::f() {}
// CHECK-NEXT: "kind": "CompoundStmt",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 872,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 873,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
Modified: cfe/trunk/test/AST/ast-dump-temporaries-json.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-temporaries-json.cpp?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/ast-dump-temporaries-json.cpp (original)
+++ cfe/trunk/test/AST/ast-dump-temporaries-json.cpp Tue Oct 15 10:30:19 2019
@@ -25,10 +25,12 @@ void MaterializeTemp() {
// CHECK: "kind": "ExprWithCleanups",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 184,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 186,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -44,10 +46,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "MaterializeTemporaryExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 184,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 186,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -72,10 +76,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 184,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 186,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -91,10 +97,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "CXXBindTemporaryExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 184,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 186,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -118,10 +126,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "CXXTemporaryObjectExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 184,
// CHECK-NEXT: "col": 16,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 186,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -149,10 +159,12 @@ void MaterializeTemp() {
// CHECK: "kind": "ExprWithCleanups",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -167,10 +179,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "MaterializeTemporaryExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -195,10 +209,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -214,10 +230,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "FloatingLiteral",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 234,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 3
// CHECK-NEXT: }
@@ -239,11 +257,13 @@ void MaterializeTemp() {
// CHECK: "kind": "ExprWithCleanups",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 260,
// CHECK-NEXT: "line": 18,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 266,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -258,10 +278,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "CallExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 260,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 266,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -276,10 +298,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 260,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 260,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -295,10 +319,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 260,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 260,
// CHECK-NEXT: "col": 3,
// CHECK-NEXT: "tokLen": 4
// CHECK-NEXT: }
@@ -323,10 +349,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "MaterializeTemporaryExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 265,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 265,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -343,10 +371,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 265,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 265,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -362,10 +392,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 265,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 265,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -381,10 +413,12 @@ void MaterializeTemp() {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 265,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 265,
// CHECK-NEXT: "col": 8,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
Modified: cfe/trunk/test/AST/ast-dump-types-json.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/ast-dump-types-json.cpp?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/ast-dump-types-json.cpp (original)
+++ cfe/trunk/test/AST/ast-dump-types-json.cpp Tue Oct 15 10:30:19 2019
@@ -30,6 +30,7 @@ using ::TestUsingShadowDeclType;
// CHECK: "kind": "TypedefDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 204,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 12,
// CHECK-NEXT: "col": 18,
@@ -37,10 +38,12 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 187,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 7
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 204,
// CHECK-NEXT: "col": 18,
// CHECK-NEXT: "tokLen": 19
// CHECK-NEXT: }
@@ -78,6 +81,7 @@ using ::TestUsingShadowDeclType;
// CHECK: "kind": "TypedefDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 239,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 13,
// CHECK-NEXT: "col": 15,
@@ -85,10 +89,12 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 225,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 7
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 239,
// CHECK-NEXT: "col": 15,
// CHECK-NEXT: "tokLen": 19
// CHECK-NEXT: }
@@ -127,6 +133,7 @@ using ::TestUsingShadowDeclType;
// CHECK: "kind": "TypedefDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 319,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 16,
// CHECK-NEXT: "col": 22,
@@ -134,10 +141,12 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 298,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 7
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 319,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 22
// CHECK-NEXT: }
@@ -233,6 +242,7 @@ using ::TestUsingShadowDeclType;
// CHECK: "kind": "TypedefDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 366,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 18,
// CHECK-NEXT: "col": 20,
@@ -240,10 +250,12 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 347,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 7
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 397,
// CHECK-NEXT: "col": 51,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -307,6 +319,7 @@ using ::TestUsingShadowDeclType;
// CHECK: "kind": "TypedefDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 416,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 19,
// CHECK-NEXT: "col": 17,
@@ -314,10 +327,12 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 400,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 7
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 416,
// CHECK-NEXT: "col": 17,
// CHECK-NEXT: "tokLen": 25
// CHECK-NEXT: }
@@ -362,6 +377,7 @@ using ::TestUsingShadowDeclType;
// CHECK: "kind": "TypedefDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 456,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 21,
// CHECK-NEXT: "col": 13,
@@ -369,10 +385,12 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 444,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 7
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 490,
// CHECK-NEXT: "col": 47,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -428,8 +446,46 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: ]
// CHECK-NEXT: }
+
+// CHECK: "kind": "TypedefDecl",
+// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 506,
+// CHECK-NEXT: "file": "{{.*}}",
+// CHECK-NEXT: "line": 23,
+// CHECK-NEXT: "col": 13,
+// CHECK-NEXT: "tokLen": 23
+// CHECK-NEXT: },
+// CHECK-NEXT: "range": {
+// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 494,
+// CHECK-NEXT: "col": 1,
+// CHECK-NEXT: "tokLen": 7
+// CHECK-NEXT: },
+// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 506,
+// CHECK-NEXT: "col": 13,
+// CHECK-NEXT: "tokLen": 23
+// CHECK-NEXT: }
+// CHECK-NEXT: },
+// CHECK-NEXT: "name": "TestUsingShadowDeclType",
+// CHECK-NEXT: "type": {
+// CHECK-NEXT: "qualType": "int"
+// CHECK-NEXT: },
+// CHECK-NEXT: "inner": [
+// CHECK-NEXT: {
+// CHECK-NEXT: "id": "0x{{.*}}",
+// CHECK-NEXT: "kind": "BuiltinType",
+// CHECK-NEXT: "type": {
+// CHECK-NEXT: "qualType": "int"
+// CHECK-NEXT: }
+// CHECK-NEXT: }
+// CHECK-NEXT: ]
+// CHECK-NEXT: }
+
+
// CHECK: "kind": "NamespaceDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 541,
// CHECK-NEXT: "file": "{{.*}}",
// CHECK-NEXT: "line": 24,
// CHECK-NEXT: "col": 11,
@@ -437,10 +493,12 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 531,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 9
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 609,
// CHECK-NEXT: "line": 26,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 1
@@ -452,16 +510,19 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "UsingDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 584,
// CHECK-NEXT: "line": 25,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 23
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 576,
// CHECK-NEXT: "col": 1,
// CHECK-NEXT: "tokLen": 5
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 584,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 23
// CHECK-NEXT: }
@@ -472,15 +533,18 @@ using ::TestUsingShadowDeclType;
// CHECK-NEXT: "id": "0x{{.*}}",
// CHECK-NEXT: "kind": "UsingShadowDecl",
// CHECK-NEXT: "loc": {
+// CHECK-NEXT: "offset": 584,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 23
// CHECK-NEXT: },
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 584,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 23
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 584,
// CHECK-NEXT: "col": 9,
// CHECK-NEXT: "tokLen": 23
// CHECK-NEXT: }
Modified: cfe/trunk/test/AST/gen_ast_dump_json_test.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/gen_ast_dump_json_test.py?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/gen_ast_dump_json_test.py (original)
+++ cfe/trunk/test/AST/gen_ast_dump_json_test.py Tue Oct 15 10:30:19 2019
@@ -131,10 +131,10 @@ def main():
index = 0
for append_line in append_str.splitlines()[2:]:
if index == 0:
- out_str += '// CHECK: %s\n' %(append_line)
+ out_str += '// CHECK: %s\n' %(append_line.rstrip())
index += 1
else:
- out_str += '// CHECK-NEXT: %s\n' %(append_line)
+ out_str += '// CHECK-NEXT: %s\n' %(append_line.rstrip())
f.write(out_str)
Modified: cfe/trunk/test/AST/multistep-explicit-cast-json.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/multistep-explicit-cast-json.c?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/multistep-explicit-cast-json.c (original)
+++ cfe/trunk/test/AST/multistep-explicit-cast-json.c Tue Oct 15 10:30:19 2019
@@ -41,10 +41,12 @@ signed char cstylecast_3(signed int x) {
// CHECK: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -60,10 +62,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -79,10 +83,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -109,10 +115,12 @@ signed char cstylecast_3(signed int x) {
// CHECK: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -128,10 +136,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -147,10 +157,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -177,10 +189,12 @@ signed char cstylecast_3(signed int x) {
// CHECK: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -196,10 +210,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -215,10 +231,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -245,10 +263,12 @@ signed char cstylecast_3(signed int x) {
// CHECK: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -264,10 +284,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -283,10 +305,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -313,10 +337,12 @@ signed char cstylecast_3(signed int x) {
// CHECK: "kind": "CStyleCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 468,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -332,10 +358,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -352,10 +380,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -382,10 +412,12 @@ signed char cstylecast_3(signed int x) {
// CHECK: "kind": "CStyleCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 541,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -401,10 +433,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -421,10 +455,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -451,10 +487,12 @@ signed char cstylecast_3(signed int x) {
// CHECK: "kind": "CStyleCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 612,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -470,10 +508,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -490,10 +530,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -520,10 +562,12 @@ signed char cstylecast_3(signed int x) {
// CHECK: "kind": "CStyleCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 683,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -539,10 +583,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -559,10 +605,12 @@ signed char cstylecast_3(signed int x) {
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
Modified: cfe/trunk/test/AST/multistep-explicit-cast-json.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/AST/multistep-explicit-cast-json.cpp?rev=374921&r1=374920&r2=374921&view=diff
==============================================================================
--- cfe/trunk/test/AST/multistep-explicit-cast-json.cpp (original)
+++ cfe/trunk/test/AST/multistep-explicit-cast-json.cpp Tue Oct 15 10:30:19 2019
@@ -82,10 +82,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -101,10 +103,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -120,10 +124,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 148,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -150,10 +156,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -169,10 +177,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -188,10 +198,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 208,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -218,10 +230,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -237,10 +251,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -256,10 +272,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 268,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -286,10 +304,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -305,10 +325,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -324,10 +346,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 326,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -354,10 +378,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CStyleCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 468,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -373,10 +399,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -393,10 +421,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -413,10 +443,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 483,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -445,10 +477,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CStyleCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 541,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -464,10 +498,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -484,10 +520,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -504,10 +542,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 554,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -536,10 +576,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CStyleCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 612,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -555,10 +597,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -575,10 +619,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -595,10 +641,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 627,
// CHECK-NEXT: "col": 25,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -627,10 +675,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CStyleCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 683,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -646,10 +696,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -666,10 +718,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -686,10 +740,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 696,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -718,10 +774,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CXXStaticCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 841,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 11
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 869,
// CHECK-NEXT: "col": 38,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -737,10 +795,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 868,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 868,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -757,10 +817,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 868,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 868,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -777,10 +839,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 868,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 868,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -809,10 +873,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CXXStaticCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 930,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 11
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 956,
// CHECK-NEXT: "col": 36,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -828,10 +894,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 955,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 955,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -848,10 +916,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 955,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 955,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -868,10 +938,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 955,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 955,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -900,10 +972,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CXXStaticCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1017,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 11
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1045,
// CHECK-NEXT: "col": 38,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -919,10 +993,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -939,10 +1015,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -959,10 +1037,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1044,
// CHECK-NEXT: "col": 37,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -991,10 +1071,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CXXStaticCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1104,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 11
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1130,
// CHECK-NEXT: "col": 36,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1010,10 +1092,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1129,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1129,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1030,10 +1114,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1129,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1129,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1050,10 +1136,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1129,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1129,
// CHECK-NEXT: "col": 35,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1082,10 +1170,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CXXFunctionalCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1410,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 12
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1424,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1103,10 +1193,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1423,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1423,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1125,10 +1217,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1423,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1423,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1147,10 +1241,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1423,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1423,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1183,10 +1279,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CXXFunctionalCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1487,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1499,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1204,10 +1302,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1498,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1498,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1226,10 +1326,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1498,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1498,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1248,10 +1350,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1498,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1498,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1284,10 +1388,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CXXFunctionalCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1562,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 12
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1576,
// CHECK-NEXT: "col": 24,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1305,10 +1411,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1575,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1575,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1327,10 +1435,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1575,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1575,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1349,10 +1459,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1575,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1575,
// CHECK-NEXT: "col": 23,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1385,10 +1497,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK: "kind": "CXXFunctionalCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1637,
// CHECK-NEXT: "col": 10,
// CHECK-NEXT: "tokLen": 10
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1649,
// CHECK-NEXT: "col": 22,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1406,10 +1520,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1648,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1648,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1428,10 +1544,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "ImplicitCastExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1648,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1648,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
@@ -1450,10 +1568,12 @@ SignedChar cxxfunctionalcast_3(SignedInt
// CHECK-NEXT: "kind": "DeclRefExpr",
// CHECK-NEXT: "range": {
// CHECK-NEXT: "begin": {
+// CHECK-NEXT: "offset": 1648,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: },
// CHECK-NEXT: "end": {
+// CHECK-NEXT: "offset": 1648,
// CHECK-NEXT: "col": 21,
// CHECK-NEXT: "tokLen": 1
// CHECK-NEXT: }
More information about the cfe-commits
mailing list