Skip to content

Use correct interface or template declaration - #375

Merged
pebenito merged 1 commit into
SELinuxProject:masterfrom
cgzones:infer
Jun 3, 2021
Merged

Use correct interface or template declaration#375
pebenito merged 1 commit into
SELinuxProject:masterfrom
cgzones:infer

Conversation

@cgzones

@cgzones cgzones commented May 13, 2021

Copy link
Copy Markdown
Contributor

Following the guideline of interfaces not allowed to declare anything and not use prefix parameters, declare interfaces doing so as templates.

Also declare templates not using those features and not calling templates themselves as interfaces.

These changes originate from the discussion in SELinuxProject/selint#205 and are found by new proposed SELint checks at SELinuxProject/selint#206.

Signed-off-by: Christian Göttsche cgzones@googlemail.com

Following the guideline of interfaces not allowed to declare anything
and not use prefix parameters, declare interfaces doing so as templates.

Also declare templates not using those features and not calling
templates themselves as interfaces.

These changes originate from the discussion in
SELinuxProject/selint#205 and are found by
new proposed SELint checks at
SELinuxProject/selint#206.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
@pebenito

Copy link
Copy Markdown
Member

You have RFC, so I'm waiting on merging, if you have any other changes.

@cgzones cgzones changed the title RFC: Use correct interface or template declaration Use correct interface or template declaration May 22, 2021
@pebenito
pebenito merged commit ad7217f into SELinuxProject:master Jun 3, 2021
@cgzones
cgzones deleted the infer branch June 3, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants