This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Annotate methods on a correct class in PybindAdaptors.h
ClosedPublic

Authored by ftynse on Jan 19 2022, 4:45 AM.

Details

Summary

The .def and .def_property_readonly functions in PybindAdaptors.h should
construct the functions as method of the current class rather than as method of
pybind11:none(), which is an object and not even a class.

Depends On D117658

Diff Detail

Event Timeline

ftynse created this revision.Jan 19 2022, 4:45 AM
ftynse requested review of this revision.Jan 19 2022, 4:45 AM
gysit accepted this revision.Feb 21 2022, 4:03 AM
This revision is now accepted and ready to land.Feb 21 2022, 4:03 AM
This revision was landed with ongoing or failed builds.Feb 21 2022, 4:04 AM
This revision was automatically updated to reflect the committed changes.