From c5cc338ab3ca114f9157d013c7cecb8eb427fc7c 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() llvm-svn: 191405 --- clang/lib/AST/MicrosoftMangle.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp index 119bc86be298..cf68cdd1d5fa 100644 --- a/clang/lib/AST/MicrosoftMangle.cpp +++ b/clang/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