Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
final means "final"
#5
10-3-2 requires that overriding virtual functions are marked as 'override' or 'final'
10-3-3 requires that overriding virtual functions of a final class should be marked 'final'
          (its not explicit, but clear from the examples - where a function marked 'override' is shown Non-Compliant)

Your static analyser should be accepting 'final' 

For the next version of MISRA C++, we are likely to revise these requirements.
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
final means "final" - by kent.dorfman766 - 14-03-2022, 06:18 PM
RE: final means "final" - by cgpzs - 15-03-2022, 01:57 PM
RE: final means "final" - by kent.dorfman766 - 18-03-2022, 05:01 AM
RE: final means "final" - by cgpzs - 21-03-2022, 10:31 AM
RE: final means "final" - by misra cpp - 22-03-2022, 11:00 AM
RE: final means "final" - by cgpzs - 22-03-2022, 04:03 PM
RE: final means "final" - by misra cpp - 13-05-2022, 01:56 PM
RE: final means "final" - by novelsmith - 23-01-2024, 07:51 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)