diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-05 19:56:37 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-11-05 19:56:37 +0000 |
commit | 752c2e930a3ec30b5e338845fd5e7baae532ee69 (patch) | |
tree | 11e7fba9aff667cb006b1ae929c1bdd6396191b1 /lib/AST/Decl.cpp | |
parent | 8188e5f6367714e0eda2bdf9a9710131cb15bbfb (diff) |
Put class into an anonymous namespace.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index c6c7649bda..c88f79b29f 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -75,6 +75,7 @@ static LVPair merge(LVPair L, LinkageInfo R) { minVisibility(L.second, R.visibility())); } +namespace { /// Flags controlling the computation of linkage and visibility. struct LVFlags { bool ConsiderGlobalVisibility; @@ -93,6 +94,7 @@ struct LVFlags { return F; } }; +} // end anonymous namespace /// \brief Get the most restrictive linkage for the types in the given /// template parameter list. |