[clang] [Clang] Fix a crash when using ast-dump=json (PR #70224)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 12:38:12 PDT 2023


================
@@ -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,
----------------
AaronBallman wrote:

I think we just forgot to update that script to produce regexes here; I think it's fine to revert back to the regex and fix the script in a follow-up (doesn't have to be @elizabethandrews doing the follow-up either).

https://github.com/llvm/llvm-project/pull/70224


More information about the cfe-commits mailing list