github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 52361 tests passed
* 935 tests skipped
* 8 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.AST/attr-counted-by-late-parsed-struct-ptrs.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-fexperimental-late-parse-attributes 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-late-parsed-struct-ptrs.c
 -ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-late-parsed-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-fexperimental-late-parse-attributes 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-late-parsed-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-late-parsed-struct-ptrs.c'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-late-parsed-struct-ptrs.c:32:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.*}} implicit 'struct 
on_pointer_anon_count::(anonymous at {{.*}})'
# |                ^
# | <stdin>:23:66: note: scanning from here
# |  | `-FieldDecl 0x19c2566af10 <line:24:5, col:9> col:9 count 'int'
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-late-parsed-struct-ptrs.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         18: | |-FieldDecl 0x19c2566abd0 <line:14:3, col:22> col:22 buf 
'struct size_known * __counted_by(count)':'struct size_known *' 
# |         19: | `-FieldDecl 0x19c2566ac40 <line:15:3, col:7> col:7 referenced 
count 'int' 
# |         20: `-RecordDecl 0x19c2566ad50 <line:21:1, line:26:1> line:21:8 
struct on_pointer_anon_count definition 
# |         21:  |-FieldDecl 0x19c2566ae20 <line:22:3, col:22> col:22 buf 
'struct size_known * __counted_by(count)':'struct size_known *' 
# |         22:  |-RecordDecl 0x19c2566ae78 <line:23:3, line:25:3> line:23:3 
struct definition 
# |         23:  | `-FieldDecl 0x19c2566af10 <line:24:5, col:9> col:9 count 
'int' 
# | next:32                                                                     
 X error: no match found
# |         24:  |-FieldDecl 0x19c2566b008 <line:23:3> col:3 implicit 'struct 
(anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-late-parsed-struct-ptrs.c:23:3)'
 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         25:  `-IndirectFieldDecl 0x19c2566b070 <line:24:9> col:9 implicit 
referenced count 'int' 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         26:  |-Field 0x19c2566b008 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-late-parsed-struct-ptrs.c:23:3)'
 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         27:  `-Field 0x19c2566af10 'count' 'int' 
# | next:32     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/attr-counted-by-or-null-late-parsed-struct-ptrs.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-fexperimental-late-parse-attributes 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-late-parsed-struct-ptrs.c
 -ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-late-parsed-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-fexperimental-late-parse-attributes 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-late-parsed-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-late-parsed-struct-ptrs.c'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-late-parsed-struct-ptrs.c:32:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.*}} implicit 'struct 
on_pointer_anon_count::(anonymous at {{.*}})'
# |                ^
# | <stdin>:23:66: note: scanning from here
# |  | `-FieldDecl 0x2117b82e240 <line:24:5, col:9> col:9 count 'int'
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-late-parsed-struct-ptrs.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         18: | |-FieldDecl 0x2117b82df00 <line:14:3, col:22> col:22 buf 
'struct size_known * __counted_by_or_null(count)':'struct size_known *' 
# |         19: | `-FieldDecl 0x2117b82df70 <line:15:3, col:7> col:7 referenced 
count 'int' 
# |         20: `-RecordDecl 0x2117b82e080 <line:21:1, line:26:1> line:21:8 
struct on_pointer_anon_count definition 
# |         21:  |-FieldDecl 0x2117b82e150 <line:22:3, col:22> col:22 buf 
'struct size_known * __counted_by_or_null(count)':'struct size_known *' 
# |         22:  |-RecordDecl 0x2117b82e1a8 <line:23:3, line:25:3> line:23:3 
struct definition 
# |         23:  | `-FieldDecl 0x2117b82e240 <line:24:5, col:9> col:9 count 
'int' 
# | next:32                                                                     
 X error: no match found
# |         24:  |-FieldDecl 0x2117b82e338 <line:23:3> col:3 implicit 'struct 
(anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-late-parsed-struct-ptrs.c:23:3)'
 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         25:  `-IndirectFieldDecl 0x2117b82e3a0 <line:24:9> col:9 implicit 
referenced count 'int' 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         26:  |-Field 0x2117b82e338 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-late-parsed-struct-ptrs.c:23:3)'
 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         27:  `-Field 0x2117b82e240 'count' 'int' 
# | next:32     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/attr-counted-by-or-null-struct-ptrs.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c
 -ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-fexperimental-late-parse-attributes 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c
 -ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-fexperimental-late-parse-attributes 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:27:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_buf::(anonymous at [[ANON_STRUCT_PATH:.+]])'
# |                ^
# | <stdin>:24:133: note: scanning from here
# | | | `-FieldDecl 0x153bbf4c070 <line:34:5, col:24> col:24 buf 'struct 
size_known * __counted_by_or_null(count)':'struct size_known *'
# |                                                                             
                                                        ^
# | <stdin>:29:37: note: possible intended match here
# | |-RecordDecl 0x153bbf4c2d8 <line:38:1, line:43:1> line:38:8 struct 
on_pointer_anon_count definition
# |                                     ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:72:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_buf_ty_pos::(anonymous at [[ANON_STRUCT_PATH2:.+]])'
# |                ^
# | <stdin>:46:133: note: scanning from here
# | | | `-FieldDecl 0x153bbf4e070 <line:79:5, col:53> col:53 buf 'struct 
size_known * __counted_by_or_null(count)':'struct size_known *'
# |                                                                             
                                                        ^
# | <stdin>:51:37: note: possible intended match here
# | `-RecordDecl 0x153bbf4e2d8 <line:90:1, line:95:1> line:90:8 struct 
on_pointer_anon_count_ty_pos definition
# |                                     ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:86:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_count_ty_pos::(anonymous at [[ANON_STRUCT_PATH3:.+]])'
# |                ^
# | <stdin>:53:66: note: scanning from here
# |  | `-FieldDecl 0x153bbf4e3f0 <line:92:5, col:9> col:9 count 'int'
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           19: | |-FieldDecl 0x153bbb58f80 <line:19:3, col:7> col:7 
referenced count 'int' 
# |           20: | `-FieldDecl 0x153bbf4bda0 <line:20:3, col:23> col:23 buf 
'struct size_known * __counted_by_or_null(count)':'struct size_known *' 
# |           21: |-RecordDecl 0x153bbf4bea8 <line:31:1, line:36:1> line:31:8 
struct on_pointer_anon_buf definition 
# |           22: | |-FieldDecl 0x153bbf4bf40 <line:32:3, col:7> col:7 
referenced count 'int' 
# |           23: | |-RecordDecl 0x153bbf4bf98 <line:33:3, line:35:3> line:33:3 
struct definition 
# |           24: | | `-FieldDecl 0x153bbf4c070 <line:34:5, col:24> col:24 buf 
'struct size_known * __counted_by_or_null(count)':'struct size_known *' 
# | next:27'0                                                                   
                                                                      X error: 
no match found
# |           25: | |-FieldDecl 0x153bbf4c1f8 <line:33:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:33:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           26: | `-IndirectFieldDecl 0x153bbf4c260 <line:34:24> col:24 
implicit buf 'struct size_known * __counted_by_or_null(count)':'struct 
size_known *' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           27: | |-Field 0x153bbf4c1f8 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:33:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28: | `-Field 0x153bbf4c070 'buf' 'struct size_known * 
__counted_by_or_null(count)':'struct size_known *' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           29: |-RecordDecl 0x153bbf4c2d8 <line:38:1, line:43:1> line:38:8 
struct on_pointer_anon_count definition 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:27'1                                         ?                         
                                       possible intended match
# |           30: | |-RecordDecl 0x153bbf4c358 <line:39:3, line:41:3> line:39:3 
struct definition 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           31: | | `-FieldDecl 0x153bbf4c3f0 <line:40:5, col:9> col:9 count 
'int' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           32: | |-FieldDecl 0x153bbf4c4e8 <line:39:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:39:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           33: | |-IndirectFieldDecl 0x153bbf4c550 <line:40:9> col:9 
implicit referenced count 'int' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           34: | | |-Field 0x153bbf4c4e8 field_index 0 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:39:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           41: | |-FieldDecl 0x153bbf4ca30 <line:64:3, col:7> col:7 
referenced count 'int' 
# |           42: | `-FieldDecl 0x153bbf4cb48 <line:65:3, col:51> col:51 buf 
'struct size_known ** __counted_by_or_null(count)':'struct size_known **' 
# |           43: |-RecordDecl 0x153bbf4dea8 <line:76:1, line:81:1> line:76:8 
struct on_pointer_anon_buf_ty_pos definition 
# |           44: | |-FieldDecl 0x153bbf4df40 <line:77:3, col:7> col:7 
referenced count 'int' 
# |           45: | |-RecordDecl 0x153bbf4df98 <line:78:3, line:80:3> line:78:3 
struct definition 
# |           46: | | `-FieldDecl 0x153bbf4e070 <line:79:5, col:53> col:53 buf 
'struct size_known * __counted_by_or_null(count)':'struct size_known *' 
# | next:72'0                                                                   
                                                                      X error: 
