aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorNeal (nealsid) <nealsid@icloud.com>2021-03-01 19:50:27 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2021-03-02 16:13:54 -0800
commit5826aa48f03fba215b135f3c21ee52662281134d (patch)
treec99fe9544fb4afd28f0c9dd9d3bfee6dd4070bb4 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent99f1e86cbb34b4a09fa422fe95e8f88f86360eab (diff)
downloadllvm-5826aa48f03fba215b135f3c21ee52662281134d.zip
llvm-5826aa48f03fba215b135f3c21ee52662281134d.tar.gz
llvm-5826aa48f03fba215b135f3c21ee52662281134d.tar.bz2
Migrate to llvm::unique_function instead of static member functions for callbacks
A few cleanups suggested in another patch review's comments: 1. Use llvm:unique_function for storing & invoking callbacks from Editline to IOHandler 2. Change return type of one of the callback setters from bool to void, since it's return value was never used 3. Moved the callback setters inline & made them nonstatic, since that's more consistent with other setter definitions 4. Removed the baton parameter since we no longer need it anymore Differential revision: https://reviews.llvm.org/D50299
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions