aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorScott Linder <Scott.Linder@amd.com>2021-06-28 18:54:41 +0000
committerScott Linder <Scott.Linder@amd.com>2021-06-28 19:35:42 +0000
commit14a8aa615597ef0aa424ac9545906bf8b9865063 (patch)
treee5d0e66b03fbab078cb118d28297af766ef14c18 /clang/lib/Frontend/CompilerInstance.cpp
parentcd0a1226b50081e86eb75a89d01e8782423971a0 (diff)
downloadllvm-14a8aa615597ef0aa424ac9545906bf8b9865063.zip
llvm-14a8aa615597ef0aa424ac9545906bf8b9865063.tar.gz
llvm-14a8aa615597ef0aa424ac9545906bf8b9865063.tar.bz2
[ADT] Add makeVisitor to STLExtras.h
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 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions