================

----------------
mizvekov wrote:

I don't think we have to commit to one or another. Some problems are easy to 
recover without throwing away the whole declaration.

For example, it's easy to recover from an invalid type used in the declaration.

But recovering from a member specialization of a member that doesn't exist is 
cumbersome without throwing away the declaration, as we would otherwise have to 
go back and create a fake member for a template which has already been 
instantiated. Doable but doesn't seem worth it IMO.

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

Reply via email to