diff options
author | Sam McCall <sam.mccall@gmail.com> | 2020-10-06 16:35:35 +0200 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2020-10-07 16:31:09 +0200 |
commit | 4cae6228d129d4c4dfb156c043977bb6b5690031 (patch) | |
tree | 59dc83fef81df1ac56697ac70294a35e4463b5f2 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 149dc94c1d52c5f78e2aadb57a72dd437fe55aa1 (diff) | |
download | llvm-4cae6228d129d4c4dfb156c043977bb6b5690031.zip llvm-4cae6228d129d4c4dfb156c043977bb6b5690031.tar.gz llvm-4cae6228d129d4c4dfb156c043977bb6b5690031.tar.bz2 |
[ADT] function_ref's constructor is unavailable if the argument is not callable.
This allows overload sets containing function_ref arguments to work correctly
Otherwise they're ambiguous as anything "could be" converted to a function_ref.
This matches proposed std::function_ref, absl::function_ref, etc.
Differential Revision: https://reviews.llvm.org/D88901
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions