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.
As a follow up to #12149, add a check to ECC for
#pragma oncebeing 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.