diff options
author | Mathieu Fehr <mathieu.fehr@gmail.com> | 2021-10-18 15:37:26 +0000 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2021-10-18 15:45:25 +0000 |
commit | d78136121eb1ddbc416648f9f08be2e87709b06a (patch) | |
tree | ae83ca29e8991bd2a2c6e4928991638237aba736 /clang/lib/Interpreter/Interpreter.cpp | |
parent | ab41a1c50558f23e5b6aa7a3b68825f9b4a71fe7 (diff) | |
download | llvm-d78136121eb1ddbc416648f9f08be2e87709b06a.zip llvm-d78136121eb1ddbc416648f9f08be2e87709b06a.tar.gz llvm-d78136121eb1ddbc416648f9f08be2e87709b06a.tar.bz2 |
[mlir] Add AnyAttrOf tablegen attribute constraint
AnyAttrOf, similar to AnyTypeOf, expects the attribute to be one of the
given attributes.
For instance, `AnyAttrOf<[I32Attr, StrAttr]>` expects either a `I32Attr`,
or a `StrAttr`.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D111739
Diffstat (limited to 'clang/lib/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions