Commit 3e2194f
committed
[clang][SME] Emit error for OpemMP captured regions in streaming functions
Currently, these generate incorrect code, as streaming attributes are
not propagated to the outlined function. As we've yet to work on mixing
OpenMP and streaming functions (and determine how they should interact
with OpenMP's runtime), we think it is best to disallow this for now.1 parent 038b42b commit 3e2194f
File tree
3 files changed
+65
-0
lines changed- clang
- include/clang/Basic
- lib/Sema
- test/Sema
3 files changed
+65
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3864 | 3864 | | |
3865 | 3865 | | |
3866 | 3866 | | |
| 3867 | + | |
| 3868 | + | |
3867 | 3869 | | |
3868 | 3870 | | |
3869 | 3871 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4568 | 4568 | | |
4569 | 4569 | | |
4570 | 4570 | | |
| 4571 | + | |
| 4572 | + | |
| 4573 | + | |
| 4574 | + | |
| 4575 | + | |
| 4576 | + | |
| 4577 | + | |
| 4578 | + | |
| 4579 | + | |
| 4580 | + | |
| 4581 | + | |
4571 | 4582 | | |
4572 | 4583 | | |
4573 | 4584 | | |
| 4585 | + | |
| 4586 | + | |
| 4587 | + | |
4574 | 4588 | | |
4575 | 4589 | | |
4576 | 4590 | | |
| |||
4602 | 4616 | | |
4603 | 4617 | | |
4604 | 4618 | | |
| 4619 | + | |
| 4620 | + | |
| 4621 | + | |
4605 | 4622 | | |
4606 | 4623 | | |
4607 | 4624 | | |
| |||
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments