From: Benjamin Kramer Date: Sun, 22 Sep 2019 09:28:47 +0000 (+0000) Subject: Move classes into anonymous namespaces. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18524e1862e9a81b4bc146d1560ecff1b5f41001;p=clang Move classes into anonymous namespaces. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372495 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp index 52d21a54a1..a824499518 100644 --- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp @@ -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)