Explorar o código

macro: suppress macro usage linter messages

Michele Caini %!s(int64=2) %!d(string=hai) anos
pai
achega
9db1d085f9
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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