[PATCH] D157781: [clang] Add cleanup_function field to CleanupAttr json AST dump

Paul Kirth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 14 16:30:32 PDT 2023


paulkirth added a comment.

Hi, we're seeing a test failure in our CI after this stack. Not exactly sure which commit though.

You can find the failing bot here:
https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64-rbe/b8772753421607483249/overview

Some test output from Clang :: AST/ast-dump-stmt-json.cpp:

  Script:
  --
  : 'RUN: at line 1';   /b/s/w/ir/x/w/llvm_build/bin/clang -cc1 -internal-isystem /b/s/w/ir/x/w/llvm_build/lib/clang/18/include -nostdsysteminc -std=c++2a -triple x86_64-linux-gnu -fcxx-exceptions -ast-dump=json /b/s/w/ir/x/w/llvm-llvm-project/clang/test/AST/ast-dump-stmt-json.cpp | /b/s/w/ir/x/w/llvm_build/bin/FileCheck /b/s/w/ir/x/w/llvm-llvm-project/clang/test/AST/ast-dump-stmt-json.cpp
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  /b/s/w/ir/x/w/llvm-llvm-project/clang/test/AST/ast-dump-stmt-json.cpp:1471:16: error: CHECK-NEXT: is not on the line after the previous match
  // CHECK-NEXT: },
                 ^
  <stdin>:1555:2: note: 'next' match was here
   },
   ^
  <stdin>:1553:18: note: previous match ended here
   "implicit": true,
                   ^
  <stdin>:1554:1: note: non-matching line after previous match is here
   "visibility": "default"
  ^
  
  Input file: <stdin>
  Check file: /b/s/w/ir/x/w/llvm-llvm-project/clang/test/AST/ast-dump-stmt-json.cpp
  
  -dump-input=help explains the following input dump.
  
  Input was:
  <<<<<<
             .
             .
             .
          1550:  "begin": {}, 
          1551:  "end": {} 
          1552:  }, 
          1553:  "implicit": true, 
          1554:  "visibility": "default" 
          1555:  }, 
  next:1471      !~  error: match on wrong line
          1556:  { 
          1557:  "id": "0x558ee63a5d00", 
          1558:  "kind": "ReturnsNonNullAttr", 
          1559:  "range": { 
          1560:  "begin": {}, 
             .
             .
             .
  >>>>>>
  
  --


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157781/new/

https://reviews.llvm.org/D157781



More information about the cfe-commits mailing list