You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interface hash (a.k.a. fingerprint) is generated as a byproduct of the current C++ parser. As part of adopting SwiftParser and retiring the current C++ parser, we have to implement this another way. See eg.
SourceFile::getInterfaceHash()
IterableDeclContext::getBodyFingerprint()
AbstractFunctionDecl::getBodyFingerprint()
Proposed solution
Implement interface hash by traversing syntax tree in Swift.
The text was updated successfully, but these errors were encountered:
rintaro
added
feature
A feature request or implementation
triage needed
This issue needs more specific labels
ASTGen
Area → compiler: The ASTGen module, which translates SwiftSyntax trees to the C++ AST
labels
Sep 17, 2024
Motivation
The interface hash (a.k.a. fingerprint) is generated as a byproduct of the current C++ parser. As part of adopting
SwiftParser
and retiring the current C++ parser, we have to implement this another way. See eg.SourceFile::getInterfaceHash()
IterableDeclContext::getBodyFingerprint()
AbstractFunctionDecl::getBodyFingerprint()
Proposed solution
Implement interface hash by traversing syntax tree in Swift.
The text was updated successfully, but these errors were encountered: