Put class into an anonymous namespace.

llvm-svn: 118293
This commit is contained in:
Benjamin Kramer 2010-11-05 19:56:37 +00:00
parent 30c4892ea5
commit 396dcf356f
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ static LVPair merge(LVPair L, LinkageInfo R) {
minVisibility(L.second, R.visibility())); minVisibility(L.second, R.visibility()));
} }
namespace {
/// Flags controlling the computation of linkage and visibility. /// Flags controlling the computation of linkage and visibility.
struct LVFlags { struct LVFlags {
bool ConsiderGlobalVisibility; bool ConsiderGlobalVisibility;
@ -93,6 +94,7 @@ struct LVFlags {
return F; return F;
} }
}; };
} // end anonymous namespace
/// \brief Get the most restrictive linkage for the types in the given /// \brief Get the most restrictive linkage for the types in the given
/// template parameter list. /// template parameter list.