chipsalliance / UHDM

Universal Hardware Data Model. A complete modeling of the IEEE SystemVerilog Object Model with VPI Interface, Elaborator, Serialization, Visitor and Listener. Used as a compiled interchange format in between SystemVerilog tools. Compiles on Linux gcc, Windows msys2-gcc & msvc, OsX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overridden methods: let's make them 'override' or 'final'

hzeller opened this issue · comments

overridden methods, such as getUhdmType() are currently declared 'virtual', but if we mark them 'override' (or, if leaf, final), we enable the compiler to detect when the base-class is changed and will warn accordingly. Also it is a good indication for human and compiler.