(codingstyle): skip header guard test for PCH
What does this MR do?
This skips the header guard test for pch, because #pragma once
raises an error when compiling a pch.
We could have restored the old code that automatically format the header guard, but I think this is overkill as we do not modify pch very often.
How to test it?
- Execute sheldon on a pch and observe that it does not complain about the header guard.
- Execute sheldon on a regular header file:
- with a header guard and notice that sheldon raises an error
- with a
#pragma once
and notice that sheldon does not raise an error - without any header guard or
#pragma once
and notice that sheldon raises an error
Associated Issues/Merge Requests
- Issues
- Closes #23 (closed)
Edited by Flavien BRIDAULT