aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Mangle.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-02-10 23:59:36 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-02-10 23:59:36 +0000
commitc4850c2aa4c281a352e228aafc51fb1e30dcad02 (patch)
tree74525de14e4a77664fb1c3842918b6e08912129a /include/clang/AST/Mangle.h
parent242302673bdcf35b49579a30fed9dc068a4e10f2 (diff)
Use raw_svector_ostream in more places in the mangler.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Mangle.h')
-rw-r--r--include/clang/AST/Mangle.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/clang/AST/Mangle.h b/include/clang/AST/Mangle.h
index 8dbca8daed..a35f1d04fb 100644
--- a/include/clang/AST/Mangle.h
+++ b/include/clang/AST/Mangle.h
@@ -95,7 +95,7 @@ public:
/// @{
virtual bool shouldMangleDeclName(const NamedDecl *D) = 0;
- virtual void mangleName(const NamedDecl *D, llvm::SmallVectorImpl<char> &)=0;
+ virtual void mangleName(const NamedDecl *D, llvm::raw_svector_ostream &)=0;
virtual void mangleThunk(const CXXMethodDecl *MD,
const ThunkInfo &Thunk,
llvm::SmallVectorImpl<char> &) = 0;
@@ -114,20 +114,20 @@ public:
virtual void mangleCXXRTTI(QualType T, llvm::SmallVectorImpl<char> &) = 0;
virtual void mangleCXXRTTIName(QualType T, llvm::SmallVectorImpl<char> &) = 0;
virtual void mangleCXXCtor(const CXXConstructorDecl *D, CXXCtorType Type,
- llvm::SmallVectorImpl<char> &) = 0;
+ llvm::raw_svector_ostream &) = 0;
virtual void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type,
- llvm::SmallVectorImpl<char> &) = 0;
+ llvm::raw_svector_ostream &) = 0;
void mangleGlobalBlock(const BlockDecl *BD,
- llvm::SmallVectorImpl<char> &Res);
+ llvm::raw_svector_ostream &Out);
void mangleCtorBlock(const CXXConstructorDecl *CD, CXXCtorType CT,
- const BlockDecl *BD, llvm::SmallVectorImpl<char> &Res);
+ const BlockDecl *BD, llvm::raw_svector_ostream &Out);
void mangleDtorBlock(const CXXDestructorDecl *CD, CXXDtorType DT,
- const BlockDecl *BD, llvm::SmallVectorImpl<char> &Res);
+ const BlockDecl *BD, llvm::raw_svector_ostream &Out);
void mangleBlock(const DeclContext *DC, const BlockDecl *BD,
- llvm::SmallVectorImpl<char> &Res);
+ llvm::raw_svector_ostream &Out);
// Do the right thing.
- void mangleBlock(const BlockDecl *BD, llvm::SmallVectorImpl<char> &Res);
+ void mangleBlock(const BlockDecl *BD, llvm::raw_svector_ostream &Out);
void mangleObjCMethodName(const ObjCMethodDecl *MD,
llvm::SmallVectorImpl<char> &);