mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Swift: small tweak to visitBuiltinType
This commit is contained in:
@@ -174,10 +174,8 @@ SwiftMangledName SwiftMangler::visitTupleType(const swift::TupleType* type) {
|
||||
}
|
||||
|
||||
SwiftMangledName SwiftMangler::visitBuiltinType(const swift::BuiltinType* type) {
|
||||
auto ret = initMangled(type);
|
||||
llvm::SmallString<32> buffer;
|
||||
ret << type->getTypeName(buffer, /* prependBuiltinNamespace= */ false);
|
||||
return ret;
|
||||
return initMangled(type) << type->getTypeName(buffer, /* prependBuiltinNamespace= */ false);
|
||||
}
|
||||
|
||||
SwiftMangledName SwiftMangler::visitAnyGenericType(const swift::AnyGenericType* type) {
|
||||
|
||||
Reference in New Issue
Block a user