[clang] [clang][AST] Stop creating `ConstantExpr` nodes without a result (PR #229761)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 05:46:22 PDT 2026
================
@@ -158,20 +158,20 @@ void TestVLA(int n) {
// CHECK-NOT: {{^}}Dumping
// CHECK: "kind": "VarDecl",
// CHECK-NEXT: "loc": {
-// CHECK-NEXT: "offset": {{[0-9]+}},
+// CHECK-NEXT: "offset": 99,
----------------
zwuis wrote:
> but not sure about this and how this test was created originally if there is already a script
https://github.com/llvm/llvm-project/commit/6d8e5c968538eff2c024d46d5715de0828a69407
Perhaps `gen_ast_dump_json_test.py` should be updated.
https://github.com/llvm/llvm-project/pull/229761
More information about the cfe-commits
mailing list