MobileNativeFoundation / swift-index-store

Library to read from Swift / clang source code indexes
Apache License 2.0
139 stars 12 forks source link

Update headers from Swift for CSwiftDemangle #12

Closed keith closed 1 year ago

keith commented 1 year ago

This updates the headers we copy from Swift / LLVM to fix SwiftDemangle with newer versions of Swift since we did this last. Most importantly we need the DemangleNodes.def update, but if we get too far out of sync with these other files it could introduce other issues. Previously with Swift 5.7 using SwiftDemangle would return the wrong node types for demangle nodes.

keith commented 1 year ago

we should update for swift 5.8 at some point soon, but this baseline is good. the headers are actually from swift @ HEAD but i don't think that's super risky so this means we won't have to update again for a while

keith commented 1 year ago

I documented the process i took to update this here https://github.com/lyft/swift-index-store/pull/13