The pointer Buffer is not changed, so there is no need to use reference, and the Pod here should use reference to avoid meaningless copy.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D145024
[memprof] Avoid meaningless pod copy yingcong-wu on Feb 28 2023, 7:36 PM. Authored by
Details
The pointer Buffer is not changed, so there is no need to use reference, and the Pod here should use reference to avoid meaningless copy.
Diff Detail
Event Timeline |