diff options
| author | Ingo Müller <ingomueller@google.com> | 2023-07-20 09:58:41 +0000 |
|---|---|---|
| committer | Ingo Müller <ingomueller@google.com> | 2023-07-21 09:36:55 +0000 |
| commit | 8fd207fd0dcc398c2fcfd953d7e3ebe7cb53f188 (patch) | |
| tree | c532c11ae6e3b6361bde5e40314908bd8dcfedac /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 522831384f9051c4e40d26ab8f6d1d0762d4f6aa (diff) | |
[mlir][transform][structured][python] Allow str arg in match_op_names.
Allow the `names` argument in `MatchOp.match_op_names` to be of type
`str` in addition to `Sequence[str]`. In this case, the argument is
treated as a list with one name, i.e., it is possible to write
`MatchOp.match_op_names(..., "test.dummy")` instead of
`MatchOp.match_op_names(..., ["test.dummy"])`.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D155807
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
