Commit f93aed6
committed
Fix diagnostics where _Atomic can't be applied
adb290d added a new case to
err_atomic_specifier_bad_type. The diagnostic has two %select's
controlled by the same argument, but only the first was updated to have
the new case. Add the extra case for the second %select and add a
test case that exercises the last case.1 parent 4805901 commit f93aed6
File tree
2 files changed
+9
-1
lines changed- clang
- include/clang/Basic
- test/SemaCXX
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5946 | 5946 | | |
5947 | 5947 | | |
5948 | 5948 | | |
5949 | | - | |
| 5949 | + | |
5950 | 5950 | | |
5951 | 5951 | | |
5952 | 5952 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
0 commit comments