Closed
Description
Affected rules
A27-0-4
A18-1-1
Description
__func__
triggers the use of C-Style strings and arrays because it generates a local variable called __func__
with a c-style string/array as its initializer. We want to exclude this as it is defined outside of the control of the user, and is the standard way to access the name of the enclosing function,
Example
__func__; // triggers c-style arrays and strings