From cf4bdde33a0450f212e7577b71a7bcfe5213cb15 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 21 Feb 2015 02:45:19 +0000 Subject: Cleanup: remove artificial division between lookup results and const lookup results. No-one was ever modifying a lookup result, and it would not be reasonable to do so. llvm-svn: 230123 --- clang/lib/Serialization/ASTWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Serialization/ASTWriter.cpp') diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp index 5d508967f25..9fef9855666 100644 --- a/clang/lib/Serialization/ASTWriter.cpp +++ b/clang/lib/Serialization/ASTWriter.cpp @@ -3699,7 +3699,7 @@ void ASTWriter::AddUpdatedDeclContext(const DeclContext *DC) { // Ensure we emit all the visible declarations. visitLocalLookupResults(DC, DC->NeedToReconcileExternalVisibleStorage, [&](DeclarationName Name, - DeclContext::lookup_const_result Result) { + DeclContext::lookup_result Result) { for (auto *Decl : Result) GetDeclRef(getDeclForLocalLookup(getLangOpts(), Decl)); }); -- cgit v1.2.3