Skip to content

Commit 54beff6

Browse files
Internal: Checks: Removed GitHub issue-number references from CodeCheck comments [autosync]
1 parent c3f612b commit 54beff6

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

CodeCheck/Published Standards/MISRA C 2012/MISRA12_10.6/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ int main() {
2323
return 0;
2424
}
2525

26-
// #4916: an 8-bit destination is not wider than a 16/32-bit operand. Earlier the
26+
// An 8-bit destination is not wider than a 16/32-bit operand. Earlier the
2727
// size comparison was done on strings ("32" < "8"), so any wider operand was
2828
// treated as narrower and these were flagged.
2929
void narrow_destination(void) {

CodeCheck/Published Standards/MISRA C 2012/MISRA12_10.8/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <stdint.h>
22
#include <string.h>
33

4-
// #4916: rule 10.8 only applies to composite expressions. A cast of a single
4+
// Rule 10.8 only applies to composite expressions. A cast of a single
55
// object, constant, function call or array element is compliant.
66
#define OUTPUT_BITS (256)
77
void non_composite_operands(const uint8_t *data, uint32_t index) {

CodeCheck/Published Standards/MISRA C 2012/MISRA12_11.4/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ int main() {
99
enum etag { A, B } e = ( enum etag ) p; // UndCC_FalseNeg
1010
}
1111

12-
// #4916: no pointer/integer conversion occurs in these. The check used to read
12+
// No pointer/integer conversion occurs in these. The check used to read
1313
// the declared type of an operand while ignoring '&' (address-of) and the
1414
// subscript operator.
1515
void no_conversion(void) {

CodeCheck/Published Standards/MISRA C 2012/MISRA12_13.1/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ int main() {
3030
uint32_t arr3[2] = {(uint32_t)(x++), 5}; // UndCC_Violation
3131
}
3232

33-
// #4916: assigning to an array element is not an initializer list.
33+
// Assigning to an array element is not an initializer list.
3434
uint32_t make_value(void) { return 7; }
3535
void element_assignment(void) {
3636
uint8_t message[20];

CodeCheck/Published Standards/MISRA C 2012/MISRA12_14.4/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <stddef.h>
33
#include <stdbool.h>
44

5-
// #4916: the rule applies to C if/iteration statements, not preprocessor #if.
5+
// The rule applies to C if/iteration statements, not preprocessor #if.
66
#if ARCH == 7 // UndCC_Valid
77
#define A 1
88
#elif !defined B && !defined C // UndCC_Valid

CodeCheck/SciTools' Recommended Checks/RECOMMENDED_05/check.upy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def check(check, file):
286286
if not defineRef:
287287
# No definition and no declaration in the project: a library
288288
# function whose header isn't part of the project, not an implicit
289-
# declaration. Real implicit declarations are caught above. (#4916)
289+
# declaration. Real implicit declarations are caught above.
290290
continue
291291

292292
if defineRef.file().longname() == call.file().longname() and not declareReferences:

CodeCheck/SciTools' Recommended Checks/RECOMMENDED_05/test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "string_lib.h"
22

3-
// #4916: memset is declared in a header but a fortified library macro redirects
3+
// memset is declared in a header but a fortified library macro redirects
44
// the call to compiler builtins (__builtin___memset_chk, __builtin_object_size).
55
// Those are compiler intrinsics, not implicit declarations.
66
void test_fortified_memset( void ) {

0 commit comments

Comments
 (0)