diff options
| author | Andrew Young <youngar17@gmail.com> | 2023-01-24 23:13:20 -0800 |
|---|---|---|
| committer | Andrew Young <youngar17@gmail.com> | 2023-01-24 23:15:00 -0800 |
| commit | 7bfdac0e6dd8d9d9a2f8546dedea5d7ffcb5317e (patch) | |
| tree | f549ccb55a27c5e9fde7f2161f6a1490ed991f68 /lldb/test/API/python_api | |
| parent | 494734b06d62b54fdcbd982f96274dede572ba07 (diff) | |
| download | llvm-7bfdac0e6dd8d9d9a2f8546dedea5d7ffcb5317e.zip llvm-7bfdac0e6dd8d9d9a2f8546dedea5d7ffcb5317e.tar.gz llvm-7bfdac0e6dd8d9d9a2f8546dedea5d7ffcb5317e.tar.bz2 | |
[MLIR] Expose LocationAttrs in the C API
This patch adds three functions to the C API:
- mlirAttributeIsALocation: returns true if the attribute is a LocationAttr,
false otherwise.
- mlirLocationGetAttribute: returns the underlying LocationAttr of a Location.
- mlirLocationFromAttribute: gets a Location from a LocationAttr.
Reviewed By: mikeurbach, Mogball
Differential Revision: https://reviews.llvm.org/D142182
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions
