Skip to content

Use of C++11 override keyword within standard and user code #289

Open
@voertler

Description

@voertler

In C++11 and newer the use of the override keyword is considered best practice. This should not affect the UVM user space i.e. means they should be free to use override as they like.
However, in UVM macros like UVM_OBJECT_UTILS should be used in user space to implement some virtual methods. The current macro implementation doesn't mark these as override. This leads to inconsistent override warnings when the user uses the override keyword in other parts of their classes.
I think there are 3 options to deal with this issue:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions