aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorScott Linder <Scott.Linder@amd.com>2021-06-28 19:54:14 +0000
committerScott Linder <Scott.Linder@amd.com>2021-06-28 20:07:11 +0000
commit6d6f35eb7b92c6dd4478834497752f4e963db16d (patch)
tree651b6583a42853456a561f6906d327f6bfbf07c6 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb0d27eb069159e21c3b62cdf011937739950eafc (diff)
downloadllvm-6d6f35eb7b92c6dd4478834497752f4e963db16d.zip
llvm-6d6f35eb7b92c6dd4478834497752f4e963db16d.tar.gz
llvm-6d6f35eb7b92c6dd4478834497752f4e963db16d.tar.bz2
[ADT] Add makeVisitor to STLExtras.h
Relands patch reverted by 61242c0addb120294211d24a97ed89837418cb36 The original patch mistakenly included unrelated tests. Adds a utility to combine multiple Callables into a single Callable. This is useful to make constructing a visitor for `std::visit`-like functions more natural; functions like this will be added in future patches. Intended to supercede https://reviews.llvm.org/D99560 by perfectly-forwarding the combined Callables. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D100670
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions