diff options
author | Lang Hames <lhames@gmail.com> | 2025-10-03 12:01:38 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-03 12:01:38 +1000 |
commit | 40fce3250110b196fa351235d25f143b21e97957 (patch) | |
tree | ad6e414782beb4667bf2bb8a506aff7ebcb66973 /mlir/lib/Bindings/Python/MainModule.cpp | |
parent | 487cdf14f67e95f61a42389bd168b32c00995ea4 (diff) | |
download | llvm-40fce3250110b196fa351235d25f143b21e97957.zip llvm-40fce3250110b196fa351235d25f143b21e97957.tar.gz llvm-40fce3250110b196fa351235d25f143b21e97957.tar.bz2 |
[orc-rt] Add CallableTraitsHelper, refactor WrapperFunction to use it. (#161761)
CallableTraitsHelper identifies the return type and argument types of a
callable type and passes those to an implementation class template to
operate on.
The CallableArgInfo utility uses CallableTraitsHelper to provide
typedefs for the return type and argument types (as a tuple) of a
callable type.
In WrapperFunction.h, the detail::WFCallableTraits utility is rewritten
in terms of CallableTraitsHandler (and renamed to WFHandlerTraits).
Diffstat (limited to 'mlir/lib/Bindings/Python/MainModule.cpp')
0 files changed, 0 insertions, 0 deletions