summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/MangleNumberingContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/AST/MangleNumberingContext.cpp')
-rw-r--r--clang/lib/AST/MangleNumberingContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/MangleNumberingContext.cpp b/clang/lib/AST/MangleNumberingContext.cpp
index 91ef0e2240d..ec503e01932 100644
--- a/clang/lib/AST/MangleNumberingContext.cpp
+++ b/clang/lib/AST/MangleNumberingContext.cpp
@@ -24,7 +24,7 @@ MangleNumberingContext::getManglingNumber(const CXXMethodDecl *CallOperator) {
= CallOperator->getType()->getAs<FunctionProtoType>();
ASTContext &Context = CallOperator->getASTContext();
- QualType Key = Context.getFunctionType(Context.VoidTy, Proto->getArgTypes(),
+ QualType Key = Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(),
FunctionProtoType::ExtProtoInfo());
Key = Context.getCanonicalType(Key);
return ++ManglingNumbers[Key->castAs<FunctionProtoType>()];
OpenPOWER on IntegriCloud