no match found
# |           47: | |-FieldDecl 0x153bbf4e1f8 <line:78:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:78:3)'
 
# | next:72'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           48: | `-IndirectFieldDecl 0x153bbf4e260 <line:79:53> col:53 
implicit buf 'struct size_known * __counted_by_or_null(count)':'struct 
size_known *' 
# | next:72'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           49: | |-Field 0x153bbf4e1f8 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:78:3)'
 
# | next:72'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           50: | `-Field 0x153bbf4e070 'buf' 'struct size_known * 
__counted_by_or_null(count)':'struct size_known *' 
# | next:72'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           51: `-RecordDecl 0x153bbf4e2d8 <line:90:1, line:95:1> line:90:8 
struct on_pointer_anon_count_ty_pos definition 
# | next:72'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:72'1                                         ?                         
                                              possible intended match
# |           52:  |-RecordDecl 0x153bbf4e358 <line:91:3, line:93:3> line:91:3 
struct definition 
# |           53:  | `-FieldDecl 0x153bbf4e3f0 <line:92:5, col:9> col:9 count 
'int' 
# | next:86                                                                     
   X error: no match found
# |           54:  |-FieldDecl 0x153bbf4e4e8 <line:91:3> col:3 implicit 'struct 
(anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:91:3)'
 
# | next:86       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           55:  |-IndirectFieldDecl 0x153bbf4e550 <line:92:9> col:9 implicit 
referenced count 'int' 
# | next:86       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           56:  | |-Field 0x153bbf4e4e8 field_index 0 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-or-null-struct-ptrs.c:91:3)'
 
# | next:86       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           57:  | `-Field 0x153bbf4e3f0 'count' 'int' 
# | next:86       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           58:  `-FieldDecl 0x153bbf4e5f0 <line:94:3, col:50> col:50 buf 
'struct size_known * __counted_by_or_null(count)':'struct size_known *' 
# | next:86       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/attr-counted-by-struct-ptrs.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c 
-ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-fexperimental-late-parse-attributes 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c 
-ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-fexperimental-late-parse-attributes 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:27:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_buf::(anonymous at [[ANON_STRUCT_PATH:.+]])'
# |                ^
# | <stdin>:24:125: note: scanning from here
# | | | `-FieldDecl 0x2245344d180 <line:34:5, col:24> col:24 buf 'struct 
size_known * __counted_by(count)':'struct size_known *'
# |                                                                             
                                                ^
# | <stdin>:29:37: note: possible intended match here
# | |-RecordDecl 0x2245344d3e8 <line:38:1, line:43:1> line:38:8 struct 
on_pointer_anon_count definition
# |                                     ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:69:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_buf_ty_pos::(anonymous at [[ANON_STRUCT_PATH2:.+]])'
# |                ^
# | <stdin>:46:125: note: scanning from here
# | | | `-FieldDecl 0x224534457f0 <line:76:5, col:45> col:45 buf 'struct 
size_known * __counted_by(count)':'struct size_known *'
# |                                                                             
                                                ^
# | <stdin>:51:37: note: possible intended match here
# | `-RecordDecl 0x22453445a58 <line:87:1, line:92:1> line:87:8 struct 
on_pointer_anon_count_ty_pos definition
# |                                     ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:83:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_count_ty_pos::(anonymous at [[ANON_STRUCT_PATH3:.+]])'
# |                ^
# | <stdin>:53:66: note: scanning from here
# |  | `-FieldDecl 0x22453445b70 <line:89:5, col:9> col:9 count 'int'
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           19: | |-FieldDecl 0x224531b97f0 <line:19:3, col:7> col:7 
referenced count 'int' 
# |           20: | `-FieldDecl 0x2245344ceb0 <line:20:3, col:23> col:23 buf 
'struct size_known * __counted_by(count)':'struct size_known *' 
# |           21: |-RecordDecl 0x2245344cfb8 <line:31:1, line:36:1> line:31:8 
struct on_pointer_anon_buf definition 
# |           22: | |-FieldDecl 0x2245344d050 <line:32:3, col:7> col:7 
referenced count 'int' 
# |           23: | |-RecordDecl 0x2245344d0a8 <line:33:3, line:35:3> line:33:3 
struct definition 
# |           24: | | `-FieldDecl 0x2245344d180 <line:34:5, col:24> col:24 buf 
'struct size_known * __counted_by(count)':'struct size_known *' 
# | next:27'0                                                                   
                                                              X error: no match 
