[;{}] [*] \w+? (\+\+|\-\-) ; UnusedDeref style Redundant * found, "*p++" is the same as "*(p++)". if \( ([!] )*?(strlen) \( \w+? \) ([>] [0] )*?\) { StrlenEmptyString performance Using strlen() to check if a string is empty is not efficient. [;{}] [*] \w+? (\+\+|\-\-) ; UnusedDeref style Redundant * found, "*p++" is the same as "*(p++)". define define [0-9A-Z_^a-z]*[a-z] defineUpperCase style Macros must be uppercase define define (MIGRAP|[^H]{6})[^H][^_] definePrefix style Macros must be prefixed with MIGRAPH_ (memcpy|strcpy|strncpy|strcat|strncat) \( useStlAlgorithms style Use std::copy instead memset \( useStlAlgorithms style Use std::fill instead memcmp \( useStlAlgorithms style Use std::equal_range instead memchr \( useStlAlgorithms style Use std::find instead (fclose|free|hipFree) \( useManagePointer style Use manage pointer for resource management normal ! ! doubleNegative style Double negative is always positive normal BitwiseOperatorInConditional style Bitwise operator found in if statement. normal CollapsibleIfStatements style These two if statements can be collapsed into one. normal EmptyCatchStatement style An empty catch statement. normal EmptyDoWhileStatement style Empty do-while. normal EmptyElseBlock style Empty else statement can be safely removed. normal EmptyForStatement style Empty for statement. normal EmptyIfStatement style Empty if statement. normal EmptySwitchStatement style Empty switch statement. normal EmptyWhileStatement style Empty while statement. normal ForLoopShouldBeWhileLoop style For loop should be written as a while loop. normal goto GotoStatement style Goto considered harmful. normal InvertedLogic style It is cleaner to invert the logic. normal InvertedLogic style It is cleaner to invert the logic. normal InvertedLogic style It is cleaner to invert the logic. normal InvertedLogic style It is cleaner to invert the logic. normal RedundantConditionalOperator style Conditional operator is redundant. normal RedundantIfStatement style The if statement is redundant. normal useStlAlgorithm style Considering using std::copy instead. normal useStlAlgorithm style Considering using std::fill instead. normal useStlAlgorithm style Considering using std::generate instead. normal useStlAlgorithm style Considering using std::transform instead. normal useStlAlgorithm style Considering using std::transform instead.