Commit b30dd84
committed
Remove the fix for attributes in non-type template parameters.
The C++ standard is not clear whether attributes are permitted in the
declarations of non-type template parameters. Previous commits added
code to recognize and instantiate attributes in these contexts, but
concerns were raised that more changes might be needed. This change
removes the previously added support pending clarification from WG21.
See also P3324 (Attributes for namespace aliases, template parameters,
and lambda captures).1 parent 977f4fa commit b30dd84
File tree
2 files changed
+5
-3
lines changed- clang
- lib/Sema
- test/SemaSYCL
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1550 | 1550 | | |
1551 | 1551 | | |
1552 | 1552 | | |
1553 | | - | |
1554 | | - | |
1555 | 1553 | | |
1556 | 1554 | | |
1557 | 1555 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
230 | 234 | | |
231 | 235 | | |
232 | 236 | | |
| |||
0 commit comments