found
# |           25: | |-FieldDecl 0x2245344d308 <line:33:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:33:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           26: | `-IndirectFieldDecl 0x2245344d370 <line:34:24> col:24 
implicit buf 'struct size_known * __counted_by(count)':'struct size_known *' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           27: | |-Field 0x2245344d308 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:33:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28: | `-Field 0x2245344d180 'buf' 'struct size_known * 
__counted_by(count)':'struct size_known *' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           29: |-RecordDecl 0x2245344d3e8 <line:38:1, line:43:1> line:38:8 
struct on_pointer_anon_count definition 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:27'1                                         ?                         
                                       possible intended match
# |           30: | |-RecordDecl 0x2245344d468 <line:39:3, line:41:3> line:39:3 
struct definition 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           31: | | `-FieldDecl 0x2245344d500 <line:40:5, col:9> col:9 count 
'int' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           32: | |-FieldDecl 0x2245344d5f8 <line:39:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:39:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           33: | |-IndirectFieldDecl 0x2245344d660 <line:40:9> col:9 
implicit referenced count 'int' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           34: | | |-Field 0x2245344d5f8 field_index 0 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:39:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           41: | |-FieldDecl 0x2245344db40 <line:61:3, col:7> col:7 
referenced count 'int' 
# |           42: | `-FieldDecl 0x2245344dc58 <line:62:3, col:43> col:43 buf 
'struct size_known ** __counted_by(count)':'struct size_known **' 
# |           43: |-RecordDecl 0x22453445628 <line:73:1, line:78:1> line:73:8 
struct on_pointer_anon_buf_ty_pos definition 
# |           44: | |-FieldDecl 0x224534456c0 <line:74:3, col:7> col:7 
referenced count 'int' 
# |           45: | |-RecordDecl 0x22453445718 <line:75:3, line:77:3> line:75:3 
struct definition 
# |           46: | | `-FieldDecl 0x224534457f0 <line:76:5, col:45> col:45 buf 
'struct size_known * __counted_by(count)':'struct size_known *' 
# | next:69'0                                                                   
                                                              X error: no match 
found
# |           47: | |-FieldDecl 0x22453445978 <line:75:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:75:3)'
 
# | next:69'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           48: | `-IndirectFieldDecl 0x224534459e0 <line:76:45> col:45 
implicit buf 'struct size_known * __counted_by(count)':'struct size_known *' 
# | next:69'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           49: | |-Field 0x22453445978 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:75:3)'
 
# | next:69'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           50: | `-Field 0x224534457f0 'buf' 'struct size_known * 
__counted_by(count)':'struct size_known *' 
# | next:69'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           51: `-RecordDecl 0x22453445a58 <line:87:1, line:92:1> line:87:8 
struct on_pointer_anon_count_ty_pos definition 
# | next:69'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:69'1                                         ?                         
                                              possible intended match
# |           52:  |-RecordDecl 0x22453445ad8 <line:88:3, line:90:3> line:88:3 
struct definition 
# |           53:  | `-FieldDecl 0x22453445b70 <line:89:5, col:9> col:9 count 
'int' 
# | next:83                                                                     
   X error: no match found
# |           54:  |-FieldDecl 0x22453445c68 <line:88:3> col:3 implicit 'struct 
(anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:88:3)'
 
# | next:83       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           55:  |-IndirectFieldDecl 0x22453445cd0 <line:89:9> col:9 implicit 
referenced count 'int' 
# | next:83       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           56:  | |-Field 0x22453445c68 field_index 0 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-counted-by-struct-ptrs.c:88:3)'
 
# | next:83       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           57:  | `-Field 0x22453445b70 'count' 'int' 
# | next:83       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           58:  `-FieldDecl 0x22453445d70 <line:91:3, col:42> col:42 buf 
'struct size_known * __counted_by(count)':'struct size_known *' 
# | next:83       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/attr-sized-by-late-parsed-struct-ptrs.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-fexperimental-late-parse-attributes 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-late-parsed-struct-ptrs.c
 -ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-late-parsed-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-fexperimental-late-parse-attributes 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-late-parsed-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-late-parsed-struct-ptrs.c'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-late-parsed-struct-ptrs.c:32:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.*}} implicit 'struct 
on_pointer_anon_count::(anonymous at {{.*}})'
# |                ^
# | <stdin>:23:66: note: scanning from here
# |  | `-FieldDecl 0x2d1b094e240 <line:24:5, col:9> col:9 count 'int'
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-late-parsed-struct-ptrs.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         18: | |-FieldDecl 0x2d1b094df00 <line:14:3, col:22> col:22 buf 
'struct size_known * __sized_by(count)':'struct size_known *' 
# |         19: | `-FieldDecl 0x2d1b094df70 <line:15:3, col:7> col:7 referenced 
count 'int' 
# |         20: `-RecordDecl 0x2d1b094e080 <line:21:1, line:26:1> line:21:8 
struct on_pointer_anon_count definition 
# |         21:  |-FieldDecl 0x2d1b094e150 <line:22:3, col:22> col:22 buf 
'struct size_known * __sized_by(count)':'struct size_known *' 
# |         22:  |-RecordDecl 0x2d1b094e1a8 <line:23:3, line:25:3> line:23:3 
struct definition 
# |         23:  | `-FieldDecl 0x2d1b094e240 <line:24:5, col:9> col:9 count 
'int' 
# | next:32                                                                     
 X error: no match found
# |         24:  |-FieldDecl 0x2d1b094e338 <line:23:3> col:3 implicit 'struct 
(anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-late-parsed-struct-ptrs.c:23:3)'
 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         25:  `-IndirectFieldDecl 0x2d1b094e3a0 <line:24:9> col:9 implicit 
referenced count 'int' 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         26:  |-Field 0x2d1b094e338 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-late-parsed-struct-ptrs.c:23:3)'
 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         27:  `-Field 0x2d1b094e240 'count' 'int' 
# | next:32     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/attr-sized-by-or-null-late-parsed-struct-ptrs.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-fexperimental-late-parse-attributes 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-late-parsed-struct-ptrs.c
 -ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-late-parsed-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-fexperimental-late-parse-attributes 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-late-parsed-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-late-parsed-struct-ptrs.c'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-late-parsed-struct-ptrs.c:32:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.*}} implicit 'struct 
on_pointer_anon_count::(anonymous at {{.*}})'
# |                ^
# | <stdin>:23:66: note: scanning from here
# |  | `-FieldDecl 0x1f48b4b5c40 <line:24:5, col:9> col:9 count 'int'
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-late-parsed-struct-ptrs.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         18: | |-FieldDecl 0x1f48b4b5900 <line:14:3, col:22> col:22 buf 
'struct size_known * __sized_by_or_null(count)':'struct size_known *' 
# |         19: | `-FieldDecl 0x1f48b4b5970 <line:15:3, col:7> col:7 referenced 
count 'int' 
# |         20: `-RecordDecl 0x1f48b4b5a80 <line:21:1, line:26:1> line:21:8 
struct on_pointer_anon_count definition 
# |         21:  |-FieldDecl 0x1f48b4b5b50 <line:22:3, col:22> col:22 buf 
'struct size_known * __sized_by_or_null(count)':'struct size_known *' 
# |         22:  |-RecordDecl 0x1f48b4b5ba8 <line:23:3, line:25:3> line:23:3 
struct definition 
# |         23:  | `-FieldDecl 0x1f48b4b5c40 <line:24:5, col:9> col:9 count 
'int' 
# | next:32                                                                     
 X error: no match found
# |         24:  |-FieldDecl 0x1f48b4b5d38 <line:23:3> col:3 implicit 'struct 
(anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-late-parsed-struct-ptrs.c:23:3)'
 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         25:  `-IndirectFieldDecl 0x1f48b4b5da0 <line:24:9> col:9 implicit 
referenced count 'int' 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         26:  |-Field 0x1f48b4b5d38 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-late-parsed-struct-ptrs.c:23:3)'
 
# | next:32     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |         27:  `-Field 0x1f48b4b5c40 'count' 'int' 
# | next:32     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/attr-sized-by-or-null-struct-ptrs.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c
 -ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-fexperimental-late-parse-attributes 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c
 -ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-fexperimental-late-parse-attributes 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c'
 -ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:27:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_buf::(anonymous at [[ANON_STRUCT_PATH:.+]])'
