Commit adb290d
committed
[Sema][SVE] Reject atomic sizeless types
It would be difficult to guarantee atomicity for sizeless types,
so the SVE ACLE makes atomic sizeless types invalid. As it happens,
we already rejected them before the patch, but for the wrong reason:
error: _Atomic cannot be applied to type 'svint8_t' (aka '__SVInt8_t')
which is not trivially copyable
The SVE types should be treated as trivially copyable; a later
patch fixes that.
Differential Revision: https://reviews.llvm.org/D757341 parent 627b5c1 commit adb290d
File tree
4 files changed
+6
-2
lines changed- clang
- include/clang/Basic
- lib/Sema
- test
- SemaCXX
- Sema
4 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5925 | 5925 | | |
5926 | 5926 | | |
5927 | 5927 | | |
5928 | | - | |
| 5928 | + | |
5929 | 5929 | | |
5930 | 5930 | | |
5931 | 5931 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8564 | 8564 | | |
8565 | 8565 | | |
8566 | 8566 | | |
| 8567 | + | |
| 8568 | + | |
8567 | 8569 | | |
8568 | 8570 | | |
8569 | | - | |
| 8571 | + | |
8570 | 8572 | | |
8571 | 8573 | | |
8572 | 8574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
0 commit comments