Skip to content

Feat/elflibs

Feat/elflibs #396

GitHub Actions / cpplint completed Jan 5, 2025 in 0s

reviewdog [cpplint] report

reported by reviewdog 🐶

Findings (15)

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|524| 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|155| Almost always, snprintf is better than strcpy [runtime/printf] [4]
src/elflinker.c|159| Almost always, snprintf is better than strcpy [runtime/printf] [4]
src/elflinker.c|359| Almost always, snprintf is better than strcpy [runtime/printf] [4]
src/elflinker.c|374| Missing username in TODO; it should look like "// TODO(my_username): Stuff." [readability/todo] [2]
src/elflinker.c|375| Missing space after ; [whitespace/semicolon] [3]
src/elflinker.c|457| 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 524 in src/cjit.c

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] src/cjit.c#L524

 Missing space after ;  [whitespace/semicolon] [3]
Raw output
src/cjit.c:524:  Missing space after ;  [whitespace/semicolon] [3]

Check warning on line 112 in src/elflinker.c

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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 155 in src/elflinker.c

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] src/elflinker.c#L155

 Almost always, snprintf is better than strcpy  [runtime/printf] [4]
Raw output
src/elflinker.c:155:  Almost always, snprintf is better than strcpy  [runtime/printf] [4]

Check warning on line 159 in src/elflinker.c

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] src/elflinker.c#L159

 Almost always, snprintf is better than strcpy  [runtime/printf] [4]
Raw output
src/elflinker.c:159:  Almost always, snprintf is better than strcpy  [runtime/printf] [4]

Check warning on line 359 in src/elflinker.c

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] src/elflinker.c#L359

 Almost always, snprintf is better than strcpy  [runtime/printf] [4]
Raw output
src/elflinker.c:359:  Almost always, snprintf is better than strcpy  [runtime/printf] [4]

Check warning on line 374 in src/elflinker.c

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] src/elflinker.c#L374

 Missing username in TODO; it should look like "// TODO(my_username): Stuff."  [readability/todo] [2]
Raw output
src/elflinker.c:374:  Missing username in TODO; it should look like "// TODO(my_username): Stuff."  [readability/todo] [2]

Check warning on line 375 in src/elflinker.c

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] src/elflinker.c#L375

 Missing space after ;  [whitespace/semicolon] [3]
Raw output
src/elflinker.c:375:  Missing space after ;  [whitespace/semicolon] [3]

Check warning on line 457 in src/elflinker.c

See this annotation in the file changed.

@github-actions github-actions / cpplint

[cpplint] src/elflinker.c#L457

 Redundant blank line at the end of a code block should be deleted.  [whitespace/blank_line] [3]
Raw output
src/elflinker.c:457:  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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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]