Skip to content

Don't make class SementicContext::Empty final. - #3776

Merged
parrt merged 1 commit into
antlr:devfrom
hzeller:20220706-dont-make-incomplete-virtual-class-final
Jul 6, 2022
Merged

parrt merged 1 commit into
antlr:devfrom
hzeller:20220706-dont-make-incomplete-virtual-class-final

Conversation

@hzeller

@hzeller hzeller commented Jul 6, 2022

Copy link
Copy Markdown
Contributor

Don't make class SementicContext::Empty final.

The class does not implement the pure virtual methods so can
not be considered 'final'. Clang 10 and 11 complain about this.

Context: chipsalliance/Surelog#3081

@hzeller

hzeller commented Jul 6, 2022

Copy link
Copy Markdown
Contributor Author

CC @KvanTTT

The class does not implement the pure virtual methods so can
not be considered 'final'. Clang 10 and 11 complain about this.

Context: chipsalliance/Surelog#3081
Signed-off-by: Henner Zeller <h.zeller@acm.org>
@hzeller
hzeller force-pushed the 20220706-dont-make-incomplete-virtual-class-final branch from 5e35490 to 2fd7146 Compare July 6, 2022 15:57
@hzeller

hzeller commented Jul 6, 2022

Copy link
Copy Markdown
Contributor Author

The MacOSX CI issues seem to be unrelated (It fails attempting to download something)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants