summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/AST/Decl.cpp2
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.
OpenPOWER on IntegriCloud