diff options
Diffstat (limited to 'include/llvm/GlobalValue.h')
-rw-r--r-- | include/llvm/GlobalValue.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index d43a2fa227..81a11a4c92 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -192,14 +192,6 @@ public: Linkage == LinkerPrivateWeakDefAutoLinkage; } - /// mayBeRemovedByLinker - Whether the definition of this global may be - /// removed at link time. - static bool mayBeRemovedByLinker(LinkageTypes Linkage) { - return isLinkerPrivateLinkage(Linkage) || - isLinkerPrivateWeakLinkage(Linkage) || - isLinkerPrivateWeakDefAutoLinkage(Linkage); - } - bool hasExternalLinkage() const { return isExternalLinkage(Linkage); } bool hasAvailableExternallyLinkage() const { return isAvailableExternallyLinkage(Linkage); @@ -233,8 +225,6 @@ public: bool isWeakForLinker() const { return isWeakForLinker(Linkage); } - bool mayBeRemovedByLinker() const { return mayBeRemovedByLinker(Linkage); } - /// copyAttributesFrom - copy all additional attributes (those not needed to /// create a GlobalValue) from the GlobalValue Src to this one. virtual void copyAttributesFrom(const GlobalValue *Src); |