Endilll wrote:

> the special "the language rules say this is manifestly constant evaluated" 
> cases that should be able to perform AST mutations, that we need to be 
> extremely careful to invoke at exactly the right times and in exactly the 
> right cases and to invoke only once

Can you expand on the "to invoke only once" bit? As I understand the position 
of authors of P2996, calls to `define_aggregate` with the same arguments are 
supposed to be idempotent. Do you see reasons why we wouldn't be able to 
achieve that, meaning that we need to prevent `define_aggregate` to be called 
multiple times (with the same arguments) on the language level?

https://github.com/llvm/llvm-project/pull/115168
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to