diff options
Diffstat (limited to 'include/clang/AST/Mangle.h')
-rw-r--r-- | include/clang/AST/Mangle.h | 16 |
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> &); |