From 991663399792d4cc03da6b6c7131a6c213655318 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 17 Jun 2022 14:50:32 -0700 Subject: [lldb] Fix modernize-use-override warnings (NFC) Fix modernize-use-override warnings. Because this check is listed in LLDB's top level .clang-tidy configuration, the check is enabled by default and the resulting warnings show up in my editor. I've audited the modified lines. This is not a blind change. --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 8f379d4..76ad47f 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -636,7 +636,7 @@ public: const char *toCString() const; PythonException(const char *caller = nullptr); void Restore(); - ~PythonException(); + ~PythonException() override; void log(llvm::raw_ostream &OS) const override; std::error_code convertToErrorCode() const override; bool Matches(PyObject *exc) const; -- cgit v1.1