diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-07-01 03:28:42 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-07-01 03:28:42 +0000 |
commit | 4b662a5684d41ea4ff6b52711929e00fefb00db1 (patch) | |
tree | f11dbab371a1659c72ac363424f31952cee18117 /lib/Sema/SemaDecl.cpp | |
parent | 2fef752aebece6786e5f3d54984272ef85564af8 (diff) |
Revert r107374, which broke bootstrap.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 500d73eb9b..ba84f7c223 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -3023,7 +3023,7 @@ Sema::ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC, } else if (Name.getNameKind() == DeclarationName::CXXDestructorName) { // This is a C++ destructor declaration. if (DC->isRecord()) { - R = CheckDestructorDeclarator(D, R, SC); + R = CheckDestructorDeclarator(D, SC); NewFD = CXXDestructorDecl::Create(Context, cast<CXXRecordDecl>(DC), |