This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] updated setter/getter comments
ClosedPublic

Authored by aartbik on Jul 7 2021, 4:14 PM.

Details

Summary

For the getters, it is bad practice to keep the reference
around for too long, as explained in the new comment

Diff Detail

Event Timeline

aartbik created this revision.Jul 7 2021, 4:14 PM
aartbik requested review of this revision.Jul 7 2021, 4:14 PM
gussmith23 accepted this revision.Jul 8 2021, 7:35 AM

Thanks for this clarification :)

This revision is now accepted and ready to land.Jul 8 2021, 7:35 AM
This revision was automatically updated to reflect the committed changes.