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 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