tbaederr wrote:

> We should probably add a note to `constexpr int b = b;` explicitly noting 
> that "b" is the object we're trying to initialize, but we leave that for a 
> followup.

This is diagnosed here:
https://github.com/llvm/llvm-project/blob/a0e0775d91859d6ca32efc5fb8644b6281e98593/clang/lib/AST/ExprConstant.cpp#L4265-L4267
where `O` is unfortunately `None`. So there's nothing simple we can do as far 
as I can see.

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

Reply via email to