diff options
author | River Riddle <riddleriver@gmail.com> | 2020-04-03 19:20:33 -0700 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-04-03 19:23:56 -0700 |
commit | e3bb36370d59ce1bf4c22d2258e830999d8e833d (patch) | |
tree | f77fb9d4bf3f548d0a4055270d427a3c2418d712 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | ca47ac3d5f6f8483d330c96a63f1cd862e667856 (diff) | |
download | llvm-e3bb36370d59ce1bf4c22d2258e830999d8e833d.zip llvm-e3bb36370d59ce1bf4c22d2258e830999d8e833d.tar.gz llvm-e3bb36370d59ce1bf4c22d2258e830999d8e833d.tar.bz2 |
[mlir][DeclarativeParser] Emit an error if a `:` follows an attribute with a non-constant type.
Summary: The attribute grammar includes an optional trailing colon type, so for attributes without a constant buildable type this will generally lead to unexpected and undesired behavior. Given that, it's better to just error out on these cases.
Differential Revision: https://reviews.llvm.org/D77293
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions