Skip to content

[Task] Consider ECC check for #pragma once in header files #12187

@makubacki

Description

@makubacki

As a follow up to #12149, add a check to ECC for #pragma once being used instead of traditional include guards.

That PR removed the requirement for traditional include guards but deferred enforcement of an alternative mechanism because some files in the codebase are directly copied from external projects and an assessment needs to be made on overall impact of enforcing #pragma once.

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