diff options
author | Mogball <jeff@modular.com> | 2023-08-30 23:57:09 +0000 |
---|---|---|
committer | Mogball <jeff@modular.com> | 2023-08-31 03:20:54 +0000 |
commit | 574e7596e5149c3319dea255b2c45e670ca4711b (patch) | |
tree | c1fb94a3d3821602884ac4c0d6f471cf57a50ca0 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0d18c2d90f8f69e6517a8851b94c43be7b87575f (diff) | |
download | llvm-574e7596e5149c3319dea255b2c45e670ca4711b.zip llvm-574e7596e5149c3319dea255b2c45e670ca4711b.tar.gz llvm-574e7596e5149c3319dea255b2c45e670ca4711b.tar.bz2 |
[mlir][ods] Support using custom directives as first optional group element
This adds support for using a custom directive as the first optional
group element. The first optional group element guards the parsing of
the rest of the optional group. This can be done for custom directives
by expecting the parse function to return an `OptionalParseResult`
instead of a `ParseResult`.
Depends on D159243
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D159244
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions