This is a false positive - but one cannot blame clang for this. The reason ist that the variable will be reassigned in the destructor of the deleted child. This is very uncommon behavior and bad style, but will be non trivial to fix.
I think the other instances could be interesting to look at though. I cannot guess how often such a false positive will be in our code base.
This is a false positive - but one cannot blame clang for this. The reason ist that the variable will be reassigned in the destructor of the deleted child. This is very uncommon behavior and bad style, but will be non trivial to fix.
I think the other instances could be interesting to look at though. I cannot guess how often such a false positive will be in our code base.