Lab3 #3491
Annotations
4 errors, 10 warnings, and 10 notices
LibraryC/array.h:4:10 [clang-diagnostic-error]:
LibraryC/array.h#L4
'stddef.h' file not found
|
LibraryC/queue.h:4:10 [clang-diagnostic-error]:
LibraryC/queue.h#L4
'stdbool.h' file not found
|
LibraryC/stack.h:4:10 [clang-diagnostic-error]:
LibraryC/stack.h#L4
'stdbool.h' file not found
|
LibraryC/vector.h:4:10 [clang-diagnostic-error]:
LibraryC/vector.h#L4
'stddef.h' file not found
|
Lab1C/lab1.c:27:24 [bugprone-integer-division]:
Lab1C/lab1.c#L27
result of integer division used in a floating point context; possible loss of precision
|
Lab3CPP/lab3.cpp:8:5 [cppcoreguidelines-avoid-non-const-global-variables]:
Lab3CPP/lab3.cpp#L8
variable 'board' is non-const and globally accessible, consider making it const
|
Lab3CPP/lab3.cpp:9:5 [cppcoreguidelines-avoid-non-const-global-variables]:
Lab3CPP/lab3.cpp#L9
variable 'global_N' is non-const and globally accessible, consider making it const
|
Lab3CPP/lab3.cpp:9:15 [cppcoreguidelines-avoid-non-const-global-variables]:
Lab3CPP/lab3.cpp#L9
variable 'global_M' is non-const and globally accessible, consider making it const
|
LibraryC/vector.c:44:5 [bugprone-branch-clone]:
LibraryC/vector.c#L44
if with identical then and else branches
|
LibraryCPP/queue.cpp:3:8 [cppcoreguidelines-pro-type-member-init]:
LibraryCPP/queue.cpp#L3
constructor does not initialize these fields: vector, front, back
|
LibraryCPP/vector.cpp:5:8 [cppcoreguidelines-pro-type-member-init]:
LibraryCPP/vector.cpp#L5
constructor does not initialize these fields: data, size, capacity
|
out/build/x64-Debug/CMakeFiles/3.28.0-msvc1/CompilerIdC/CMakeCCompilerId.c:448:13 [cppcoreguidelines-avoid-non-const-global-variables]:
out/build/x64-Debug/CMakeFiles/3.28.0-msvc1/CompilerIdC/CMakeCCompilerId.c#L448
variable 'info_compiler' is non-const and globally accessible, consider making it const
|
out/build/x64-Debug/CMakeFiles/3.28.0-msvc1/CompilerIdC/CMakeCCompilerId.c:810:13 [cppcoreguidelines-avoid-non-const-global-variables]:
out/build/x64-Debug/CMakeFiles/3.28.0-msvc1/CompilerIdC/CMakeCCompilerId.c#L810
variable 'info_platform' is non-const and globally accessible, consider making it const
|
out/build/x64-Debug/CMakeFiles/3.28.0-msvc1/CompilerIdC/CMakeCCompilerId.c:811:13 [cppcoreguidelines-avoid-non-const-global-variables]:
out/build/x64-Debug/CMakeFiles/3.28.0-msvc1/CompilerIdC/CMakeCCompilerId.c#L811
variable 'info_arch' is non-const and globally accessible, consider making it const
|
Run clang-format on Lab1C/lab1.c:
Lab1C/lab1.c#L1
File Lab1C/lab1.c does not conform to Custom style guidelines. (lines 1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 17, 18, 19, 21, 22, 23, 24, 25, 27, 29, 30, 31, 32, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 80, 81, 82, 83, 85)
|
Run clang-format on Lab2C/lab2.c:
Lab2C/lab2.c#L1
File Lab2C/lab2.c does not conform to Custom style guidelines. (lines 1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21, 22, 23, 24, 25, 29, 30, 31, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 55, 57, 58, 60, 61, 62, 64, 65, 66, 67, 68, 69, 71, 72)
|
Run clang-format on Lab3CPP/lab3.cpp:
Lab3CPP/lab3.cpp#L1
File Lab3CPP/lab3.cpp does not conform to Custom style guidelines. (lines 1, 11, 15, 16, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 31, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 45, 46, 51, 52, 53, 54, 55, 56, 58, 59, 60, 62, 63, 64, 65, 67, 69, 70, 71, 72, 74)
|
Run clang-format on LibraryC/Tests/vector.cpp:
LibraryC/Tests/vector.cpp#L1
File LibraryC/Tests/vector.cpp does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 70, 71, 72, 73, 75, 76, 77, 78, 79, 80, 82, 83, 84, 86)
|
Run clang-format on LibraryC/array.c:
LibraryC/array.c#L1
File LibraryC/array.c does not conform to Custom style guidelines. (lines 1, 5, 6, 7, 12, 13, 14, 16, 17, 18, 19, 20, 21, 23, 24, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 45, 46, 47, 48, 49, 50, 51, 56, 57, 58, 63, 64, 65, 66)
|
Run clang-format on LibraryC/array.h:
LibraryC/array.h#L1
File LibraryC/array.h does not conform to Custom style guidelines. (lines 11, 20, 23, 26, 29, 32)
|
Run clang-format on LibraryC/list.c:
LibraryC/list.c#L1
File LibraryC/list.c does not conform to Custom style guidelines. (lines 1, 4, 5, 6, 10, 11, 12, 16, 17, 18, 19, 20, 21, 22, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 38, 41, 42, 43, 46, 47, 48, 51, 52, 53, 56, 57, 58, 59, 61, 62, 63, 68, 69, 70, 71, 72, 73, 74, 75, 79, 80, 81, 83, 84, 86, 87, 88, 90, 95, 96, 97, 99, 100, 102, 103, 104, 106)
|
Run clang-format on LibraryC/list.h:
LibraryC/list.h#L1
File LibraryC/list.h does not conform to Custom style guidelines. (lines 6, 8, 34)
|
Run clang-format on LibraryC/queue.c:
LibraryC/queue.c#L1
File LibraryC/queue.c does not conform to Custom style guidelines. (lines 1, 5, 6, 7, 9, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 26, 27, 31, 35, 36, 37, 38, 42, 43, 44, 48, 49)
|
Run clang-format on LibraryC/queue.h:
LibraryC/queue.h#L1
File LibraryC/queue.h does not conform to Custom style guidelines. (lines 8, 10)
|