Issue 178643
Summary clang-analyzer VirtualCall
Labels new issue
Assignees
Reporter Jazzco
    Hi,

in a destructor I get the warning:
```
Call to virtual method '...' during destruction bypasses virtual dispatch [clang-analyzer.optin.cplusplus.VirtualCall]
```
My class is derived but doesn't need to be derived further. Thus, to prevent any issues with this I added the `final` keyword to the class. However, it doesn't silent the warning of clang. To my understanding the warning makes no sense for a final class.

Jazzco
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to