# |                ^
# | <stdin>:24:131: note: scanning from here
# | | | `-FieldDecl 0x2526742d400 <line:34:5, col:24> col:24 buf 'struct 
size_known * __sized_by_or_null(count)':'struct size_known *'
# |                                                                             
                                                      ^
# | <stdin>:29:37: note: possible intended match here
# | |-RecordDecl 0x2526742d668 <line:38:1, line:43:1> line:38:8 struct 
on_pointer_anon_count definition
# |                                     ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:71:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_buf_ty_pos::(anonymous at [[ANON_STRUCT_PATH2:.+]])'
# |                ^
# | <stdin>:46:131: note: scanning from here
# | | | `-FieldDecl 0x2526742e2f0 <line:78:5, col:51> col:51 buf 'struct 
size_known * __sized_by_or_null(count)':'struct size_known *'
# |                                                                             
                                                      ^
# | <stdin>:51:37: note: possible intended match here
# | `-RecordDecl 0x2526742e558 <line:89:1, line:94:1> line:89:8 struct 
on_pointer_anon_count_ty_pos definition
# |                                     ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:85:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_count_ty_pos::(anonymous at [[ANON_STRUCT_PATH3:.+]])'
# |                ^
# | <stdin>:53:66: note: scanning from here
# |  | `-FieldDecl 0x2526742e670 <line:91:5, col:9> col:9 count 'int'
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           19: | |-FieldDecl 0x2526712af60 <line:19:3, col:7> col:7 
referenced count 'int' 
# |           20: | `-FieldDecl 0x2526742d130 <line:20:3, col:23> col:23 buf 
'struct size_known * __sized_by_or_null(count)':'struct size_known *' 
# |           21: |-RecordDecl 0x2526742d238 <line:31:1, line:36:1> line:31:8 
struct on_pointer_anon_buf definition 
# |           22: | |-FieldDecl 0x2526742d2d0 <line:32:3, col:7> col:7 
referenced count 'int' 
# |           23: | |-RecordDecl 0x2526742d328 <line:33:3, line:35:3> line:33:3 
struct definition 
# |           24: | | `-FieldDecl 0x2526742d400 <line:34:5, col:24> col:24 buf 
'struct size_known * __sized_by_or_null(count)':'struct size_known *' 
# | next:27'0                                                                   
                                                                    X error: no 
match found
# |           25: | |-FieldDecl 0x2526742d588 <line:33:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:33:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           26: | `-IndirectFieldDecl 0x2526742d5f0 <line:34:24> col:24 
implicit buf 'struct size_known * __sized_by_or_null(count)':'struct size_known 
*' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           27: | |-Field 0x2526742d588 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:33:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28: | `-Field 0x2526742d400 'buf' 'struct size_known * 
__sized_by_or_null(count)':'struct size_known *' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           29: |-RecordDecl 0x2526742d668 <line:38:1, line:43:1> line:38:8 
struct on_pointer_anon_count definition 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:27'1                                         ?                         
                                       possible intended match
# |           30: | |-RecordDecl 0x2526742d6e8 <line:39:3, line:41:3> line:39:3 
struct definition 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           31: | | `-FieldDecl 0x2526742d780 <line:40:5, col:9> col:9 count 
'int' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           32: | |-FieldDecl 0x2526742d878 <line:39:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:39:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           33: | |-IndirectFieldDecl 0x2526742d8e0 <line:40:9> col:9 
implicit referenced count 'int' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           34: | | |-Field 0x2526742d878 field_index 0 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:39:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           41: | |-FieldDecl 0x2526742ddc0 <line:63:3, col:7> col:7 
referenced count 'int' 
# |           42: | `-FieldDecl 0x2526742ded8 <line:64:3, col:49> col:49 buf 
'struct size_known ** __sized_by_or_null(count)':'struct size_known **' 
# |           43: |-RecordDecl 0x2526742e128 <line:75:1, line:80:1> line:75:8 
struct on_pointer_anon_buf_ty_pos definition 
# |           44: | |-FieldDecl 0x2526742e1c0 <line:76:3, col:7> col:7 
referenced count 'int' 
# |           45: | |-RecordDecl 0x2526742e218 <line:77:3, line:79:3> line:77:3 
struct definition 
# |           46: | | `-FieldDecl 0x2526742e2f0 <line:78:5, col:51> col:51 buf 
'struct size_known * __sized_by_or_null(count)':'struct size_known *' 
# | next:71'0                                                                   
                                                                    X error: no 
