diff options
| author | Alp Toker <alp@nuanti.com> | 2014-06-03 02:13:57 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-06-03 02:13:57 +0000 |
| commit | f4a3e28941ed4c5d03e77cd90330b90869f59e33 (patch) | |
| tree | 7a4c8023b4d79f0fa5bde0b5d6d975ee4e3fb788 /lib/CodeGen/CodeGenModule.h | |
| parent | d22059e1bf8504083367d5493a4e7921b7db0bd7 (diff) | |
| download | clang-f4a3e28941ed4c5d03e77cd90330b90869f59e33.tar.gz clang-f4a3e28941ed4c5d03e77cd90330b90869f59e33.tar.bz2 clang-f4a3e28941ed4c5d03e77cd90330b90869f59e33.tar.xz | |
Eliminate redundant MangleBuffer class
The only remaining user didn't actually use the non-dynamic storage facility
this class provides.
The std::string is transitional and likely to be StringRefized shortly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index c54f6dea52..ef18957e3d 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -71,7 +71,6 @@ class CodeGenOptions; class DiagnosticsEngine; class AnnotateAttr; class CXXDestructorDecl; -class MangleBuffer; class Module; namespace CodeGen { @@ -937,8 +936,7 @@ public: bool AttrOnCallSite); StringRef getMangledName(GlobalDecl GD); - void getBlockMangledName(GlobalDecl GD, MangleBuffer &Buffer, - const BlockDecl *BD); + std::string getBlockMangledName(GlobalDecl GD, const BlockDecl *BD); void EmitTentativeDefinition(const VarDecl *D); |
