From 0a5a2216e2d52482d0c59220d4b85f828aeaae70 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 11 Feb 2010 01:04:33 +0000 Subject: Eliminate the ASTContext parameter from RecordDecl::getDefinition() and CXXRecordDecl::getDefinition(); it's totally unnecessary. No functionality change. llvm-svn: 95836 --- clang/lib/Frontend/ASTConsumers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Frontend/ASTConsumers.cpp') diff --git a/clang/lib/Frontend/ASTConsumers.cpp b/clang/lib/Frontend/ASTConsumers.cpp index 33cb94e02dc..ebbd720ceb6 100644 --- a/clang/lib/Frontend/ASTConsumers.cpp +++ b/clang/lib/Frontend/ASTConsumers.cpp @@ -564,7 +564,7 @@ public: if (RD->isInvalidDecl()) continue; - if (!RD->getDefinition(C)) + if (!RD->getDefinition()) continue; // FIXME: Do we really need to hard code this? -- cgit v1.2.3