Commit eedcafe
committed
Suppress warnings for Swift C++ interop by hiding operator declarations.
Without this change, the Swift compiler build is fully of spammy warnings like this:
```
.../DependentDiagnostic.h:152:8: warning: cycle detected while resolving 'ddiag_iterator' in swift_name attribute for 'operator=='
bool operator==(ddiag_iterator Other) const {
^
.../DependentDiagnostic.h:127:20: note: while resolving 'DeclContext' in swift_name attribute for 'ddiag_iterator'
class DeclContext::ddiag_iterator {
^
.../DependentDiagnostic.h:152:8: note: please report this issue to the owners of 'Clang_AST.DeclBase'
bool operator==(ddiag_iterator Other) const {
^
```1 parent 0ffc76a commit eedcafe
File tree
3 files changed
+8
-0
lines changed- clang/include/clang/AST
- llvm/include/llvm/Transforms/IPO
3 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
152 | 153 | | |
153 | 154 | | |
154 | 155 | | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5822 | 5822 | | |
5823 | 5823 | | |
5824 | 5824 | | |
| 5825 | + | |
5825 | 5826 | | |
| 5827 | + | |
5826 | 5828 | | |
5827 | 5829 | | |
5828 | 5830 | | |
| |||
5956 | 5958 | | |
5957 | 5959 | | |
5958 | 5960 | | |
| 5961 | + | |
5959 | 5962 | | |
5960 | 5963 | | |
5961 | 5964 | | |
5962 | 5965 | | |
5963 | 5966 | | |
| 5967 | + | |
5964 | 5968 | | |
5965 | 5969 | | |
5966 | 5970 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| 173 | + | |
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| |||
0 commit comments