match found
# |           47: | |-FieldDecl 0x2526742e478 <line:77:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:77:3)'
 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           48: | `-IndirectFieldDecl 0x2526742e4e0 <line:78:51> col:51 
implicit buf 'struct size_known * __sized_by_or_null(count)':'struct size_known 
*' 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           49: | |-Field 0x2526742e478 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:77:3)'
 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           50: | `-Field 0x2526742e2f0 'buf' 'struct size_known * 
__sized_by_or_null(count)':'struct size_known *' 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           51: `-RecordDecl 0x2526742e558 <line:89:1, line:94:1> line:89:8 
struct on_pointer_anon_count_ty_pos definition 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:71'1                                         ?                         
                                              possible intended match
# |           52:  |-RecordDecl 0x2526742e5d8 <line:90:3, line:92:3> line:90:3 
struct definition 
# |           53:  | `-FieldDecl 0x2526742e670 <line:91:5, col:9> col:9 count 
'int' 
# | next:85                                                                     
   X error: no match found
# |           54:  |-FieldDecl 0x2526742e768 <line:90:3> col:3 implicit 'struct 
(anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:90:3)'
 
# | next:85       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           55:  |-IndirectFieldDecl 0x2526742e7d0 <line:91:9> col:9 implicit 
referenced count 'int' 
# | next:85       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           56:  | |-Field 0x2526742e768 field_index 0 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-or-null-struct-ptrs.c:90:3)'
 
# | next:85       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           57:  | `-Field 0x2526742e670 'count' 'int' 
# | next:85       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           58:  `-FieldDecl 0x2526742e870 <line:93:3, col:48> col:48 buf 
'struct size_known * __sized_by_or_null(count)':'struct size_known *' 
# | next:85       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.AST/attr-sized-by-struct-ptrs.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c 
-ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c' 
-ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c'
# note: command had no output on stdout or stderr
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc 
-fexperimental-late-parse-attributes 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c 
-ast-dump | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc 
-fexperimental-late-parse-attributes 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c' 
-ast-dump
# note: command had no output on stdout or stderr
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:27:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_buf::(anonymous at [[ANON_STRUCT_PATH:.+]])'
# |                ^
# | <stdin>:24:123: note: scanning from here
# | | | `-FieldDecl 0x213b45e7eb0 <line:34:5, col:24> col:24 buf 'struct 
size_known * __sized_by(count)':'struct size_known *'
# |                                                                             
                                              ^
# | <stdin>:29:37: note: possible intended match here
# | |-RecordDecl 0x213b45e8118 <line:38:1, line:43:1> line:38:8 struct 
on_pointer_anon_count definition
# |                                     ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:71:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_buf_ty_pos::(anonymous at [[ANON_STRUCT_PATH2:.+]])'
# |                ^
# | <stdin>:46:123: note: scanning from here
# | | | `-FieldDecl 0x213b45ee2f0 <line:78:5, col:43> col:43 buf 'struct 
size_known * __sized_by(count)':'struct size_known *'
# |                                                                             
                                              ^
# | <stdin>:51:37: note: possible intended match here
# | `-RecordDecl 0x213b45ee558 <line:89:1, line:94:1> line:89:8 struct 
on_pointer_anon_count_ty_pos definition
# |                                     ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:85:16:
 error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT: |-FieldDecl {{.+}} implicit 'struct 
on_pointer_anon_count_ty_pos::(anonymous at [[ANON_STRUCT_PATH3:.+]])'
# |                ^
# | <stdin>:53:66: note: scanning from here
# |  | `-FieldDecl 0x213b45ee670 <line:91:5, col:9> col:9 count 'int'
# |                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           19: | |-FieldDecl 0x213b4318f20 <line:19:3, col:7> col:7 
referenced count 'int' 
# |           20: | `-FieldDecl 0x213b45e7be0 <line:20:3, col:23> col:23 buf 
'struct size_known * __sized_by(count)':'struct size_known *' 
# |           21: |-RecordDecl 0x213b45e7ce8 <line:31:1, line:36:1> line:31:8 
struct on_pointer_anon_buf definition 
# |           22: | |-FieldDecl 0x213b45e7d80 <line:32:3, col:7> col:7 
referenced count 'int' 
# |           23: | |-RecordDecl 0x213b45e7dd8 <line:33:3, line:35:3> line:33:3 
struct definition 
# |           24: | | `-FieldDecl 0x213b45e7eb0 <line:34:5, col:24> col:24 buf 
'struct size_known * __sized_by(count)':'struct size_known *' 
# | next:27'0                                                                   
                                                            X error: no match 
found
# |           25: | |-FieldDecl 0x213b45e8038 <line:33:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:33:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           26: | `-IndirectFieldDecl 0x213b45e80a0 <line:34:24> col:24 
implicit buf 'struct size_known * __sized_by(count)':'struct size_known *' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           27: | |-Field 0x213b45e8038 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:33:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           28: | `-Field 0x213b45e7eb0 'buf' 'struct size_known * 
__sized_by(count)':'struct size_known *' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           29: |-RecordDecl 0x213b45e8118 <line:38:1, line:43:1> line:38:8 
struct on_pointer_anon_count definition 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:27'1                                         ?                         
                                       possible intended match
# |           30: | |-RecordDecl 0x213b45e8198 <line:39:3, line:41:3> line:39:3 
struct definition 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           31: | | `-FieldDecl 0x213b45e8230 <line:40:5, col:9> col:9 count 
'int' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           32: | |-FieldDecl 0x213b45e8328 <line:39:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:39:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           33: | |-IndirectFieldDecl 0x213b45e8390 <line:40:9> col:9 
implicit referenced count 'int' 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           34: | | |-Field 0x213b45e8328 field_index 0 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:39:3)'
 
# | next:27'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           41: | |-FieldDecl 0x213b45e8870 <line:63:3, col:7> col:7 
referenced count 'int' 
# |           42: | `-FieldDecl 0x213b45e8988 <line:64:3, col:41> col:41 buf 
'struct size_known ** __sized_by(count)':'struct size_known **' 
# |           43: |-RecordDecl 0x213b45ee128 <line:75:1, line:80:1> line:75:8 
struct on_pointer_anon_buf_ty_pos definition 
# |           44: | |-FieldDecl 0x213b45ee1c0 <line:76:3, col:7> col:7 
referenced count 'int' 
# |           45: | |-RecordDecl 0x213b45ee218 <line:77:3, line:79:3> line:77:3 
struct definition 
# |           46: | | `-FieldDecl 0x213b45ee2f0 <line:78:5, col:43> col:43 buf 
'struct size_known * __sized_by(count)':'struct size_known *' 
# | next:71'0                                                                   
                                                            X error: no match 
found
# |           47: | |-FieldDecl 0x213b45ee478 <line:77:3> col:3 implicit 
'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:77:3)'
 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           48: | `-IndirectFieldDecl 0x213b45ee4e0 <line:78:43> col:43 
implicit buf 'struct size_known * __sized_by(count)':'struct size_known *' 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           49: | |-Field 0x213b45ee478 field_index 1 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:77:3)'
 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           50: | `-Field 0x213b45ee2f0 'buf' 'struct size_known * 
__sized_by(count)':'struct size_known *' 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           51: `-RecordDecl 0x213b45ee558 <line:89:1, line:94:1> line:89:8 
struct on_pointer_anon_count_ty_pos definition 
# | next:71'0     
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:71'1                                         ?                         
                                              possible intended match
# |           52:  |-RecordDecl 0x213b45ee5d8 <line:90:3, line:92:3> line:90:3 
struct definition 
# |           53:  | `-FieldDecl 0x213b45ee670 <line:91:5, col:9> col:9 count 
'int' 
# | next:85                                                                     
   X error: no match found
# |           54:  |-FieldDecl 0x213b45ee768 <line:90:3> col:3 implicit 'struct 
(anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:90:3)'
 
# | next:85       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           55:  |-IndirectFieldDecl 0x213b45ee7d0 <line:91:9> col:9 implicit 
referenced count 'int' 
# | next:85       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           56:  | |-Field 0x213b45ee768 field_index 0 'struct (anonymous at 
C:\_work\llvm-project\llvm-project\clang\test\AST\attr-sized-by-struct-ptrs.c:90:3)'
 
# | next:85       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           57:  | `-Field 0x213b45ee670 'count' 'int' 
# | next:85       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           58:  `-FieldDecl 0x213b45ee870 <line:93:3, col:40> col:40 buf 
'struct size_known * __sized_by(count)':'struct size_known *' 
# | next:85       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken 
or flaky at HEAD), please open an issue at 
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/179612
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to