https://github.com/efriedma-quic approved this pull request.

LGTM

----

> Can you explain why we don't have the same issue if the base class (C2 in the 
> reproducer in the issue) is not abstract?

The warning only makes sense if it's possible some code could call the complete 
object constructor.  If the class is abstract, that can't happen.  (The warning 
could still be a false positive if the complete object constructor is actually 
called anywhere, but that's hard to check.)

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

Reply via email to