Browse Source

macro: suppress macro usage linter messages

Michele Caini 1 year ago
parent
commit
9db1d085f9
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/entt/config/macro.h

+ 4 - 0
src/entt/config/macro.h

@@ -1,7 +1,11 @@
 #ifndef ENTT_CONFIG_MACRO_H
 #define ENTT_CONFIG_MACRO_H
 
+// NOLINTBEGIN(cppcoreguidelines-macro-usage)
+
 #define ENTT_STR(arg) #arg
 #define ENTT_XSTR(arg) ENTT_STR(arg)
 
+// NOLINTEND(cppcoreguidelines-macro-usage)
+
 #endif