aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorrkayaith <rkayaith@gmail.com>2022-02-24 10:21:40 +0100
committerAlex Zinenko <zinenko@google.com>2022-02-24 10:26:31 +0100
commite9db306dcd53f33b982d772793ffe7326d40c018 (patch)
treec921ddd2021b15882834970239c9f50b968ad7a1 /clang/lib/Sema/SemaModule.cpp
parentbfb4afee74c8d6e3b1d020564bfe163073f07a04 (diff)
downloadllvm-e9db306dcd53f33b982d772793ffe7326d40c018.zip
llvm-e9db306dcd53f33b982d772793ffe7326d40c018.tar.gz
llvm-e9db306dcd53f33b982d772793ffe7326d40c018.tar.bz2
[mlir][python] Support more types in IntegerAttr.value
Previously only accessing values for `index` and signless int types would work; signed and unsigned ints would hit an assert in `IntegerAttr::getInt`. This exposes `IntegerAttr::get{S,U}Int` to the C API and calls the appropriate function from the python bindings. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D120194
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions