CWARN.INLINE.NONFUNCKeyword inline used with non-functionThe CWARN.INLINE.NONFUNC checker finds instances in which the inline keyword is applied to something other than a function or method. Vulnerable code example1 inline int x; Klocwork flags this example, in which the inline keyword is applied to an int declaration. |