[clang] [Clang] FunctionEffect analysis was missing a CXXBindTemporaryExpr's implicit call to a destructor. (PR #166110)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 3 11:42:57 PST 2025
Sirraide wrote:
> the result of `String::make()` might be getting moved-from
Only if it returns an xvalue; if it returns a prvalue, it’s directly constructed into `str`, so we only get a single destructor call.
https://github.com/llvm/llvm-project/pull/166110
More information about the cfe-commits
mailing list