]> granicus.if.org Git - clang/commitdiff
Move classes into anonymous namespaces. NFC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 22 Sep 2019 09:28:47 +0000 (09:28 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 22 Sep 2019 09:28:47 +0000 (09:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372495 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/MallocChecker.cpp

index 52d21a54a12fd89ea78792729a008ebb9e2b83dc..a824499518730e0924007d75d2a5e6633b6aed17 100644 (file)
@@ -662,8 +662,6 @@ private:
   void reportLeak(SymbolRef Sym, ExplodedNode *N, CheckerContext &C) const;
 };
 
-} // end anonymous namespace
-
 //===----------------------------------------------------------------------===//
 // Definition of MallocBugVisitor.
 //===----------------------------------------------------------------------===//
@@ -793,6 +791,8 @@ private:
   };
 };
 
+} // end anonymous namespace
+
 // A map from the freed symbol to the symbol representing the return value of
 // the free function.
 REGISTER_MAP_WITH_PROGRAMSTATE(FreeReturnValue, SymbolRef, SymbolRef)