Skip to content

Commit b8fbc7f

Browse files
committed
Merge remote-tracking branch 'origin/main' into rebranch
2 parents b6e25a8 + 70c6b9d commit b8fbc7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/AST/ASTMangler.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,10 @@ std::string ASTMangler::mangleOpaqueTypeDecl(const OpaqueTypeDecl *decl) {
831831
}
832832

833833
std::string ASTMangler::mangleOpaqueTypeDecl(const ValueDecl *decl) {
834+
#if SWIFT_BUILD_ONLY_SYNTAXPARSERLIB
835+
return std::string(); // not needed for the parser library.
836+
#endif
837+
834838
OptimizeProtocolNames = false;
835839

836840
beginMangling();

0 commit comments

Comments
 (0)