File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ Checks: >
1818 -objc-*,
1919 -openmp-*,
2020 -zircon-*,
21- cert-err34-c,
2221 cppcoreguidelines-pro-type-static-cast-downcast,
2322 cppcoreguidelines-rvalue-reference-param-not-moved,
2423 google-explicit-constructor,
Original file line number Diff line number Diff line change @@ -156,14 +156,14 @@ static int getMinFormatStringOutputLength(const std::vector<const Token*> ¶m
156156 outputStringSize++;
157157
158158 if (handleNextParameter) {
159- // NOLINTNEXTLINE(cert-err34-c ) - intentional use
159+ // NOLINTNEXTLINE(bugprone-unchecked-string-to-number-conversion ) - intentional use
160160 int tempDigits = std::abs (std::atoi (digits_string.c_str ()));
161161 if (i_d_x_f_found)
162162 tempDigits = std::max (tempDigits, 1 );
163163
164164 if (digits_string.find (' .' ) != std::string::npos) {
165165 const std::string endStr = digits_string.substr (digits_string.find (' .' ) + 1 );
166- // NOLINTNEXTLINE(cert-err34-c ) - intentional use
166+ // NOLINTNEXTLINE(bugprone-unchecked-string-to-number-conversion ) - intentional use
167167 const int maxLen = std::max (std::abs (std::atoi (endStr.c_str ())), 1 );
168168
169169 if (formatString[i] == ' s' ) {
You can’t perform that action at this time.
0 commit comments