================
@@ -1238,6 +1238,13 @@ struct DeclaratorChunk {
 
   ParsedAttributesView AttrList;
 
+  /// Stores pointers to `Parser::LateParsedAttribute`. We use `void*` here
+  /// because `LateParsedAttribute` is a nested struct of `class Parser` and
+  /// cannot be forward-declared.
+  using LateAttrOpaquePtr = void *;
----------------
AaronBallman wrote:

Could we introduce a base class, outside of `Parser`, that 
`LateParsedAttribute` could inherit from so we could use that type here?

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

Reply via email to