2019-05-18 03:14:01 +08:00
|
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -std=c++17 -ast-dump=json %s | FileCheck %s
|
|
|
|
|
|
|
|
struct A;
|
|
|
|
struct B;
|
|
|
|
|
|
|
|
struct A {
|
|
|
|
int a;
|
|
|
|
int b, c;
|
|
|
|
int d : 12;
|
|
|
|
int : 0;
|
|
|
|
int e : 10;
|
|
|
|
B *f;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct C {
|
|
|
|
struct {
|
|
|
|
int a;
|
|
|
|
} b;
|
|
|
|
|
|
|
|
union {
|
|
|
|
int c;
|
|
|
|
float d;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct {
|
|
|
|
int e, f;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
struct D {
|
|
|
|
int a;
|
|
|
|
int b[10];
|
|
|
|
int c[];
|
|
|
|
};
|
|
|
|
|
|
|
|
union E;
|
|
|
|
|
|
|
|
union F;
|
|
|
|
|
|
|
|
union E {
|
|
|
|
int a;
|
|
|
|
int b, c;
|
|
|
|
int d : 12;
|
|
|
|
int : 0;
|
|
|
|
int e : 10;
|
|
|
|
B *f;
|
|
|
|
};
|
|
|
|
|
|
|
|
union G {
|
|
|
|
struct {
|
|
|
|
int a;
|
|
|
|
} b;
|
|
|
|
|
|
|
|
union {
|
|
|
|
int c;
|
|
|
|
float d;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct {
|
|
|
|
int e, f;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Base1 {};
|
|
|
|
struct Base2 {};
|
|
|
|
struct Base3 {};
|
|
|
|
|
|
|
|
struct Derived1 : Base1 {
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Derived2 : private Base1 {
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Derived3 : virtual Base1 {
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Derived4 : Base1, virtual Base2, protected Base3 {
|
|
|
|
};
|
|
|
|
|
|
|
|
struct Derived5 : protected virtual Base1 {
|
|
|
|
};
|
|
|
|
|
|
|
|
template <typename... Bases>
|
|
|
|
struct Derived6 : virtual public Bases... {
|
|
|
|
};
|
|
|
|
|
2019-06-21 22:37:39 +08:00
|
|
|
// NOTE: CHECK lines have been autogenerated by gen_ast_dump_json_test.py
|
|
|
|
// using --filters=CXXRecordDecl
|
|
|
|
|
2019-05-18 03:14:01 +08:00
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
|
|
|
// CHECK-NEXT: "name": "__NSConstantString_tag"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
|
|
|
// CHECK-NEXT: "name": "__va_list_tag"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 102,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "file": "{{.*}}",
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 3,
|
|
|
|
// CHECK-NEXT: "col": 8,
|
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 95,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 102,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "A",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 112,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 4,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 105,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 112,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isReferenced": true,
|
|
|
|
// CHECK-NEXT: "name": "B",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 123,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 6,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 116,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 195,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 13,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "previousDecl": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "name": "A",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 123,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 6,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 116,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 123,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "A",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 133,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 7,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 129,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 133,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 142,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 8,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 138,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 142,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "b",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 145,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 138,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 145,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "c",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 154,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 9,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 150,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 158,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "d",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isBitfield": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ConstantExpr",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 158,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 158,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-06-21 19:39:41 +08:00
|
|
|
// CHECK-NEXT: "value": "12",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 158,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 158,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "value": "12"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 168,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 10,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 164,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 170,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isBitfield": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ConstantExpr",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 170,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 170,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-06-21 19:39:41 +08:00
|
|
|
// CHECK-NEXT: "value": "0",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 170,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 170,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "value": "0"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 179,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 11,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 175,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 183,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "e",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isBitfield": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ConstantExpr",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 183,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 183,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-06-21 19:39:41 +08:00
|
|
|
// CHECK-NEXT: "value": "10",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 183,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 183,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "value": "10"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 192,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 12,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 189,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 192,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "f",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "B *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 206,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 15,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 199,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 310,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 28,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "C",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasVariantMembers": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 206,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 15,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 199,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 206,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "C",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 212,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 16,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 212,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 234,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 18,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 229,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 17,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 225,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 229,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 18,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 212,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 16,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 236,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 18,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "b",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "desugaredQualType": "C::(anonymous struct at {{.*}}:16:3)",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "qualType": "struct (anonymous struct at {{.*}}:16:3)"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 242,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 20,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 242,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 276,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 23,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "tagUsed": "union",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasVariantMembers": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 258,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 21,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 254,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 258,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "c",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 271,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 22,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 265,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 271,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "d",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "float"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 242,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 20,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 242,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 242,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "C::(anonymous union at {{.*}}:20:3)"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IndirectFieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 258,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 21,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 258,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 258,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "name": "c"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IndirectFieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 271,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 22,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 271,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 271,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "name": "d"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 282,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 25,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 282,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 307,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 27,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 299,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 26,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 295,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 299,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "e",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 302,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 295,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 302,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "f",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 282,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 25,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 282,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 282,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "C::(anonymous struct at {{.*}}:25:3)"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IndirectFieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 299,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 26,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 299,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 299,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "name": "e"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IndirectFieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 302,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 302,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 302,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "name": "f"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 321,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 30,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 314,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 358,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 34,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "D",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 321,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 30,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 314,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 321,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "D",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 331,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 31,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 327,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 331,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 340,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 32,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 336,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 344,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "b",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int [10]"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 353,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 33,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 349,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 355,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "c",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int []"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 368,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 36,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 362,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 368,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "E",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "union"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 378,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 38,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 372,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 378,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "F",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "union"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 388,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 40,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 382,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 460,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 47,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "previousDecl": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "name": "E",
|
|
|
|
// CHECK-NEXT: "tagUsed": "union",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasVariantMembers": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 388,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 40,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 382,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 388,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "E",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "union"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 398,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 41,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 394,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 398,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 407,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 42,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 403,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 407,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "b",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 410,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 403,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 410,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 10,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "c",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 419,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 43,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 415,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 423,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "d",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isBitfield": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ConstantExpr",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 423,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 423,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-06-21 19:39:41 +08:00
|
|
|
// CHECK-NEXT: "value": "12",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 423,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 423,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "value": "12"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 433,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 44,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 429,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 435,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isBitfield": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ConstantExpr",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 435,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 435,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-06-21 19:39:41 +08:00
|
|
|
// CHECK-NEXT: "value": "0",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 435,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 435,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "value": "0"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 444,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 45,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 440,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 448,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "e",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isBitfield": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ConstantExpr",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 448,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 448,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-06-21 19:39:41 +08:00
|
|
|
// CHECK-NEXT: "value": "10",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IntegerLiteral",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 448,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 448,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 2
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "valueCategory": "rvalue",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "value": "10"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 457,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 46,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 454,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 457,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 6,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "f",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "B *"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 470,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 49,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 464,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 574,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 62,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "G",
|
|
|
|
// CHECK-NEXT: "tagUsed": "union",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasVariantMembers": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 470,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 49,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 464,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 470,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 7,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "G",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "union"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 476,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 50,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 476,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 498,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 52,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 493,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 51,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 489,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 493,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "a",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 500,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 52,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 476,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 50,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 500,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 52,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "b",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "desugaredQualType": "G::(anonymous struct at {{.*}}:50:3)",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "qualType": "struct (anonymous struct at {{.*}}:50:3)"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 506,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 54,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 506,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 540,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 57,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "tagUsed": "union",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasVariantMembers": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 522,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 55,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 518,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 522,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "c",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 535,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 56,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 529,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 535,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "d",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "float"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 506,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 54,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 506,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 506,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "G::(anonymous union at {{.*}}:54:3)"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IndirectFieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 522,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 55,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 522,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 522,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "name": "c"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IndirectFieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 535,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 56,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 535,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 535,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 11,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "name": "d"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 546,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 59,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 546,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 571,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 61,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 563,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 60,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 559,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 563,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "e",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 566,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 559,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 5,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 3
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 566,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "f",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "int"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "FieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 546,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 59,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 546,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 546,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 3,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "G::(anonymous struct at {{.*}}:59:3)"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IndirectFieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 563,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 60,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 563,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 563,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 9,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "name": "e"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "IndirectFieldDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 566,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 566,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 566,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 12,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "name": "f"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 64,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 578,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 592,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 15,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isReferenced": true,
|
|
|
|
// CHECK-NEXT: "name": "Base1",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "defaultedIsConstexpr": true,
|
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "isConstexpr": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasConstexprNonCopyMoveConstructor": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isEmpty": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 578,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Base1",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base1aSERKS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base1 &(const Base1 &)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "constexpr": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "const Base1 &"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base1aSEOS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base1 &(Base1 &&)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "constexpr": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base1 &&"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXDestructorDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 585,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "~Base1",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base1D1Ev",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void ()"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 65,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 595,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 609,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 15,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isReferenced": true,
|
|
|
|
// CHECK-NEXT: "name": "Base2",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "defaultedIsConstexpr": true,
|
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "isConstexpr": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasConstexprNonCopyMoveConstructor": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isEmpty": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 595,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Base2",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base2aSERKS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base2 &(const Base2 &)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "constexpr": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "const Base2 &"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base2aSEOS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base2 &(Base2 &&)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "constexpr": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base2 &&"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXDestructorDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 602,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "~Base2",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base2D1Ev",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void ()"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 66,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 612,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 626,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 15,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isReferenced": true,
|
|
|
|
// CHECK-NEXT: "name": "Base3",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "defaultedIsConstexpr": true,
|
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "isConstexpr": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasConstexprNonCopyMoveConstructor": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isEmpty": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isPOD": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 612,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Base3",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base3aSERKS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base3 &(const Base3 &)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "constexpr": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "const Base3 &"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base3aSEOS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base3 &(Base3 &&)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "constexpr": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base3 &&"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXDestructorDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 619,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 5
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "~Base3",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN5Base3D1Ev",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void ()"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 637,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 68,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 630,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 656,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 69,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Derived1",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "defaultedIsConstexpr": true,
|
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "isConstexpr": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasConstexprNonCopyMoveConstructor": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isEmpty": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "bases": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "access": "public",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base1"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "writtenAccess": "none"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: ],
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 637,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 68,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 630,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 637,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Derived1",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 667,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 71,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 660,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 694,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 72,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Derived2",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
|
|
|
// CHECK-NEXT: "canPassInRegisters": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "defaultedIsConstexpr": true,
|
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "isConstexpr": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasConstexprNonCopyMoveConstructor": true,
|
|
|
|
// CHECK-NEXT: "isEmpty": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "bases": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "access": "private",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base1"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "writtenAccess": "private"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: ],
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 667,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 71,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 660,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 667,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Derived2",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 74,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 698,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 732,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 75,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Derived3",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "nonTrivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "bases": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "access": "public",
|
|
|
|
// CHECK-NEXT: "isVirtual": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base1"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "writtenAccess": "none"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: ],
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 74,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 698,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Derived3",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived3aSERKS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived3 &(const Derived3 &)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "const Derived3 &"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived3aSEOS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived3 &(Derived3 &&)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived3 &&"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXDestructorDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 705,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "~Derived3",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived3D1Ev",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void ()"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 77,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 736,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 794,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 78,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Derived4",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "nonTrivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "bases": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "access": "public",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base1"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "writtenAccess": "none"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "access": "public",
|
|
|
|
// CHECK-NEXT: "isVirtual": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base2"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "writtenAccess": "none"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "access": "protected",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base3"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "writtenAccess": "protected"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: ],
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 77,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 736,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Derived4",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived4aSERKS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived4 &(const Derived4 &)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "const Derived4 &"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived4aSEOS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived4 &(Derived4 &&)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived4 &&"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXDestructorDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 743,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "~Derived4",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived4D1Ev",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void ()"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 80,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 798,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 842,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 81,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Derived5",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "nonTrivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "nonTrivial": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "simple": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "bases": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "access": "protected",
|
|
|
|
// CHECK-NEXT: "isVirtual": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Base1"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "writtenAccess": "protected"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: ],
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 80,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 798,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Derived5",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived5aSERKS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived5 &(const Derived5 &)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "const Derived5 &"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXMethodDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "operator=",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived5aSEOS_",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived5 &(Derived5 &&)"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "ParmVarDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Derived5 &&"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXDestructorDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 805,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "~Derived5",
|
2019-11-15 20:33:16 +08:00
|
|
|
// CHECK-NEXT: "mangledName": "_ZN8Derived5D1Ev",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "void ()"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "inline": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "explicitlyDefaulted": "default"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
|
|
|
|
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 882,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 84,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 875,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 919,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 85,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 1
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "name": "Derived6",
|
|
|
|
// CHECK-NEXT: "tagUsed": "struct",
|
|
|
|
// CHECK-NEXT: "completeDefinition": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "definitionData": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "canConstDefaultInit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2020-06-05 10:16:05 +08:00
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "copyCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "hasConstParam": true,
|
|
|
|
// CHECK-NEXT: "implicitHasConstParam": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "defaultCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "defaultedIsConstexpr": true,
|
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "isConstexpr": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "dtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "irrelevant": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "hasConstexprNonCopyMoveConstructor": true,
|
|
|
|
// CHECK-NEXT: "isAggregate": true,
|
|
|
|
// CHECK-NEXT: "isEmpty": true,
|
|
|
|
// CHECK-NEXT: "isLiteral": true,
|
|
|
|
// CHECK-NEXT: "isStandardLayout": true,
|
|
|
|
// CHECK-NEXT: "isTrivial": true,
|
|
|
|
// CHECK-NEXT: "isTriviallyCopyable": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveAssign": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "moveCtor": {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "exists": true,
|
|
|
|
// CHECK-NEXT: "needsImplicit": true,
|
|
|
|
// CHECK-NEXT: "simple": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "trivial": true
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "bases": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "access": "public",
|
|
|
|
// CHECK-NEXT: "isPackExpansion": true,
|
|
|
|
// CHECK-NEXT: "isVirtual": true,
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "type": {
|
|
|
|
// CHECK-NEXT: "qualType": "Bases"
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "writtenAccess": "public"
|
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: ],
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "inner": [
|
|
|
|
// CHECK-NEXT: {
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "id": "0x{{.*}}",
|
|
|
|
// CHECK-NEXT: "kind": "CXXRecordDecl",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "loc": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 882,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "line": 84,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "range": {
|
|
|
|
// CHECK-NEXT: "begin": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 875,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 1,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 6
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "end": {
|
2019-10-16 01:30:19 +08:00
|
|
|
// CHECK-NEXT: "offset": 882,
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: "col": 8,
|
2019-06-25 04:07:11 +08:00
|
|
|
// CHECK-NEXT: "tokLen": 8
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: }
|
2019-06-21 21:22:35 +08:00
|
|
|
// CHECK-NEXT: },
|
|
|
|
// CHECK-NEXT: "isImplicit": true,
|
|
|
|
// CHECK-NEXT: "name": "Derived6",
|
2019-05-18 03:14:01 +08:00
|
|
|
// CHECK-NEXT: "tagUsed": "struct"
|
|
|
|
// CHECK-NEXT: }
|
|
|
|
// CHECK-NEXT: ]
|
|
|
|
// CHECK-NEXT: }
|