aboutsummaryrefslogtreecommitdiff
path: root/lib/AST
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2010-10-19 21:14:46 +0000
committerAndrew Trick <atrick@apple.com>2010-10-19 21:14:46 +0000
commit7cffb55ef5845f86b41b83c332e4b453ee4dcb16 (patch)
treea023116ef317997a60fcb84db3c3df7c750fcb24 /lib/AST
parentda7700e8180a3959a9f07debe3dbc358a5ea0639 (diff)
Reverting 116836,116837,116838 until we resolve the getLangStandardForKind failures.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST')
-rw-r--r--lib/AST/Decl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp
index 4898d6f2fc..e822009c58 100644
--- a/lib/AST/Decl.cpp
+++ b/lib/AST/Decl.cpp
@@ -1580,8 +1580,6 @@ void TagDecl::completeDefinition() {
TagDecl* TagDecl::getDefinition() const {
if (isDefinition())
return const_cast<TagDecl *>(this);
- if (const CXXRecordDecl *CXXRD = dyn_cast<CXXRecordDecl>(this))
- return CXXRD->getDefinition();
for (redecl_iterator R = redecls_begin(), REnd = redecls_end();
R != REnd; ++R)