aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorEric Li <li.zhe.hua@gmail.com>2022-03-28 15:39:02 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2022-03-28 15:39:46 +0000
commite334f044cdb5c0f4f549fc0380a6757e37ccb105 (patch)
treef67ccc5c207aa9d3b3373d4a254778940515dc8e /llvm/lib/IR/Module.cpp
parent65a2f6ad9c652536d7c394cad2ac83d306e6b587 (diff)
downloadllvm-e334f044cdb5c0f4f549fc0380a6757e37ccb105.zip
llvm-e334f044cdb5c0f4f549fc0380a6757e37ccb105.tar.gz
llvm-e334f044cdb5c0f4f549fc0380a6757e37ccb105.tar.bz2
[libTooling] Support TransformerResult<void> in consumer callbacks
Support `TransformerResult<void>` in the consumer callback, which allows generic code to more naturally use the `Transformer` interface (instead of needing to specialize on `void`). This also delete the specialization that existed within `Transformer` itself, instead replacing it with an `std::function` adapter. Reviewed By: ymandel Differential Revision: https://reviews.llvm.org/D122499
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions