]> granicus.if.org Git - clang/commitdiff
Put helper class in anonymous namespace.
authorCraig Topper <craig.topper@gmail.com>
Mon, 1 Jul 2013 06:29:40 +0000 (06:29 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 1 Jul 2013 06:29:40 +0000 (06:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185305 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOverload.cpp

index 42eced466ecaca20ab0a00295370d756e19990c6..acaa3ba860088453f7500f0ef2c4720927564e65 100644 (file)
@@ -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