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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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: "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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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: "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-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-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-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,
|
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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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: "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-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-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-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,
|
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-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-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-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-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-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-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,
|
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-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-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-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-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-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-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,
|
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: "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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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: "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-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-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-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,
|
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: "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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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: "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-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-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-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,
|
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: "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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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: "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-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-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-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,
|
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-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-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-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: }
|