We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6e25a8 + 70c6b9d commit b8fbc7fCopy full SHA for b8fbc7f
lib/AST/ASTMangler.cpp
@@ -831,6 +831,10 @@ std::string ASTMangler::mangleOpaqueTypeDecl(const OpaqueTypeDecl *decl) {
831
}
832
833
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
+
838
OptimizeProtocolNames = false;
839
840
beginMangling();
0 commit comments