http://llvm.org/bugs/show_bug.cgi?id=12155
Bug #: 12155
Summary: It would be useful to mark a virtual method as "must
be overridden"
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
It's often useful to have a virtual method on a class that's not pure virtual
but that all subclasses need to override. A typical example would be a "how
much memory am I using?" method.
It would be nice to be able to annotate such methods so that clang warns when
they're not overridden by a subclass.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs