Skip to content

Ast alloc dealloc (#62) #73

Ast alloc dealloc (#62)

Ast alloc dealloc (#62) #73

Triggered via push June 30, 2024 06:15
Status Success
Total duration 39s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 5 warnings, and 3 notices
src/ast.c:3:10 [clang-diagnostic-error]: src/ast.c#L3
'ast.h' file not found
linter
Process completed with exit code 1.
tests/test_ast.c:13:12 [cppcoreguidelines-init-variables]: tests/test_ast.c#L13
variable 'n_types' is not initialized
tests/test_ast.c:32:12 [cppcoreguidelines-init-variables]: tests/test_ast.c#L32
variable 'n_types' is not initialized
tests/test_ast.c:36:13 [cppcoreguidelines-init-variables]: tests/test_ast.c#L36
variable 'ret' is not initialized
tests/test_ast.c:42:9 [cppcoreguidelines-init-variables]: tests/test_ast.c#L42
variable 'ret' is not initialized
tests/test_ast.c:49:6 [cppcoreguidelines-avoid-non-const-global-variables]: tests/test_ast.c#L49
variable 'tests' is non-const and globally accessible, consider making it const
Run clang-format on include/ast.h: include/ast.h#L1
File include/ast.h does not conform to Custom style guidelines. (lines 2, 8, 9, 10, 11, 12, 13, 15, 28, 29, 30, 31, 33, 34, 35, 36, 38, 39, 40, 41, 42, 43, 45, 46, 48, 53, 59, 70, 78)
Run clang-format on src/ast.c: src/ast.c#L1
File src/ast.c does not conform to Custom style guidelines. (lines 6, 7, 9, 10, 11, 12, 13, 16, 20, 21, 22, 23, 25, 26, 27, 28, 29, 32, 36, 37, 38, 39, 41, 42, 43, 44, 46, 48, 49, 50)
Run clang-format on tests/test_ast.c: tests/test_ast.c#L1
File tests/test_ast.c does not conform to Custom style guidelines. (lines 1, 6, 7, 8, 9, 10, 11, 13, 15, 16, 18, 19, 20, 21, 25, 26, 27, 28, 29, 30, 32, 34, 35, 36, 38, 39, 40, 42, 43, 46, 50, 51, 52, 53, 56, 57, 58, 59, 60, 61, 62, 64, 66, 68, 69)