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

Tom Honermann via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 27 09:19:59 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,
----------------
tahonermann wrote:

Reverting the undesired changes suffices for me. My Python experience is years out of date too :)

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


More information about the cfe-commits mailing list