summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2019-09-22 09:28:47 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2019-09-22 09:28:47 +0000
commit18524e1862e9a81b4bc146d1560ecff1b5f41001 (patch)
tree5254f12e545e5ea93857fd269f08ec7dc6a51a6d
parentb8424d3ac298e8a467da5be19684a5420dffac33 (diff)
downloadclang-18524e1862e9a81b4bc146d1560ecff1b5f41001.tar.gz
Move classes into anonymous namespaces. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372495 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/StaticAnalyzer/Checkers/MallocChecker.cpp4
1 files changed, 2 insertions, 2 deletions
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)