Commit 92757f9
authored
[CIR] TryOp add arg default value and update diagnostic (llvm#163856)
- Add a default value to handler_types to be able to construct TryOp,
then modify the handlers.
- Move empty region diagnostic from tablegen constraints to C++, because
we need the ability to add an empty region, then modify it later, for
example, in the handlers builder, but we need to report an error when we
find it in the IR while parsing.
Issue llvm#1549921 parent df2ff3a commit 92757f9
File tree
3 files changed
+10
-6
lines changed- clang
- include/clang/CIR/Dialect/IR
- lib/CIR/Dialect/IR
- test/CIR/IR
3 files changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4408 | 4408 | | |
4409 | 4409 | | |
4410 | 4410 | | |
4411 | | - | |
| 4411 | + | |
4412 | 4412 | | |
4413 | 4413 | | |
4414 | 4414 | | |
4415 | 4415 | | |
4416 | | - | |
| 4416 | + | |
4417 | 4417 | | |
4418 | 4418 | | |
4419 | 4419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3011 | 3011 | | |
3012 | 3012 | | |
3013 | 3013 | | |
3014 | | - | |
3015 | | - | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
| 3017 | + | |
| 3018 | + | |
3016 | 3019 | | |
3017 | 3020 | | |
3018 | 3021 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
0 commit comments