// 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); | |
} | |
// NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py | |
// using --filters=FunctionDecl | |
// CHECK: "kind": "FunctionDecl", | |
// CHECK-NEXT: "loc": { | |
// CHECK-NEXT: "offset": 120, | |
// CHECK-NEXT: "file": "{{.*}}", | |
// CHECK-NEXT: "line": 3, | |
// CHECK-NEXT: "col": 6, | |
// CHECK-NEXT: "tokLen": 5 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 115, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 4 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 147, | |
// CHECK-NEXT: "line": 5, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "name": "Comma", | |
// 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": { | |
// CHECK-NEXT: "offset": 132, | |
// CHECK-NEXT: "line": 3, | |
// CHECK-NEXT: "col": 18, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 147, | |
// 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": { | |
// CHECK-NEXT: "offset": 137, | |
// CHECK-NEXT: "line": 4, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 143, | |
// CHECK-NEXT: "col": 9, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": ",", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "BinaryOperator", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 137, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 140, | |
// CHECK-NEXT: "col": 6, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": ",", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "IntegerLiteral", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 137, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 137, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "value": "1" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "IntegerLiteral", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 140, | |
// CHECK-NEXT: "col": 6, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 140, | |
// CHECK-NEXT: "col": 6, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// 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": { | |
// CHECK-NEXT: "offset": 143, | |
// CHECK-NEXT: "col": 9, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 143, | |
// CHECK-NEXT: "col": 9, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "value": "3" | |
// CHECK-NEXT: } | |
// CHECK-NEXT: ] | |
// CHECK-NEXT: } | |
// CHECK-NEXT: ] | |
// CHECK-NEXT: } | |
// CHECK-NEXT: ] | |
// CHECK-NEXT: } | |
// CHECK: "kind": "FunctionDecl", | |
// CHECK-NEXT: "loc": { | |
// CHECK-NEXT: "offset": 157, | |
// CHECK-NEXT: "line": 7, | |
// CHECK-NEXT: "col": 6, | |
// CHECK-NEXT: "tokLen": 10 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 152, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 4 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 200, | |
// CHECK-NEXT: "line": 10, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "name": "Assignment", | |
// 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": { | |
// CHECK-NEXT: "offset": 172, | |
// CHECK-NEXT: "line": 7, | |
// CHECK-NEXT: "col": 21, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 168, | |
// CHECK-NEXT: "col": 17, | |
// CHECK-NEXT: "tokLen": 3 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 172, | |
// CHECK-NEXT: "col": 21, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "isUsed": true, | |
// CHECK-NEXT: "name": "a", | |
// 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": { | |
// CHECK-NEXT: "offset": 175, | |
// CHECK-NEXT: "col": 24, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 200, | |
// 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": { | |
// CHECK-NEXT: "offset": 180, | |
// CHECK-NEXT: "line": 8, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 184, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 2 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "=", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 180, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 180, | |
// 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": { | |
// CHECK-NEXT: "offset": 184, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 2 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 184, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 2 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// 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": { | |
// CHECK-NEXT: "offset": 191, | |
// CHECK-NEXT: "line": 9, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 196, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// 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": { | |
// CHECK-NEXT: "offset": 191, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 191, | |
// 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": { | |
// CHECK-NEXT: "offset": 196, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 196, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 196, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 196, | |
// 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": { | |
// CHECK-NEXT: "offset": 210, | |
// CHECK-NEXT: "line": 12, | |
// CHECK-NEXT: "col": 6, | |
// CHECK-NEXT: "tokLen": 12 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 205, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 4 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 258, | |
// CHECK-NEXT: "line": 15, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "name": "Conditionals", | |
// 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": { | |
// CHECK-NEXT: "offset": 227, | |
// CHECK-NEXT: "line": 12, | |
// CHECK-NEXT: "col": 23, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 223, | |
// CHECK-NEXT: "col": 19, | |
// CHECK-NEXT: "tokLen": 3 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 227, | |
// CHECK-NEXT: "col": 23, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "isUsed": true, | |
// CHECK-NEXT: "name": "a", | |
// 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": { | |
// CHECK-NEXT: "offset": 230, | |
// CHECK-NEXT: "col": 26, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 258, | |
// 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": { | |
// CHECK-NEXT: "offset": 235, | |
// CHECK-NEXT: "line": 13, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 243, | |
// CHECK-NEXT: "col": 11, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 235, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 235, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 235, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 235, | |
// 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": { | |
// CHECK-NEXT: "offset": 239, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 239, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "value": "0" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "IntegerLiteral", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 243, | |
// CHECK-NEXT: "col": 11, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 243, | |
// CHECK-NEXT: "col": 11, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// 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": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "line": 14, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 254, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 249, | |
// 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": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 249, | |
// 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": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 249, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 249, | |
// 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": { | |
// CHECK-NEXT: "offset": 254, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 254, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "value": "0" | |
// CHECK-NEXT: } | |
// CHECK-NEXT: ] | |
// CHECK-NEXT: } | |
// CHECK-NEXT: ] | |
// CHECK-NEXT: } | |
// CHECK-NEXT: ] | |
// CHECK-NEXT: } | |
// CHECK: "kind": "FunctionDecl", | |
// CHECK-NEXT: "loc": { | |
// CHECK-NEXT: "offset": 268, | |
// CHECK-NEXT: "line": 17, | |
// CHECK-NEXT: "col": 6, | |
// CHECK-NEXT: "tokLen": 15 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 263, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 4 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 686, | |
// CHECK-NEXT: "line": 49, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "name": "BinaryOperators", | |
// 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": { | |
// CHECK-NEXT: "offset": 288, | |
// CHECK-NEXT: "line": 17, | |
// CHECK-NEXT: "col": 26, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 284, | |
// CHECK-NEXT: "col": 22, | |
// CHECK-NEXT: "tokLen": 3 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 288, | |
// CHECK-NEXT: "col": 26, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "isUsed": true, | |
// CHECK-NEXT: "name": "a", | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ParmVarDecl", | |
// CHECK-NEXT: "loc": { | |
// CHECK-NEXT: "offset": 295, | |
// CHECK-NEXT: "col": 33, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 291, | |
// CHECK-NEXT: "col": 29, | |
// CHECK-NEXT: "tokLen": 3 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 295, | |
// CHECK-NEXT: "col": 33, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "isUsed": true, | |
// CHECK-NEXT: "name": "b", | |
// 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": { | |
// CHECK-NEXT: "offset": 298, | |
// CHECK-NEXT: "col": 36, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 686, | |
// 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": { | |
// CHECK-NEXT: "offset": 327, | |
// CHECK-NEXT: "line": 19, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 332, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "||", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 327, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 327, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 327, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 327, | |
// 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": { | |
// CHECK-NEXT: "offset": 332, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 332, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 332, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 332, | |
// 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": { | |
// CHECK-NEXT: "offset": 338, | |
// CHECK-NEXT: "line": 20, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 343, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "&&", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 338, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 338, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 338, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 338, | |
// 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": { | |
// CHECK-NEXT: "offset": 343, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 343, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 343, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 343, | |
// 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": { | |
// CHECK-NEXT: "offset": 375, | |
// CHECK-NEXT: "line": 23, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 379, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "|", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 375, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 375, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 375, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 375, | |
// 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": { | |
// CHECK-NEXT: "offset": 379, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 379, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 379, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 379, | |
// 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": { | |
// CHECK-NEXT: "offset": 385, | |
// CHECK-NEXT: "line": 24, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 389, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "^", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 385, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 385, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 385, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 385, | |
// 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": { | |
// CHECK-NEXT: "offset": 389, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 389, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 389, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 389, | |
// 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": { | |
// CHECK-NEXT: "offset": 395, | |
// CHECK-NEXT: "line": 25, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 399, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "&", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 395, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 395, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 395, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 395, | |
// 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": { | |
// CHECK-NEXT: "offset": 399, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 399, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 399, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 399, | |
// 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": { | |
// CHECK-NEXT: "offset": 432, | |
// CHECK-NEXT: "line": 28, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 437, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "==", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 432, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 432, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 432, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 432, | |
// 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": { | |
// CHECK-NEXT: "offset": 437, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 437, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 437, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 437, | |
// 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": { | |
// CHECK-NEXT: "offset": 443, | |
// CHECK-NEXT: "line": 29, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 448, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "!=", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 443, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 443, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 443, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 443, | |
// 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": { | |
// CHECK-NEXT: "offset": 448, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 448, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 448, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 448, | |
// 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": { | |
// CHECK-NEXT: "offset": 483, | |
// CHECK-NEXT: "line": 32, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 487, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "<", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 483, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 483, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 483, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 483, | |
// 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": { | |
// CHECK-NEXT: "offset": 487, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 487, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 487, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 487, | |
// 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": { | |
// CHECK-NEXT: "offset": 493, | |
// CHECK-NEXT: "line": 33, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 497, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": ">", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 493, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 493, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 493, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 493, | |
// 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": { | |
// CHECK-NEXT: "offset": 497, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 497, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 497, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 497, | |
// 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": { | |
// CHECK-NEXT: "offset": 503, | |
// CHECK-NEXT: "line": 34, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 508, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "<=", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 503, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 503, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 503, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 503, | |
// 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": { | |
// CHECK-NEXT: "offset": 508, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 508, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 508, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 508, | |
// 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": { | |
// CHECK-NEXT: "offset": 514, | |
// CHECK-NEXT: "line": 35, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 519, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": ">=", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 514, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 514, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 514, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 514, | |
// 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": { | |
// CHECK-NEXT: "offset": 519, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 519, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 519, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 519, | |
// 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": { | |
// CHECK-NEXT: "offset": 556, | |
// CHECK-NEXT: "line": 38, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 561, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "<<", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 556, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 556, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 556, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 556, | |
// 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": { | |
// CHECK-NEXT: "offset": 561, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 561, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 561, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 561, | |
// 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": { | |
// CHECK-NEXT: "offset": 567, | |
// CHECK-NEXT: "line": 39, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 572, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": ">>", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 567, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 567, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 567, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 567, | |
// 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": { | |
// CHECK-NEXT: "offset": 572, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 572, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 572, | |
// CHECK-NEXT: "col": 8, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 572, | |
// 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": { | |
// CHECK-NEXT: "offset": 605, | |
// CHECK-NEXT: "line": 42, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 609, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "+", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 605, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 605, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 605, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 605, | |
// 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": { | |
// CHECK-NEXT: "offset": 609, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 609, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 609, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 609, | |
// 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": { | |
// CHECK-NEXT: "offset": 615, | |
// CHECK-NEXT: "line": 43, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 619, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "-", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 615, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 615, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 615, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 615, | |
// 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": { | |
// CHECK-NEXT: "offset": 619, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 619, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 619, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 619, | |
// 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": { | |
// CHECK-NEXT: "offset": 658, | |
// CHECK-NEXT: "line": 46, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 662, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "*", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 658, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 658, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 658, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 658, | |
// 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": { | |
// CHECK-NEXT: "offset": 662, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 662, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 662, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 662, | |
// 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": { | |
// CHECK-NEXT: "offset": 668, | |
// CHECK-NEXT: "line": 47, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 672, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "/", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 668, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 668, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 668, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 668, | |
// 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": { | |
// CHECK-NEXT: "offset": 672, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 672, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 672, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 672, | |
// 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": { | |
// CHECK-NEXT: "offset": 678, | |
// CHECK-NEXT: "line": 48, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 682, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "opcode": "%", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 678, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 678, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 678, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 678, | |
// 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": { | |
// CHECK-NEXT: "offset": 682, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 682, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 682, | |
// CHECK-NEXT: "col": 7, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 682, | |
// 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": { | |
// CHECK-NEXT: "offset": 696, | |
// CHECK-NEXT: "line": 51, | |
// CHECK-NEXT: "col": 6, | |
// CHECK-NEXT: "tokLen": 14 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 691, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 4 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 894, | |
// CHECK-NEXT: "line": 66, | |
// CHECK-NEXT: "col": 1, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "isUsed": true, | |
// CHECK-NEXT: "name": "UnaryOperators", | |
// 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": { | |
// CHECK-NEXT: "offset": 715, | |
// CHECK-NEXT: "line": 51, | |
// CHECK-NEXT: "col": 25, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 711, | |
// CHECK-NEXT: "col": 21, | |
// CHECK-NEXT: "tokLen": 3 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 715, | |
// CHECK-NEXT: "col": 25, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "isUsed": true, | |
// CHECK-NEXT: "name": "a", | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ParmVarDecl", | |
// CHECK-NEXT: "loc": { | |
// CHECK-NEXT: "offset": 723, | |
// CHECK-NEXT: "col": 33, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 718, | |
// CHECK-NEXT: "col": 28, | |
// CHECK-NEXT: "tokLen": 3 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 723, | |
// CHECK-NEXT: "col": 33, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "isUsed": true, | |
// CHECK-NEXT: "name": "b", | |
// 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": { | |
// CHECK-NEXT: "offset": 726, | |
// CHECK-NEXT: "col": 36, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 894, | |
// 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": { | |
// CHECK-NEXT: "offset": 752, | |
// CHECK-NEXT: "line": 53, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 759, | |
// CHECK-NEXT: "col": 10, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "float" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "IntegralToFloating", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "ImplicitCastExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 759, | |
// CHECK-NEXT: "col": 10, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 759, | |
// CHECK-NEXT: "col": 10, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// 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": { | |
// CHECK-NEXT: "offset": 759, | |
// CHECK-NEXT: "col": 10, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 759, | |
// 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": { | |
// CHECK-NEXT: "offset": 812, | |
// CHECK-NEXT: "line": 57, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 813, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// 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": { | |
// CHECK-NEXT: "offset": 813, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 813, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 813, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 813, | |
// 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": { | |
// CHECK-NEXT: "offset": 819, | |
// CHECK-NEXT: "line": 58, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 820, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// 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": { | |
// CHECK-NEXT: "offset": 820, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 820, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// CHECK-NEXT: "castKind": "LValueToRValue", | |
// CHECK-NEXT: "inner": [ | |
// CHECK-NEXT: { | |
// CHECK-NEXT: "id": "0x{{.*}}", | |
// CHECK-NEXT: "kind": "DeclRefExpr", | |
// CHECK-NEXT: "range": { | |
// CHECK-NEXT: "begin": { | |
// CHECK-NEXT: "offset": 820, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 820, | |
// 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": { | |
// CHECK-NEXT: "offset": 826, | |
// CHECK-NEXT: "line": 59, | |
// CHECK-NEXT: "col": 3, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 827, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: } | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "type": { | |
// CHECK-NEXT: "qualType": "int *" | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "valueCategory": "rvalue", | |
// 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": { | |
// CHECK-NEXT: "offset": 827, | |
// CHECK-NEXT: "col": 4, | |
// CHECK-NEXT: "tokLen": 1 | |
// CHECK-NEXT: }, | |
// CHECK-NEXT: "end": { | |
// CHECK-NEXT: "offset": 827, | |
// 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: } | |