summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2019-07-25 17:14:45 +0000
committerErich Keane <erich.keane@intel.com>2019-07-25 17:14:45 +0000
commit393094859e45f7a6ccbade1c919dee2c2e2f3a7e (patch)
treefbe6447adbae329f3a79128a87e6dc05f2135673 /clang/lib/AST
parentad137fa78863093c9c3cf4ea2a0d80d325391f6a (diff)
downloadbcm5719-llvm-393094859e45f7a6ccbade1c919dee2c2e2f3a7e.tar.gz
bcm5719-llvm-393094859e45f7a6ccbade1c919dee2c2e2f3a7e.zip
Remove CallingConvMethodType
This seems to be an old vestage of a previous implementation of getting the default calling convention, and everything is now using CXXABI/ASTContext's getDefaultCallingConvention. Remove it, since it isn't doing anything. llvm-svn: 367039
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 0d69eb90aba..468c7f47657 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -10035,7 +10035,7 @@ CallingConv ASTContext::getDefaultCallingConvention(bool IsVariadic,
break;
}
}
- return Target->getDefaultCallingConv(TargetInfo::CCMT_Unknown);
+ return Target->getDefaultCallingConv();
}
bool ASTContext::isNearlyEmpty(const CXXRecordDecl *RD) const {
OpenPOWER on IntegriCloud