Issue 186628
Summary [clang-tidy] documentation of cppcoreguidelines-virtual-class-destructor claims behavior that does not exist
Labels clang-tidy
Assignees
Reporter AssortedBits
    As explained in #184184: In the documentation of `cppcoreguidelines-virtual-class-destructor`, the following claim:

> This check implements [C.35](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rc-dtor-virtual) from the C++ Core Guidelines.

is incorrect and should be weakened significantly.

There is an alternative proposal in #184184 , to treat the current behavior of this rule as a bug and fix the behavior, or to add a new optional mode of this rule that satisfies the claim. However, that ticket may instead be resolved by adding a new standalone check -- in which case, the documentation for this existing rule will still be wrong.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to