We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bugprone-macro-parentheses
-Wparentheses
1 parent 34d2adf commit f1dc006Copy full SHA for f1dc006
include/lexy/dsl/punctuator.hpp
@@ -12,7 +12,7 @@ namespace lexyd
12
#define LEXY_PUNCT(Name, String) \
13
struct _##Name : LEXY_NTTP_STRING(_lit, String) \
14
{}; \
15
- inline constexpr auto(Name) = _##Name {}
+ inline constexpr auto Name /* NOLINT */ = _##Name {}
16
17
LEXY_PUNCT(period, ".");
18
LEXY_PUNCT(comma, ",");
0 commit comments