]> granicus.if.org Git - clang/commitdiff
Fix test/AST/ast-dump-records-json.cpp after ConstantExpr change in D63376
authorFangrui Song <maskray@google.com>
Fri, 21 Jun 2019 11:39:41 +0000 (11:39 +0000)
committerFangrui Song <maskray@google.com>
Fri, 21 Jun 2019 11:39:41 +0000 (11:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364033 91177308-0d34-0410-b5e6-96231b3b80d8

test/AST/ast-dump-records-json.cpp

index 25a8f83016858883169d3b7333cbc1c7535afdf2..3515bec3fcea22a47ce99a49b46efad966c54296 100644 (file)
@@ -344,6 +344,7 @@ struct Derived6 : virtual public Bases... {
 // CHECK-NEXT:       "qualType": "int"
 // CHECK-NEXT:      }, 
 // CHECK-NEXT:      "valueCategory": "rvalue", 
+// CHECK-NEXT:      "value": "12",
 // CHECK-NEXT:      "inner": [
 // CHECK-NEXT:       {
 // CHECK-NEXT:        "id": "0x{{.*}}", 
@@ -414,6 +415,7 @@ struct Derived6 : virtual public Bases... {
 // CHECK-NEXT:       "qualType": "int"
 // CHECK-NEXT:      }, 
 // CHECK-NEXT:      "valueCategory": "rvalue", 
+// CHECK-NEXT:      "value": "0",
 // CHECK-NEXT:      "inner": [
 // CHECK-NEXT:       {
 // CHECK-NEXT:        "id": "0x{{.*}}", 
@@ -485,6 +487,7 @@ struct Derived6 : virtual public Bases... {
 // CHECK-NEXT:       "qualType": "int"
 // CHECK-NEXT:      }, 
 // CHECK-NEXT:      "valueCategory": "rvalue", 
+// CHECK-NEXT:      "value": "10",
 // CHECK-NEXT:      "inner": [
 // CHECK-NEXT:       {
 // CHECK-NEXT:        "id": "0x{{.*}}", 
@@ -1569,6 +1572,7 @@ struct Derived6 : virtual public Bases... {
 // CHECK-NEXT:       "qualType": "int"
 // CHECK-NEXT:      }, 
 // CHECK-NEXT:      "valueCategory": "rvalue", 
+// CHECK-NEXT:      "value": "12",
 // CHECK-NEXT:      "inner": [
 // CHECK-NEXT:       {
 // CHECK-NEXT:        "id": "0x{{.*}}", 
@@ -1639,6 +1643,7 @@ struct Derived6 : virtual public Bases... {
 // CHECK-NEXT:       "qualType": "int"
 // CHECK-NEXT:      }, 
 // CHECK-NEXT:      "valueCategory": "rvalue", 
+// CHECK-NEXT:      "value": "0",
 // CHECK-NEXT:      "inner": [
 // CHECK-NEXT:       {
 // CHECK-NEXT:        "id": "0x{{.*}}", 
@@ -1710,6 +1715,7 @@ struct Derived6 : virtual public Bases... {
 // CHECK-NEXT:       "qualType": "int"
 // CHECK-NEXT:      }, 
 // CHECK-NEXT:      "valueCategory": "rvalue", 
+// CHECK-NEXT:      "value": "10",
 // CHECK-NEXT:      "inner": [
 // CHECK-NEXT:       {
 // CHECK-NEXT:        "id": "0x{{.*}}",