diff options
author | Alex Zinenko <zinenko@google.com> | 2021-09-29 21:42:10 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2021-09-30 09:38:13 +0200 |
commit | afeda4b9ed881fb3f1b4340b8afa9963656013dc (patch) | |
tree | 548ca96dbfecb4c7e12bc2a4b7325bc218a7ed67 /clang/lib/Format/QualifierAlignmentFixer.cpp | |
parent | 455b60ccfbfdbb5d2b652666050544c31e6673b1 (diff) | |
download | llvm-afeda4b9ed881fb3f1b4340b8afa9963656013dc.zip llvm-afeda4b9ed881fb3f1b4340b8afa9963656013dc.tar.gz llvm-afeda4b9ed881fb3f1b4340b8afa9963656013dc.tar.bz2 |
[mlir][python] provide access to function argument/result attributes
Without this change, these attributes can only be accessed through the generic
operation attribute dictionary provided the caller knows the special operation
attribute names used for this purpose. Add some Python wrapping to support this
use case.
Also provide access to function arguments usable inside the function along with
a couple of quality-of-life improvements in using block arguments (function
arguments being the arguments of its entry block).
Reviewed By: stellaraccident
Differential Revision: https://reviews.llvm.org/D110758
Diffstat (limited to 'clang/lib/Format/QualifierAlignmentFixer.cpp')
0 files changed, 0 insertions, 0 deletions