diff options
author | Cameron Zwarich <zwarich@apple.com> | 2011-07-07 21:03:28 +0000 |
---|---|---|
committer | Cameron Zwarich <zwarich@apple.com> | 2011-07-07 21:03:28 +0000 |
commit | dbd3c85825ad59896292ac7d326fe1985768f1e3 (patch) | |
tree | c09fd1617de32b93d9ecc0f248f54ff8902db356 /lib/AST/ASTContext.cpp | |
parent | 2357aeec0da2740838963880edd97e43f14cb6fd (diff) |
r134634 causes a failure on MultiSource/Benchmarks/Olden/bh with TEST=nightly,
so roll it out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r-- | lib/AST/ASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index f2bd47dfa5..e2fa4e504a 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -6376,7 +6376,7 @@ bool ASTContext::DeclMustBeEmitted(const Decl *D) { if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { // Forward declarations aren't required. if (!FD->doesThisDeclarationHaveABody()) - return FD->doesDeclarationForceExternallyVisibleDefinition(); + return false; // Constructors and destructors are required. if (FD->hasAttr<ConstructorAttr>() || FD->hasAttr<DestructorAttr>()) |