aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-11-27 01:26:58 +0000
committerAnders Carlsson <andersca@mac.com>2009-11-27 01:26:58 +0000
commit1a68972b541025ee3cc5197cda672bf2d6097d6d (patch)
tree88e0be17e7c5d71badf0275c352f04205f73115f /lib/Sema/SemaDecl.cpp
parentd5a942b9118d2dea65b5bfdf0803ef5716a3e68b (diff)
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r--lib/Sema/SemaDecl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 862fdfeaba..153c15b889 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -2599,8 +2599,7 @@ static bool FindOverriddenMethod(const CXXBaseSpecifier *Specifier,
QualType T = Data->S->Context.getTypeDeclType(BaseRecord);
CanQualType CT = Data->S->Context.getCanonicalType(T);
- DeclarationName Name =
- Data->S->Context.DeclarationNames.getCXXDestructorName(CT);
+ Name = Data->S->Context.DeclarationNames.getCXXDestructorName(CT);
}
for (Path.Decls = BaseRecord->lookup(Name);