aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2020-05-13 17:40:07 -0700
committerMircea Trofin <mtrofin@google.com>2020-05-14 22:13:53 -0700
commit767db5be67cab5aa04d81227725765cad9620611 (patch)
tree5219e191b655a7f9357bd30bebebba5be2158b8e /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent0b3e478b10e233460073d24df527253ab5edac2a (diff)
downloadllvm-767db5be67cab5aa04d81227725765cad9620611.zip
llvm-767db5be67cab5aa04d81227725765cad9620611.tar.gz
llvm-767db5be67cab5aa04d81227725765cad9620611.tar.bz2
[llvm][NFC] Cleanup uses of std::function in Inlining-related APIs
Summary: Replacing uses of std::function pointers or refs, or Optional, to function_ref, since the usage pattern allows that. If the function is optional, using a default parameter value (nullptr). This led to a few parameter reshufles, to push all optionals to the end of the parameter list. Reviewers: davidxl, dblaikie Subscribers: arsenm, jvesely, nhaehnle, eraman, hiraditya, haicheng, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79917
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions