We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f52fa2 commit 47a2951Copy full SHA for 47a2951
src/colvarparse.h
@@ -49,8 +49,14 @@ class colvarparse : public colvarparams {
49
return config_string;
50
}
51
52
+#ifdef __clang__
53
+#define PARSE_MODE_IS_FLAG [[clang::flag_enum]]
54
+#else
55
+#define PARSE_MODE_IS_FLAG
56
+#endif
57
+
58
/// How a keyword is parsed in a string
- enum Parse_Mode {
59
+ enum PARSE_MODE_IS_FLAG Parse_Mode {
60
/// Zero for all flags
61
parse_null = 0,
62
/// Print the value of a keyword if it is given
0 commit comments