This function was returning an rvalue reference to an object that was
also cleared via RAII when the function returned, making it always
return an empty object. Make it accept the mutable reference to the
object instead to avoid this dangerous behavior.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo