From 42c6ac748e5f06a902f019c14fe54ed8bb453745 Mon Sep 17 00:00:00 2001 From: George Karpenkov Date: Thu, 10 Jan 2019 18:16:10 +0000 Subject: [PATCH] [analyzer] [NFC] [RetainCountChecker] Remove dead unused map Differential Revision: https://reviews.llvm.org/D56402 llvm-svn: 350868 --- .../Checkers/RetainCountChecker/RetainCountChecker.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h index 0c233f72dd10..95b1a3a6c5a5 100644 --- a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h +++ b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h @@ -256,11 +256,6 @@ class RetainCountChecker mutable std::unique_ptr overAutorelease, returnNotOwnedForOwned; mutable std::unique_ptr leakWithinFunction, leakAtReturn; - typedef llvm::DenseMap SymbolTagMap; - - // This map is only used to ensure proper deletion of any allocated tags. - mutable SymbolTagMap DeadSymbolTags; - mutable std::unique_ptr Summaries; public: static constexpr const char *DeallocTagDescription = "DeallocSent"; @@ -273,7 +268,6 @@ public: RetainCountChecker() {} - ~RetainCountChecker() override { DeleteContainerSeconds(DeadSymbolTags); } CFRefBug *getLeakWithinFunctionBug(const LangOptions &LOpts) const;