Index: lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h =================================================================== --- lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h +++ lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h @@ -256,11 +256,6 @@ 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 @@ RetainCountChecker() {} - ~RetainCountChecker() override { DeleteContainerSeconds(DeadSymbolTags); } CFRefBug *getLeakWithinFunctionBug(const LangOptions &LOpts) const;