Warning, /sdk/clazy/docs/checks/README-unexpected-flag-enumerator-value.md is written in an unsupported language. File is not indexed.
0001 # unexpected-flag-enumerator-value 0002 0003 Checks `enum`s that are used as flag, for example: 0004 0005 ```cpp 0006 enum Foo { 0007 A = 0x1, 0008 B = 0x2, 0009 C = 0x4, 0010 D = 0x9 // Oops, typo 0011 }; 0012 ``` 0013 0014 and checks whether all enumeration values are power of 2 or not.