From: Benjamin Kramer Date: Tue, 17 Sep 2019 12:56:29 +0000 (+0000) Subject: Hide implementation details in namespaces. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47cbf9f20beb33859c6ae2644d48241212226d48;p=clang Hide implementation details in namespaces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372113 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp index e960057725..dfc1cce89d 100644 --- a/lib/Sema/SemaLookup.cpp +++ b/lib/Sema/SemaLookup.cpp @@ -3701,6 +3701,7 @@ NamedDecl *VisibleDeclsRecord::checkHidden(NamedDecl *ND) { return nullptr; } +namespace { class LookupVisibleHelper { public: LookupVisibleHelper(VisibleDeclConsumer &Consumer, bool IncludeDependentBases, @@ -4025,6 +4026,7 @@ private: bool IncludeDependentBases; bool LoadExternal; }; +} // namespace void Sema::LookupVisibleDecls(Scope *S, LookupNameKind Kind, VisibleDeclConsumer &Consumer,