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 | 396dcf356fc290e44bb24c7b9ade30d3458f00eb (patch) | |
tree | 9a179cb983fb9a1e026ccb8ab1c3bc42bfe008d0 | |
parent | 30c4892ea59603de260c5eef0316d04b78f1da16 (diff) | |
download | bcm5719-llvm-396dcf356fc290e44bb24c7b9ade30d3458f00eb.tar.gz bcm5719-llvm-396dcf356fc290e44bb24c7b9ade30d3458f00eb.zip |
Put class into an anonymous namespace.
llvm-svn: 118293
-rw-r--r-- | clang/lib/AST/Decl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp index c6c7649bdac..c88f79b29fa 100644 --- a/clang/lib/AST/Decl.cpp +++ b/clang/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. |