[cfe-commits] r118293 - /cfe/trunk/lib/AST/Decl.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Nov 5 12:56:38 PDT 2010


Author: d0k
Date: Fri Nov  5 14:56:37 2010
New Revision: 118293

URL: http://llvm.org/viewvc/llvm-project?rev=118293&view=rev
Log:
Put class into an anonymous namespace.

Modified:
    cfe/trunk/lib/AST/Decl.cpp

Modified: cfe/trunk/lib/AST/Decl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Decl.cpp?rev=118293&r1=118292&r2=118293&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Decl.cpp (original)
+++ cfe/trunk/lib/AST/Decl.cpp Fri Nov  5 14:56:37 2010
@@ -75,6 +75,7 @@
                 minVisibility(L.second, R.visibility()));
 }
 
+namespace {
 /// Flags controlling the computation of linkage and visibility.
 struct LVFlags {
   bool ConsiderGlobalVisibility;
@@ -93,6 +94,7 @@
     return F;
   }
 };
+} // end anonymous namespace
 
 /// \brief Get the most restrictive linkage for the types in the given
 /// template parameter list.





More information about the cfe-commits mailing list