diff options
| author | Anders Carlsson <andersca@mac.com> | 2010-11-25 01:51:53 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2010-11-25 01:51:53 +0000 |
| commit | 60a6263ee8cb7e35d2a6481f7abc239371204aff (patch) | |
| tree | f30b508bab29cee64be5c06ce0b9ac11d348599d /clang/lib/AST/ASTContext.cpp | |
| parent | 640cdae167e59b8b493d30357d930d638368ccd5 (diff) | |
| download | bcm5719-llvm-60a6263ee8cb7e35d2a6481f7abc239371204aff.tar.gz bcm5719-llvm-60a6263ee8cb7e35d2a6481f7abc239371204aff.zip | |
Move isNearlyEmpty out into the ASTContext so it can be called from CodeGen as well.
llvm-svn: 120137
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 7b247701021..e5081e384f7 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -5716,4 +5716,9 @@ CallingConv ASTContext::getDefaultMethodCallConv() { return ABI->getDefaultMethodCallConv(); } +bool ASTContext::isNearlyEmpty(const CXXRecordDecl *RD) { + // Pass through to the C++ ABI object + return ABI->isNearlyEmpty(RD); +} + CXXABI::~CXXABI() {} |

