Commit 20d8827
committed
Allow building swift-syntax in C++ interop mode
If swift-syntax is being built with `-cxx-interoperability-mode=default`, it fails because of `annot initialize a variable of type 'AtomicBool *' with an rvalue of type 'void *'`. Add a cast here to fix the build issue.
rdar://1292527351 parent 3db6f01 commit 20d8827
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments