Skip to content

Lab_3

Lab_3 #3607

Triggered via pull request December 30, 2024 15:31
Status Success
Total duration 38s
Artifacts

clangtidy.yml

on: pull_request
cpp-linter
29s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 5 warnings, and 10 notices
Lab3CPP/tempCodeRunnerFile.cpp:1:1 [clang-diagnostic-error]: Lab3CPP/tempCodeRunnerFile.cpp#L1
C++ requires a type specifier for all declarations
LibraryCPP/list.h:12:1 [clang-diagnostic-error]: LibraryCPP/list.h#L12
must use 'struct' tag to refer to type 'List'
LibraryCPP/list.h:15:18 [clang-diagnostic-error]: LibraryCPP/list.h#L15
must use 'struct' tag to refer to type 'List'
LibraryCPP/list.h:18:1 [clang-diagnostic-error]: LibraryCPP/list.h#L18
must use 'struct' tag to refer to type 'ListItem'
LibraryCPP/list.h:18:22 [clang-diagnostic-error]: LibraryCPP/list.h#L18
must use 'struct' tag to refer to type 'List'
LibraryCPP/list.h:21:27 [clang-diagnostic-error]: LibraryCPP/list.h#L21
must use 'struct' tag to refer to type 'ListItem'
Lab3CPP/lab3.cpp:17:22 [bugprone-branch-clone]: Lab3CPP/lab3.cpp#L17
repeated branch in conditional chain
Lab3CPP/lab3.cpp:69:17 [cppcoreguidelines-pro-bounds-array-to-pointer-decay]: Lab3CPP/lab3.cpp#L69
do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead
Lab3CPP/tempCodeRunnerFile.cpp:1:1 [cppcoreguidelines-avoid-non-const-global-variables]: Lab3CPP/tempCodeRunnerFile.cpp#L1
variable 'f' is non-const and globally accessible, consider making it const
LibraryCPP/array.cpp:3:8 [cppcoreguidelines-special-member-functions]: LibraryCPP/array.cpp#L3
class 'Array' defines a non-default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator
LibraryCPP/array.cpp:8:5 [cppcoreguidelines-pro-type-member-init]: LibraryCPP/array.cpp#L8
constructor does not initialize these fields: size
Run clang-format on Lab2CPP/lab2.cpp: Lab2CPP/lab2.cpp#L1
File Lab2CPP/lab2.cpp does not conform to Custom style guidelines. (lines 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61)
Run clang-format on Lab3CPP/lab3.cpp: Lab3CPP/lab3.cpp#L1
File Lab3CPP/lab3.cpp does not conform to Custom style guidelines. (lines 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 60, 61, 62, 63, 64, 65, 66, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87)
Run clang-format on Lab3CPP/tempCodeRunnerFile.cpp: Lab3CPP/tempCodeRunnerFile.cpp#L1
File Lab3CPP/tempCodeRunnerFile.cpp does not conform to Custom style guidelines. (lines 1, 2, 3)
Run clang-format on LibraryC/Tests/array.cpp: LibraryC/Tests/array.cpp#L1
File LibraryC/Tests/array.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30)
Run clang-format on LibraryCPP/array.cpp: LibraryCPP/array.cpp#L1
File LibraryCPP/array.cpp does not conform to Custom style guidelines. (lines 3, 4, 5, 6, 8, 9, 10, 11, 12, 14, 15, 16, 21, 22, 23, 27, 28, 29, 33, 34, 35, 39, 40, 45, 46, 47)
Run clang-format on LibraryCPP/list.cpp: LibraryCPP/list.cpp#L1
File LibraryCPP/list.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 7, 10, 11, 12, 15, 16, 17, 18, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 37, 38, 39, 40, 41, 42, 45, 46, 47, 50, 51, 52, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115)
Run clang-format on LibraryCPP/list.h: LibraryCPP/list.h#L1
File LibraryCPP/list.h does not conform to Custom style guidelines. (lines 28)
Run clang-format on LibraryCPP/queue.cpp: LibraryCPP/queue.cpp#L1
File LibraryCPP/queue.cpp does not conform to Custom style guidelines. (lines 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 20, 21, 22, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 47, 48, 49, 53, 54, 55)
Run clang-format on LibraryCPP/stack.cpp: LibraryCPP/stack.cpp#L1
File LibraryCPP/stack.cpp does not conform to Custom style guidelines. (lines 5, 6, 7, 10, 11, 12, 13, 17, 18, 19, 23, 24, 25, 28, 29, 33, 34, 35, 38, 39, 40, 41, 42, 43)
Run clang-format on LibraryCPP/vector.cpp: LibraryCPP/vector.cpp#L1
File LibraryCPP/vector.cpp does not conform to Custom style guidelines. (lines 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 19, 20, 21, 22, 25, 26, 30, 31, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53)