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:
parent
3084a48ace
commit
90019676b0
491 changed files with 1009 additions and 863 deletions
|
|
@ -84,4 +84,4 @@ public:
|
|||
|
||||
VARIANT_ENUM_CAST(OpenXRAction::ActionType);
|
||||
|
||||
#endif // !OPENXR_ACTION_H
|
||||
#endif // OPENXR_ACTION_H
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -72,4 +72,4 @@ public:
|
|||
~OpenXRActionSet();
|
||||
};
|
||||
|
||||
#endif // !OPENXR_ACTION_SET_H
|
||||
#endif // OPENXR_ACTION_SET_H
|
||||
|
|
|
|||
|
|
@ -121,4 +121,4 @@ public:
|
|||
static PackedStringArray get_interaction_profile_paths();
|
||||
};
|
||||
|
||||
#endif // !OPENXR_DEFS_H
|
||||
#endif // OPENXR_DEFS_H
|
||||
|
|
|
|||
|
|
@ -98,4 +98,4 @@ public:
|
|||
~OpenXRInteractionProfile();
|
||||
};
|
||||
|
||||
#endif // !OPENXR_INTERACTION_PROFILE_H
|
||||
#endif // OPENXR_INTERACTION_PROFILE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue