2021-06-05 05:15:23 +08:00
|
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -Wno-unused-value -std=gnu11 -ast-dump=json %s | FileCheck %s
|
|
|
|
|
|
|
|
void Comma(void) {
|
|
|
|
1, 2, 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Assignment(int a) {
|
|
|
|
a = 12;
|
|
|
|
a += a;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Conditionals(int a) {
|
|
|
|
a ? 0 : 1;
|
|
|
|
a ?: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void BinaryOperators(int a, int b) {
|
|
|
|
// Logical operators
|
|
|
|
a || b;
|
|
|
|
a && b;
|
|
|
|
|
|
|
|
// Bitwise operators
|
|
|
|
a | b;
|
|
|
|
a ^ b;
|
|
|
|
a & b;
|
|
|
|
|
|
|
|
// Equality operators
|
|
|
|
a == b;
|
|
|
|
a != b;
|
|
|
|
|
|
|
|
// Relational operators
|
|
|
|
a < b;
|
|
|
|
a > b;
|
|
|
|
a <= b;
|
|
|
|
a >= b;
|
|
|
|
|
|
|
|
// Bit shifting operators
|
|
|
|
a << b;
|
|
|
|
a >> b;
|
|
|
|
|
|
|
|
// Additive operators
|
|
|
|
a + b;
|
|
|
|
a - b;
|
|
|
|
|
|
|
|
// Multiplicative operators
|
|
|
|
a * b;
|
|
|
|
a / b;
|
|
|
|
a % b;
|
|
|
|
}
|
|
|
|
|
|
|
|
void UnaryOperators(int a, int *b) {
|
|
|
|
// Cast operators
|
|
|
|
(float)a;
|
|
|
|
|
|
|
|
// ++, --, and ~ are covered elsewhere.
|
|
|
|
|
|
|
|
-a;
|
|
|
|
+a;
|
|
|
|
&a;
|
|
|
|
*b;
|
|
|
|
!a;
|
|
|
|
|
|
|
|
sizeof a;
|
|
|
|
sizeof(int);
|
|
|
|
_Alignof(int);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct S {
|
|
|
|
int a;
|
|
|
|
};
|
|
|
|
|
|
|
|
void PostfixOperators(int *a, struct S b, struct S *c) {
|
|
|
|
a[0];
|
|
|
|
UnaryOperators(*a, a);
|
|
|
|
|
|
|
|
b.a;
|
|
|
|
c->a;
|
|
|
|
|
|
|
|
// Postfix ++ and -- are covered elsewhere.
|
|
|
|
|
|
|
|
(int [4]){1, 2, 3, 4, };
|
|
|
|
(struct S){1};
|
|
|
|
}
|
|
|
|
|
|
|
|
enum E { One };
|
|
|
|
|
|
|
|
void PrimaryExpressions(int a) {
|
|
|
|
a;
|
|
|
|
'a';
|
|
|
|
L'a';
|
|
|
|
"a";
|
|
|
|
L"a";
|
|
|
|
u8"a";
|
|
|
|
U"a";
|
|
|
|
u"a";
|
|
|
|
|
|
|
|
1;
|
|
|
|
1u;
|
|
|
|
1ll;
|
|
|
|
1.0;
|
|
|
|
1.0f;
|
|
|
|
0xFp100000000000000000000F;
|
|
|
|
1.0l;
|
|
|
|
One;
|
|
|
|
|
|
|
|
(a);
|
|
|
|
}
|
|
|
|
|
2019-11-12 20:02:07 +08:00
|
|
|
// NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py
|
|
|
|
// using --filters=FunctionDecl
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "FunctionDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 118,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "file": "{{.*}}",
|
|
|
|
// CHECK-NEXT: "line": 3,
|
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 5
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 113,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 143,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 5,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Comma",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "Comma",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (void)"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundStmt",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 130,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 3,
|
|
|
|
// CHECK-NEXT: "col": 18,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 143,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 5,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 134,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 4,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 140,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": ",",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 134,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 137,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": ",",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 134,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 134,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 137,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 137,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "2"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 140,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 140,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "3"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "FunctionDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 151,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 7,
|
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 10
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 146,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 191,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 10,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Assignment",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "Assignment",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (int)"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 166,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 7,
|
|
|
|
// CHECK-NEXT: "col": 21,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 162,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 17,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 166,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 21,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "a",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundStmt",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 169,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 24,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 191,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 10,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 173,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 8,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 177,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 2
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "=",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 173,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 173,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 177,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 2
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 177,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 2
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "12"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundAssignOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 183,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 9,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 188,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "+=",
|
|
|
|
// CHECK-NEXT: "computeLHSType": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "computeResultType": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 183,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 183,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 188,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 188,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 188,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 188,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "FunctionDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 199,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 12,
|
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 12
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 194,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 244,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 15,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Conditionals",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "Conditionals",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (int)"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 216,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 12,
|
|
|
|
// CHECK-NEXT: "col": 23,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 212,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 216,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 23,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "a",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundStmt",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 219,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 26,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 244,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 15,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ConditionalOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 223,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 13,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 231,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 223,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 223,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 223,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 223,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 227,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 227,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "0"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 231,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 231,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryConditionalOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 14,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 241,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "OpaqueValueExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "OpaqueValueExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 241,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 241,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "0"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "FunctionDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 252,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 17,
|
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 15
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 247,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 638,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 49,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "BinaryOperators",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "BinaryOperators",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (int, int)"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 272,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 17,
|
|
|
|
// CHECK-NEXT: "col": 26,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 268,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 22,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 272,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 26,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "a",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 279,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 33,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 275,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 29,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 279,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 33,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "b",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "b",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundStmt",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 282,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 36,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 638,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 49,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 309,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 19,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 314,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "||",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 309,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 309,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 309,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 309,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 314,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 314,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 314,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 314,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 319,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 20,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 324,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "&&",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 319,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 319,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 319,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 319,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 324,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 324,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 324,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 324,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 353,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 23,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 357,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "|",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 353,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 353,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 353,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 353,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 357,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 357,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 357,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 357,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 362,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 24,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 366,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "^",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 362,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 362,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 362,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 362,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 366,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 366,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 366,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 366,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 371,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 25,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 375,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "&",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 371,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 371,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 371,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 371,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 375,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 375,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 375,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 375,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 405,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 28,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 410,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "==",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 405,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 405,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 405,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 405,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 410,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 410,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 410,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 410,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 415,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 29,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 420,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "!=",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 415,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 415,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 415,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 415,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 420,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 420,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 420,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 420,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 452,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 32,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 456,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "<",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 452,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 452,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 452,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 452,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 456,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 456,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 456,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 456,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 461,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 33,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 465,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": ">",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 461,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 461,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 461,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 461,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 465,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 465,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 465,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 465,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 470,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 34,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 475,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "<=",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 470,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 470,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 470,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 470,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 475,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 475,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 475,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 475,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 480,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 35,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 485,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": ">=",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 480,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 480,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 480,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 480,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 485,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 485,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 485,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 485,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 519,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 38,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 524,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "<<",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 519,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 519,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 519,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 519,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 524,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 524,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 524,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 524,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 529,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 39,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 534,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": ">>",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 529,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 529,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 529,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 529,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 534,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 534,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 534,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 534,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 564,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 42,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 568,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "+",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 564,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 564,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 564,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 564,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 568,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 568,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 568,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 568,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 573,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 43,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 577,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "-",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 573,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 573,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 573,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 573,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 577,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 577,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 577,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 577,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 613,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 46,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 617,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "*",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 613,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 613,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 613,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 613,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 617,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 617,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 617,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 617,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 622,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 47,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 626,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "/",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 622,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 622,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 622,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 622,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 626,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 626,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 626,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 626,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "BinaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 631,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 48,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 635,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "opcode": "%",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 631,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 631,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 631,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 631,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 635,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 635,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 635,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 635,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "FunctionDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 646,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 51,
|
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 14
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 641,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 829,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 66,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "UnaryOperators",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "UnaryOperators",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (int, int *)"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 665,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 51,
|
|
|
|
// CHECK-NEXT: "col": 25,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 661,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 21,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 665,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 25,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "a",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 673,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 33,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 668,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 28,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 673,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 33,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "b",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "b",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundStmt",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 676,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 36,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 829,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 66,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CStyleCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 700,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 53,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 707,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "float"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "IntegralToFloating",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 707,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 707,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "isPartOfExplicitCast": true,
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 707,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 707,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 756,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 57,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 757,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "isPostfix": false,
|
|
|
|
// CHECK-NEXT: "opcode": "-",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 757,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 757,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 757,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 757,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 762,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 58,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 763,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "isPostfix": false,
|
|
|
|
// CHECK-NEXT: "opcode": "+",
|
|
|
|
// CHECK-NEXT: "canOverflow": false,
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 763,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 763,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 763,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 763,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 768,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 59,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 769,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "isPostfix": false,
|
|
|
|
// CHECK-NEXT: "opcode": "&",
|
|
|
|
// CHECK-NEXT: "canOverflow": false,
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 769,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 769,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 774,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 60,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 775,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 774,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 775,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "isPostfix": false,
|
|
|
|
// CHECK-NEXT: "opcode": "*",
|
|
|
|
// CHECK-NEXT: "canOverflow": false,
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 775,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 775,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 775,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 775,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 780,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 61,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 781,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "isPostfix": false,
|
|
|
|
// CHECK-NEXT: "opcode": "!",
|
|
|
|
// CHECK-NEXT: "canOverflow": false,
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 781,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 781,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 781,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 781,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryExprOrTypeTraitExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 787,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 63,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 6
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 794,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "unsigned long"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "name": "sizeof",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 794,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 794,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "nonOdrUseReason": "unevaluated"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryExprOrTypeTraitExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 799,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 64,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 6
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 809,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 13,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "unsigned long"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "name": "sizeof",
|
|
|
|
// CHECK-NEXT: "argType": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryExprOrTypeTraitExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 814,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 65,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 8
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 826,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 15,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "unsigned long"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "name": "alignof",
|
|
|
|
// CHECK-NEXT: "argType": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "FunctionDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 861,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 72,
|
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 16
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 856,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1054,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 83,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "PostfixOperators",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "PostfixOperators",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (int *, struct S, struct S *)"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 883,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 72,
|
|
|
|
// CHECK-NEXT: "col": 28,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 878,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 23,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 883,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 28,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "a",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 895,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 40,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 886,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 31,
|
|
|
|
// CHECK-NEXT: "tokLen": 6
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 895,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 40,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "b",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "b",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "desugaredQualType": "struct S",
|
|
|
|
// CHECK-NEXT: "qualType": "struct S"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 908,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 53,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 898,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 43,
|
|
|
|
// CHECK-NEXT: "tokLen": 6
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 908,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 53,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "c",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "c",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "struct S *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundStmt",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 911,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 56,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1054,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 83,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 915,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 73,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 918,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ArraySubscriptExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 915,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 918,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 915,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 915,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 915,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 915,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 917,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 917,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "0"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CallExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 923,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 74,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 14
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 943,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 23,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 923,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 14
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 923,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 14
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (*)(int, int *)"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "FunctionToPointerDecay",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 923,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 14
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 923,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 14
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (int, int *)"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FunctionDecl",
|
|
|
|
// CHECK-NEXT: "name": "UnaryOperators",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (int, int *)"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 938,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 18,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 939,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "UnaryOperator",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 938,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 18,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 939,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "isPostfix": false,
|
|
|
|
// CHECK-NEXT: "opcode": "*",
|
|
|
|
// CHECK-NEXT: "canOverflow": false,
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 939,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 939,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 939,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 939,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 942,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 22,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 942,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 22,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 942,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 22,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 942,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 22,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 949,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 76,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 951,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "MemberExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 949,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 951,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "isArrow": false,
|
|
|
|
// CHECK-NEXT: "referencedMemberDecl": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 949,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 949,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "desugaredQualType": "struct S",
|
|
|
|
// CHECK-NEXT: "qualType": "struct S"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "b",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "desugaredQualType": "struct S",
|
|
|
|
// CHECK-NEXT: "qualType": "struct S"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 956,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 77,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 959,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "MemberExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 956,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 959,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "isArrow": true,
|
|
|
|
// CHECK-NEXT: "referencedMemberDecl": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 956,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 956,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "struct S *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 956,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 956,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "struct S *"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "c",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "struct S *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1012,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 81,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1034,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 25,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "ArrayToPointerDecay",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundLiteralExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1012,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1034,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 25,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int [4]"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "InitListExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1021,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1034,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 25,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int [4]"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1022,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 13,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1022,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 13,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1025,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 16,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1025,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 16,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "2"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1028,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1028,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 19,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "3"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1031,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 22,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1031,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 22,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "4"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1039,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 82,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1051,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 15,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "desugaredQualType": "struct S",
|
|
|
|
// CHECK-NEXT: "qualType": "struct S"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundLiteralExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1039,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1051,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 15,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "desugaredQualType": "struct S",
|
|
|
|
// CHECK-NEXT: "qualType": "struct S"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "InitListExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1049,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 13,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1051,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 15,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "desugaredQualType": "struct S",
|
|
|
|
// CHECK-NEXT: "qualType": "struct S"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1050,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 14,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1050,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 14,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "FunctionDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1079,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 87,
|
|
|
|
// CHECK-NEXT: "col": 6,
|
|
|
|
// CHECK-NEXT: "tokLen": 18
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1074,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1254,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 107,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "PrimaryExpressions",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "PrimaryExpressions",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void (int)"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "loc": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1102,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 87,
|
|
|
|
// CHECK-NEXT: "col": 29,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1098,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 25,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1102,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 29,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isUsed": true,
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "a",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CompoundStmt",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1105,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 32,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1254,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 107,
|
|
|
|
// CHECK-NEXT: "col": 1,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1109,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 88,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1109,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1109,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1109,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CharacterLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1114,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 89,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1114,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": 97
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CharacterLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1121,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 90,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1121,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": 97
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1129,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 91,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1129,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "char *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "ArrayToPointerDecay",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "StringLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1129,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1129,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "char [2]"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "value": "\"a\""
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1136,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 92,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1136,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "ArrayToPointerDecay",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "StringLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1136,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1136,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int [2]"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "value": "L\"a\""
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1144,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 93,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 5
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1144,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 5
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "char *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "ArrayToPointerDecay",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "StringLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1144,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 5
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1144,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 5
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "char [2]"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "value": "u8\"a\""
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1153,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 94,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1153,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "unsigned int *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "ArrayToPointerDecay",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "StringLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1153,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1153,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "unsigned int [2]"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "value": "U\"a\""
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1161,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 95,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1161,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "unsigned short *"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "ArrayToPointerDecay",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "StringLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1161,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1161,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "unsigned short [2]"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "value": "u\"a\""
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1170,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 97,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1170,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1175,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 98,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 2
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1175,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 2
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "unsigned int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1181,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 99,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1181,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "long long"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FloatingLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1188,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 100,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1188,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "double"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FloatingLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1195,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 101,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1195,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "float"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FloatingLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1203,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 102,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 26
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1203,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 26
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "float"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "+Inf"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FloatingLiteral",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1233,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 103,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1233,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 4
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "long double"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "value": "1"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1241,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 104,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1241,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 3
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "EnumConstantDecl",
|
|
|
|
// CHECK-NEXT: "name": "One",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ImplicitCastExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1249,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "line": 106,
|
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1251,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "valueCategory": "prvalue",
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "castKind": "LValueToRValue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParenExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1249,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1251,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "DeclRefExpr",
|
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1250,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "end": {
|
2021-06-05 05:15:23 +08:00
|
|
|
// CHECK-NEXT: "offset": 1250,
|
2019-11-12 20:02:07 +08:00
|
|
|
// CHECK-NEXT: "col": 4,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "lvalue",
|
|
|
|
// CHECK-NEXT: "referencedDecl": {
|
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
|
|
|
// CHECK-NEXT: "name": "a",
|
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|