r262716 - Move class into anonymous namespace. NFC.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 4 06:18:53 PST 2016


Author: d0k
Date: Fri Mar  4 08:18:52 2016
New Revision: 262716

URL: http://llvm.org/viewvc/llvm-project?rev=262716&view=rev
Log:
Move class into anonymous namespace. NFC.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp?rev=262716&r1=262715&r2=262716&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp Fri Mar  4 08:18:52 2016
@@ -61,6 +61,7 @@ private:
 // SymbolRef for the receiver.
 REGISTER_SET_WITH_PROGRAMSTATE(CalledSuperDealloc, SymbolRef)
 
+namespace {
 class SuperDeallocBRVisitor final
     : public BugReporterVisitorImpl<SuperDeallocBRVisitor> {
 
@@ -81,6 +82,7 @@ public:
     ID.Add(ReceiverSymbol);
   }
 };
+} // End anonymous namespace.
 
 void ObjCSuperDeallocChecker::checkPreObjCMessage(const ObjCMethodCall &M,
                                                   CheckerContext &C) const {




More information about the cfe-commits mailing list