diff options
| -rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h | 6 |
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; |

