[clang] [BoundsSafety] Support late parsing for `counted_by` in type positions (PR #166491)

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 10 05:28:40 PST 2025


================
@@ -1238,6 +1238,9 @@ struct DeclaratorChunk {
 
   ParsedAttributesView AttrList;
 
+  using LateAttrListTy = SmallVector<void *, 1>;
----------------
zmodem wrote:

I see. Forward declaring it would have been nice, but that sounds very tricky. Maybe just adding a comment explaining what `void*` refers to is good enough?

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


More information about the cfe-commits mailing list