summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorCarlos Galvez <carlosgalvezp@gmail.com>2021-09-28 08:37:32 +0000
committerCarlos Galvez <carlosgalvezp@gmail.com>2021-10-16 08:27:08 +0000
commitf0711106dc6c14dcaf06437a0467043e983bf9dc (patch)
tree39e96b5fecf947146ded0cc414e419ff9acd6497 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parente7bb8dd92983a918fbb370b135e664825f387580 (diff)
[clang-tidy] Fix false positive in cppcoreguidelines-virtual-class-destructor
Incorrectly triggers for template classes that inherit from a base class that has virtual destructor. Any class inheriting from a base that has a virtual destructor will have their destructor also virtual, as per the Standard: https://timsong-cpp.github.io/cppwp/n4140/class.dtor#9 > If a class has a base class with a virtual destructor, > its destructor (whether user- or implicitly-declared) is virtual. Added unit tests to prevent regression. Fixes bug https://bugs.llvm.org/show_bug.cgi?id=51912 Differential Revision: https://reviews.llvm.org/D110614
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions