From e3e686f5d16ac2a8a0da658935cd79ef3ada546d Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 25 Sep 2013 22:28:52 +0000 Subject: [PATCH] Remove unused param from MicrosoftMangle::mangleCallingConvention() git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191405 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/MicrosoftMangle.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/AST/MicrosoftMangle.cpp b/lib/AST/MicrosoftMangle.cpp index 119bc86be2..cf68cdd1d5 100644 --- a/lib/AST/MicrosoftMangle.cpp +++ b/lib/AST/MicrosoftMangle.cpp @@ -162,7 +162,7 @@ private: void mangleDecayedArrayType(const ArrayType *T); void mangleArrayType(const ArrayType *T); void mangleFunctionClass(const FunctionDecl *FD); - void mangleCallingConvention(const FunctionType *T, bool IsInstMethod = false); + void mangleCallingConvention(const FunctionType *T); void mangleIntegerLiteral(const llvm::APSInt &Number, bool IsBoolean); void mangleExpression(const Expr *E); void mangleThrowSpecification(const FunctionProtoType *T); @@ -1337,7 +1337,7 @@ void MicrosoftCXXNameMangler::mangleFunctionType(const FunctionType *T, mangleQualifiers(Qualifiers::fromCVRMask(Proto->getTypeQuals()), false); } - mangleCallingConvention(T, IsInstMethod); + mangleCallingConvention(T); // ::= // ::= @ # structors (they have no declared return type) @@ -1441,8 +1441,7 @@ void MicrosoftCXXNameMangler::mangleFunctionClass(const FunctionDecl *FD) { } else Out << 'Y'; } -void MicrosoftCXXNameMangler::mangleCallingConvention(const FunctionType *T, - bool IsInstMethod) { +void MicrosoftCXXNameMangler::mangleCallingConvention(const FunctionType *T) { // ::= A # __cdecl // ::= B # __export __cdecl // ::= C # __pascal -- 2.40.0