[llvm-bugs] [Bug 32286] New: -Wnon-virtual-dtor has false positives on COM classes destroyed with Relese()
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 15 11:26:17 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32286
Bug ID: 32286
Summary: -Wnon-virtual-dtor has false positives on COM classes
destroyed with Relese()
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
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
classes.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170315/dfcdb101/attachment.html>
More information about the llvm-bugs
mailing list