Index: htdocs/codingconventions.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/codingconventions.html,v retrieving revision 1.77 diff -u -p -r1.77 codingconventions.html --- htdocs/codingconventions.html 18 Sep 2016 13:55:17 -0000 1.77 +++ htdocs/codingconventions.html 14 Oct 2016 21:22:44 -0000 @@ -902,7 +902,10 @@ Its use with data-carrying classes is mo
Think carefully about the size and performance impact
of virtual functions and virtual bases
-before using them.
+before using them. If you do use virtual functions, use the
+OVERRIDE
and FINAL
macros from
+include/ansidecl.h
to annotate the code for a human reader,
+and to allow sufficiently modern C++ compilers to detect mistakes.