================
@@ -54,6 +54,7 @@
 namespace clang {
 
 class ASTContext;
+class DeclStateReverter;
----------------
jaredwy wrote:

Yes. I share this, I would be extending ASTDeclUnmerger instead of duplicating 
this.

Then instead of the various casts we do to acces protected members, we could 
extend the access here and use friends if we need to.  

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

Reply via email to