summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-01 06:29:40 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-01 06:29:40 +0000
commitcd7b03342d93613c93daf611509df9c953f39181 (patch)
tree984739858366f34e4e6742ff23313894e678c874
parent0bca59d6f7a2259b7eddefaeb19fcec8e60f37db (diff)
downloadbcm5719-llvm-cd7b03342d93613c93daf611509df9c953f39181.tar.gz
bcm5719-llvm-cd7b03342d93613c93daf611509df9c953f39181.zip
Put helper class in anonymous namespace.
llvm-svn: 185305
-rw-r--r--clang/lib/Sema/SemaOverload.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index 42eced466ec..acaa3ba8600 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -6219,6 +6219,8 @@ void Sema::AddBuiltinCandidate(QualType ResultTy, QualType *ParamTys,
}
}
+namespace {
+
/// BuiltinCandidateTypeSet - A set of types that will be used for the
/// candidate operator functions for built-in operators (C++
/// [over.built]). The types are separated into pointer types and
@@ -6308,6 +6310,8 @@ public:
bool hasNullPtrType() const { return HasNullPtrType; }
};
+} // end anonymous namespace
+
/// AddPointerWithMoreQualifiedTypeVariants - Add the pointer type @p Ty to
/// the set of pointer types along with any more-qualified variants of
/// that type. For example, if @p Ty is "int const *", this routine
OpenPOWER on IntegriCloud