Commit f5e6ed5
authored
[BoundsSafety] Work around a regression in how macro-defined bounds-safety attributes are emitted in diagnostics (#10993)
A recent auto-merged change from upstream
d9ef62a
seemed to remove the special handling on how macro-defined bounds-safety
attributes are emitted in diagnostics. Adding the specialization for now
to fix the test failure. The task to clean up the special handling of
the macro defined attributes is tracked separately.
This fixes test failures in
Clang :: BoundsSafety/Sema/attributes_in_template_decls_attr_only_mode.cpp
Clang :: BoundsSafety/Sema/complex-typespecs-with-bounds.c
Clang :: BoundsSafety/Sema/terminated-by-attr.c
Clang :: BoundsSafety/Sema/unsafe-late-const.c
rdar://1556528531 parent 8923e75 commit f5e6ed5
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
1113 | 1125 | | |
1114 | 1126 | | |
1115 | 1127 | | |
0 commit comments