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.
visitBuiltinType
1 parent 87c7387 commit 7adcd0dCopy full SHA for 7adcd0d
swift/extractor/mangler/SwiftMangler.cpp
@@ -174,10 +174,8 @@ SwiftMangledName SwiftMangler::visitTupleType(const swift::TupleType* type) {
174
}
175
176
SwiftMangledName SwiftMangler::visitBuiltinType(const swift::BuiltinType* type) {
177
- auto ret = initMangled(type);
178
llvm::SmallString<32> buffer;
179
- ret << type->getTypeName(buffer, /* prependBuiltinNamespace= */ false);
180
- return ret;
+ return initMangled(type) << type->getTypeName(buffer, /* prependBuiltinNamespace= */ false);
181
182
183
SwiftMangledName SwiftMangler::visitAnyGenericType(const swift::AnyGenericType* type) {
0 commit comments