Commit 9b95242
authored
[cxx-interop] Import const-qualified indirect fields with private setters (swiftlang#83219)
We already make imported computed properties' setters private in
VisitFieldDecl(), but not in VisitIndirectFieldDecl(), which handles
things like the members of an anonymous union in another struct.1 parent a5e6b85 commit 9b95242
File tree
2 files changed
+7
-1
lines changed- lib/ClangImporter
- test/Interop/Cxx/union
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3371 | 3371 | | |
3372 | 3372 | | |
3373 | 3373 | | |
| 3374 | + | |
| 3375 | + | |
| 3376 | + | |
| 3377 | + | |
| 3378 | + | |
| 3379 | + | |
3374 | 3380 | | |
3375 | 3381 | | |
3376 | 3382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
0 commit comments