From e63dccd98dad0626328f8d9f244c5f53bdae8c48 Mon Sep 17 00:00:00 2001 From: Ivan Krasin Date: Thu, 6 Apr 2017 18:22:25 +0000 Subject: [PATCH] Revert r299672: Add a virtual destructor to a class with virtual methods. Reason: breaks sanitizers builds. Original Differential Revision: https://reviews.llvm.org/D317 llvm-svn: 299679 --- compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h | 1 - 1 file changed, 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h b/compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h index 18f1adc..2477aed 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.h @@ -22,7 +22,6 @@ namespace __sanitizer { class FlagHandlerBase { public: - virtual ~FlagHandlerBase() {} virtual bool Parse(const char *value) { return false; } }; -- 2.7.4