diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-02-11 05:23:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-02-11 05:23:09 +0000 |
commit | ef1860a117b4a35918eb9793a7b94715e12a3a42 (patch) | |
tree | fadb1be37a0b8dce90cace13211ec36f1e4d98b1 /lib | |
parent | cd3e639fe7912a0fd5dc3677455b6a650f5621ea (diff) | |
download | llvm-ef1860a117b4a35918eb9793a7b94715e12a3a42.tar.gz llvm-ef1860a117b4a35918eb9793a7b94715e12a3a42.tar.bz2 llvm-ef1860a117b4a35918eb9793a7b94715e12a3a42.tar.xz |
Remove std::string version of getNameWithPrefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125363 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mangler.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/Mangler.cpp b/lib/Target/Mangler.cpp index 49efe75d79..46c687b640 100644 --- a/lib/Target/Mangler.cpp +++ b/lib/Target/Mangler.cpp @@ -224,16 +224,6 @@ void Mangler::getNameWithPrefix(SmallVectorImpl<char> &OutName, } } -/// getNameWithPrefix - Fill OutName with the name of the appropriate prefix -/// and the specified global variable's name. If the global variable doesn't -/// have a name, this fills in a unique name for the global. -std::string Mangler::getNameWithPrefix(const GlobalValue *GV, - bool isImplicitlyPrivate) { - SmallString<64> Buf; - getNameWithPrefix(Buf, GV, isImplicitlyPrivate); - return std::string(Buf.begin(), Buf.end()); -} - /// getSymbol - Return the MCSymbol for the specified global value. This /// symbol is the main label that is the address of the global. MCSymbol *Mangler::getSymbol(const GlobalValue *GV) { |