diff options
Diffstat (limited to 'clang/lib/AST')
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index b59589791c3..2eec05c4396 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -2649,14 +2649,6 @@ void ASTContext::adjustExceptionSpec( } } -bool ASTContext::isParamDestroyedInCallee(QualType T) const { - if (getTargetInfo().getCXXABI().areArgsDestroyedLeftToRightInCallee()) - return true; - if (const auto *RT = T->getBaseElementTypeUnsafe()->getAs<RecordType>()) - return RT->getDecl()->isParamDestroyedInCallee(); - return false; -} - /// getComplexType - Return the uniqued reference to the type for a complex /// number with the specified element type. QualType ASTContext::getComplexType(QualType T) const { |