reviewdog [cpplint] report
reported by reviewdog 🐶
Findings (11)
src/cjit.c|221| Use int16_t/int64_t/etc, rather than the C type long [runtime/int] [4]
src/cjit.c|270| Almost always, snprintf is better than strcpy [runtime/printf] [4]
src/cwalk.c|312| Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
src/cwalk.c|356| Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
src/cwalk.c|379| Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
src/cwalk.c|418| Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
src/cwalk.c|724| Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
src/cwalk.c|981| Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
src/cwalk.c|1085| Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
src/main.c|143| Almost always, snprintf is better than strcpy [runtime/printf] [4]
src/repl.c|35| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Filtered Findings (0)
Annotations
Check warning on line 221 in src/cjit.c
github-actions / cpplint
[cpplint] src/cjit.c#L221
Use int16_t/int64_t/etc, rather than the C type long [runtime/int] [4]
Raw output
src/cjit.c:221: Use int16_t/int64_t/etc, rather than the C type long [runtime/int] [4]
Check warning on line 270 in src/cjit.c
github-actions / cpplint
[cpplint] src/cjit.c#L270
Almost always, snprintf is better than strcpy [runtime/printf] [4]
Raw output
src/cjit.c:270: Almost always, snprintf is better than strcpy [runtime/printf] [4]
Check warning on line 312 in src/cwalk.c
github-actions / cpplint
[cpplint] src/cwalk.c#L312
Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Raw output
src/cwalk.c:312: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Check warning on line 356 in src/cwalk.c
github-actions / cpplint
[cpplint] src/cwalk.c#L356
Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Raw output
src/cwalk.c:356: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Check warning on line 379 in src/cwalk.c
github-actions / cpplint
[cpplint] src/cwalk.c#L379
Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Raw output
src/cwalk.c:379: Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Check warning on line 418 in src/cwalk.c
github-actions / cpplint
[cpplint] src/cwalk.c#L418
Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Raw output
src/cwalk.c:418: Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Check warning on line 724 in src/cwalk.c
github-actions / cpplint
[cpplint] src/cwalk.c#L724
Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Raw output
src/cwalk.c:724: Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Check warning on line 981 in src/cwalk.c
github-actions / cpplint
[cpplint] src/cwalk.c#L981
Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Raw output
src/cwalk.c:981: Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Check warning on line 1085 in src/cwalk.c
github-actions / cpplint
[cpplint] src/cwalk.c#L1085
Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Raw output
src/cwalk.c:1085: Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]
Check warning on line 143 in src/main.c
github-actions / cpplint
[cpplint] src/main.c#L143
Almost always, snprintf is better than strcpy [runtime/printf] [4]
Raw output
src/main.c:143: Almost always, snprintf is better than strcpy [runtime/printf] [4]
Check warning on line 35 in src/repl.c
github-actions / cpplint
[cpplint] src/repl.c#L35
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Raw output
src/repl.c:35: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]