summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-11-25 04:28:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-11-25 04:28:31 +0000
commitd2a13a2ec6224e85b77d58652c7714d280ab02e9 (patch)
tree8299aef28a97d0526698f9422f61ff800613dddc /llvm/lib/Linker/LinkModules.cpp
parentc8a476ee11a3be58868d591cdc4d91470e1b5d61 (diff)
downloadbcm5719-llvm-d2a13a2ec6224e85b77d58652c7714d280ab02e9.tar.gz
bcm5719-llvm-d2a13a2ec6224e85b77d58652c7714d280ab02e9.zip
Don't repeat name in comment or duplicate comment. NFC.
llvm-svn: 222724
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 2ebd502e98d..9664e3f5618 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -63,8 +63,8 @@ public:
/// equivalent to the specified type in the source module.
void addTypeMapping(Type *DstTy, Type *SrcTy);
- /// linkDefinedTypeBodies - Produce a body for an opaque type in the dest
- /// module from a type definition in the source module.
+ /// Produce a body for an opaque type in the dest module from a type
+ /// definition in the source module.
void linkDefinedTypeBodies();
/// Return the mapped type to use for the specified input type from the
@@ -201,8 +201,6 @@ bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) {
return true;
}
-/// Produce a body for an opaque type in the dest module from a type definition
-/// in the source module.
void TypeMapTy::linkDefinedTypeBodies() {
SmallVector<Type*, 16> Elements;
SmallString<16> TmpName;
OpenPOWER on IntegriCloud