Skip to content

Commit ae7a0c5

Browse files
committed
Swift: do not allocate mangler statically
1 parent 60c1505 commit ae7a0c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/extractor/SwiftExtractor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static fs::path getFilename(swift::ModuleDecl& module,
5050
return resolvePath(primaryFile->getFilename());
5151
}
5252
if (lazyDeclaration) {
53-
static SwiftMangler mangler;
53+
SwiftMangler mangler;
5454
return mangler.mangledName(*lazyDeclaration);
5555
}
5656
// PCM clang module

0 commit comments

Comments
 (0)