summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-09-25 22:28:52 +0000
committerReid Kleckner <reid@kleckner.net>2013-09-25 22:28:52 +0000
commitc5cc338ab3ca114f9157d013c7cecb8eb427fc7c (patch)
tree23ca170ca4ee3c4a5d364d2d235a763365b94377 /clang/lib/AST/MicrosoftMangle.cpp
parentac57690895f3415949cc1f055d1dceeb776dd7cb (diff)
downloadbcm5719-llvm-c5cc338ab3ca114f9157d013c7cecb8eb427fc7c.tar.gz
bcm5719-llvm-c5cc338ab3ca114f9157d013c7cecb8eb427fc7c.zip
Remove unused param from MicrosoftMangle::mangleCallingConvention()
llvm-svn: 191405
Diffstat (limited to 'clang/lib/AST/MicrosoftMangle.cpp')
-rw-r--r--clang/lib/AST/MicrosoftMangle.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/lib/AST/MicrosoftMangle.cpp b/clang/lib/AST/MicrosoftMangle.cpp
index 119bc86be29..cf68cdd1d5f 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);
// <return-type> ::= <type>
// ::= @ # 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) {
// <calling-convention> ::= A # __cdecl
// ::= B # __export __cdecl
// ::= C # __pascal
OpenPOWER on IntegriCloud