[llvm-bugs] [Bug 32286] New: -Wnon-virtual-dtor has false positives on COM classes destroyed with Relese()
llvm-bugs at lists.llvm.org
Wed Mar 15 11:26:17 PDT 2017
Bug ID: 32286
Summary: -Wnon-virtual-dtor has false positives on COM classes
destroyed with Relese()
OS: Windows NT
Assignee: unassignedclangbugs at nondot.org
Reporter: rnk at google.com
CC: llvm-bugs at lists.llvm.org
COM classes don't have a virtual destructor, but they always inherit from
IUnknown, and override Release to destroy their state.
I encountered this while attempting to build clang on windows with the warning
flags we use on Unix, and hit a million false positives on these kinds of
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs