r372113 - Hide implementation details in namespaces.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 17 05:56:30 PDT 2019


Author: d0k
Date: Tue Sep 17 05:56:29 2019
New Revision: 372113

URL: http://llvm.org/viewvc/llvm-project?rev=372113&view=rev
Log:
Hide implementation details in namespaces.

Modified:
    cfe/trunk/lib/Sema/SemaLookup.cpp

Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=372113&r1=372112&r2=372113&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Tue Sep 17 05:56:29 2019
@@ -3701,6 +3701,7 @@ NamedDecl *VisibleDeclsRecord::checkHidd
   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,




More information about the cfe-commits mailing list