File tree Expand file tree Collapse file tree
cpp/ql/test/query-tests/Likely Bugs/Leap Year/UnsafeArrayForDaysOfYear Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ void VectorOfDays_FalsePositive(int dayOfYear, int x)
7171
7272void f_______________________________________________________this_name_must_be_exactly_357_chars__________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ () {
7373 // Using this magic compiler variable results in a `const char` array being
74- // initialized with the function name which (including `void`, a space,
75- // and `()`). in this case, this adds up to exactly 364 characters.
74+ // initialized with the function signature. Including `void`, a space, and
75+ // `()`, the signature adds up to exactly 364 characters in this case .
7676 // The initializer for `__PRETTY_FUNCTION__` thus initializes an array of
7777 // length 365 (because the null-terminator adds another character).
7878 auto x = __PRETTY_FUNCTION__; // clean
You can’t perform that action at this time.
0 commit comments