[PATCH] D71762: [DebugInfo][NFC] Use function_ref consistently in debug line parsing

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 10:19:50 PST 2019


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

`llvm::function_ref` is more common and more efficient (`std::function` has a heap allocation). These callbacks are not supposed to be stored. LG


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71762/new/

https://reviews.llvm.org/D71762





More information about the llvm-commits mailing list