Sirraide wrote:

> The possible redundancy between `CXXBindTemporaryExpr` and `VarDecl` with a 
> destructor is tricky. Most of the time temporaries seem to be orthogonal to 
> `VarDecls` -- it's clearly not as simple as removing the check on `VarDecl`

Can we simply keep both checks? Or does that cause too many duplicate 
diagnostics?

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

Reply via email to