Feat/elflibs #393
reviewdog [cpplint] report
reported by reviewdog 🐶
Findings (12)
src/cjit.c|199| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
src/cjit.c|302| Missing space after ; [whitespace/semicolon] [3]
src/cjit.c|306| Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
src/cjit.c|523| Missing space after ; [whitespace/semicolon] [3]
src/elflinker.c|112| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
src/elflinker.c|115| Missing space after ; [whitespace/semicolon] [3]
src/elflinker.c|117| Missing space after ; [whitespace/semicolon] [3]
src/elflinker.c|153| Almost always, snprintf is better than strcpy [runtime/printf] [4]
src/elflinker.c|157| Almost always, snprintf is better than strcpy [runtime/printf] [4]
src/elflinker.c|396| Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
src/file.c|99| Almost always, snprintf is better than strcat [runtime/printf] [4]
src/file.c|160| Add #include for fclose [build/include_what_you_use] [4]
Filtered Findings (0)
Annotations
Check warning on line 199 in src/cjit.c
github-actions / cpplint
[cpplint] src/cjit.c#L199
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Raw output
src/cjit.c:199: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Check warning on line 302 in src/cjit.c
github-actions / cpplint
[cpplint] src/cjit.c#L302
Missing space after ; [whitespace/semicolon] [3]
Raw output
src/cjit.c:302: Missing space after ; [whitespace/semicolon] [3]
Check warning on line 306 in src/cjit.c
github-actions / cpplint
[cpplint] src/cjit.c#L306
Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Raw output
src/cjit.c:306: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Check warning on line 523 in src/cjit.c
github-actions / cpplint
[cpplint] src/cjit.c#L523
Missing space after ; [whitespace/semicolon] [3]
Raw output
src/cjit.c:523: Missing space after ; [whitespace/semicolon] [3]
Check warning on line 112 in src/elflinker.c
github-actions / cpplint
[cpplint] src/elflinker.c#L112
Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Raw output
src/elflinker.c:112: Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
Check warning on line 115 in src/elflinker.c
github-actions / cpplint
[cpplint] src/elflinker.c#L115
Missing space after ; [whitespace/semicolon] [3]
Raw output
src/elflinker.c:115: Missing space after ; [whitespace/semicolon] [3]
Check warning on line 117 in src/elflinker.c
github-actions / cpplint
[cpplint] src/elflinker.c#L117
Missing space after ; [whitespace/semicolon] [3]
Raw output
src/elflinker.c:117: Missing space after ; [whitespace/semicolon] [3]
Check warning on line 153 in src/elflinker.c
github-actions / cpplint
[cpplint] src/elflinker.c#L153
Almost always, snprintf is better than strcpy [runtime/printf] [4]
Raw output
src/elflinker.c:153: Almost always, snprintf is better than strcpy [runtime/printf] [4]
Check warning on line 157 in src/elflinker.c
github-actions / cpplint
[cpplint] src/elflinker.c#L157
Almost always, snprintf is better than strcpy [runtime/printf] [4]
Raw output
src/elflinker.c:157: Almost always, snprintf is better than strcpy [runtime/printf] [4]
Check warning on line 396 in src/elflinker.c
github-actions / cpplint
[cpplint] src/elflinker.c#L396
Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Raw output
src/elflinker.c:396: Redundant blank line at the end of a code block should be deleted. [whitespace/blank_line] [3]
Check warning on line 99 in src/file.c
github-actions / cpplint
[cpplint] src/file.c#L99
Almost always, snprintf is better than strcat [runtime/printf] [4]
Raw output
src/file.c:99: Almost always, snprintf is better than strcat [runtime/printf] [4]
Check warning on line 160 in src/file.c
github-actions / cpplint
[cpplint] src/file.c#L160
Add #include <cstdio> for fclose [build/include_what_you_use] [4]
Raw output
src/file.c:160: Add #include <cstdio> for fclose [build/include_what_you_use] [4]