r185305 - Put helper class in anonymous namespace.

Craig Topper craig.topper at gmail.com
Sun Jun 30 23:29:40 PDT 2013


Author: ctopper
Date: Mon Jul  1 01:29:40 2013
New Revision: 185305

URL: http://llvm.org/viewvc/llvm-project?rev=185305&view=rev
Log:
Put helper class in anonymous namespace.

Modified:
    cfe/trunk/lib/Sema/SemaOverload.cpp

Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=185305&r1=185304&r2=185305&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Mon Jul  1 01:29:40 2013
@@ -6219,6 +6219,8 @@ void Sema::AddBuiltinCandidate(QualType
   }
 }
 
+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





More information about the cfe-commits mailing list