diff options
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. |