Code quality: Fix header guards consistency

Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
This commit is contained in:
Rémi Verschelde
2022-07-23 23:41:51 +02:00
parent 3084a48ace
commit 90019676b0
491 changed files with 1009 additions and 863 deletions

View File

@ -84,4 +84,4 @@ public:
VARIANT_ENUM_CAST(OpenXRAction::ActionType);
#endif // !OPENXR_ACTION_H
#endif // OPENXR_ACTION_H

View File

@ -28,8 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
#ifndef OPENXR_ACTION_SETS_H
#define OPENXR_ACTION_SETS_H
#ifndef OPENXR_ACTION_MAP_H
#define OPENXR_ACTION_MAP_H
#include "core/io/resource.h"
@ -79,4 +79,4 @@ public:
~OpenXRActionMap();
};
#endif // !OPENXR_ACTION_SETS_H
#endif // OPENXR_ACTION_MAP_H

View File

@ -72,4 +72,4 @@ public:
~OpenXRActionSet();
};
#endif // !OPENXR_ACTION_SET_H
#endif // OPENXR_ACTION_SET_H

View File

@ -121,4 +121,4 @@ public:
static PackedStringArray get_interaction_profile_paths();
};
#endif // !OPENXR_DEFS_H
#endif // OPENXR_DEFS_H

View File

@ -98,4 +98,4 @@ public:
~OpenXRInteractionProfile();
};
#endif // !OPENXR_INTERACTION_PROFILE_H
#endif // OPENXR_INTERACTION_PROFILE_H