summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2019-01-10 18:16:10 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2019-01-10 18:16:10 +0000
commit42c6ac748e5f06a902f019c14fe54ed8bb453745 (patch)
tree3daf62ec072c8dd6195781ad1e2fb47549c1682c /clang/lib
parent4f64b38f561a7dfab1cbb7514f1bfdacbc7e8bad (diff)
downloadbcm5719-llvm-42c6ac748e5f06a902f019c14fe54ed8bb453745.tar.gz
bcm5719-llvm-42c6ac748e5f06a902f019c14fe54ed8bb453745.zip
[analyzer] [NFC] [RetainCountChecker] Remove dead unused map
Differential Revision: https://reviews.llvm.org/D56402 llvm-svn: 350868
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h
index 0c233f72dd1..95b1a3a6c5a 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<CFRefBug> overAutorelease, returnNotOwnedForOwned;
mutable std::unique_ptr<CFRefBug> leakWithinFunction, leakAtReturn;
- typedef llvm::DenseMap<SymbolRef, const CheckerProgramPointTag *> SymbolTagMap;
-
- // This map is only used to ensure proper deletion of any allocated tags.
- mutable SymbolTagMap DeadSymbolTags;
-
mutable std::unique_ptr<RetainSummaryManager> Summaries;
public:
static constexpr const char *DeallocTagDescription = "DeallocSent";
@@ -273,7 +268,6 @@ public:
RetainCountChecker() {}
- ~RetainCountChecker() override { DeleteContainerSeconds(DeadSymbolTags); }
CFRefBug *getLeakWithinFunctionBug(const LangOptions &LOpts) const;
OpenPOWER on IntegriCloud