================
@@ -217,21 +221,21 @@ void i();
 // CHECK-NEXT:    "id": "0x{{.*}}",
 // CHECK-NEXT:    "kind": "FunctionTemplateDecl",
 // CHECK-NEXT:    "loc": {
-// CHECK-NEXT:     "offset": {{[0-9]+}},
+// CHECK-NEXT:     "offset": 142,
----------------
tahonermann wrote:

It looks like a regular expression was previously used to avoid sensitivity to 
the `offset` values. I'm not familiar with this test, but I see the comment 
above regarding using `gen_ast_dump_json_test.py` to generate the `CHECK` 
lines. Did you use that script?

https://github.com/llvm/llvm-project/pull/70224
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to