From: Benjamin Kramer Date: Fri, 4 Mar 2016 14:18:52 +0000 (+0000) Subject: Move class into anonymous namespace. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e0bd794efa508ad8b2c7a95f6f7091c9cbe54593;p=clang Move class into anonymous namespace. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@262716 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp b/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp index eb31321895..15980c5c53 100644 --- a/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp @@ -61,6 +61,7 @@ private: // SymbolRef for the receiver. REGISTER_SET_WITH_PROGRAMSTATE(CalledSuperDealloc, SymbolRef) +namespace { class SuperDeallocBRVisitor final : public BugReporterVisitorImpl { @@ -81,6 +82,7 @@ public: ID.Add(ReceiverSymbol); } }; +} // End anonymous namespace. void ObjCSuperDeallocChecker::checkPreObjCMessage(const ObjCMethodCall &M, CheckerContext &C) const {