Hana =?utf-8?q?Dusíková?= <hani...@hanicka.net>,
Hana =?utf-8?q?Dusíková?= <hani...@hanicka.net>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/136...@github.com>


cor3ntin wrote:

@Sirraide we could do the check at the point of call - and cache the result, 
which would require storing some state in FunctionDecl. Or just not care. GCC 
is explicit about not supporting this scenario 
https://compiler-explorer.com/z/Mdva4f1a1 - and i don't see the value in 
diverging from GCC

We also should be careful about the whole consteval propagation thing, which 
would be affected by this feature.
I think @philnik777, this probably needs an RFC, but it does seem reasonable to 
me to follow in GCC's footsteps here.


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

Reply via email to