Skip to content

Use a span of Vertex_handles for read-only #34

Use a span of Vertex_handles for read-only

Use a span of Vertex_handles for read-only #34

Triggered via push September 27, 2023 16:07
Status Success
Total duration 1m 52s
Artifacts

cpp-linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 10 warnings, and 2 notices
/tests/Vertex_test.cpp:12:10 [clang-diagnostic-error]: tests/Vertex_test.cpp#L12
'doctest/doctest.h' file not found
/include/Foliated_triangulation.hpp:63:9 [cppcoreguidelines-avoid-non-const-global-variables]: include/Foliated_triangulation.hpp#L63
variable 'ContainerType' is non-const and globally accessible, consider making it const
/include/Foliated_triangulation.hpp:92:7 [bugprone-easily-swappable-parameters]: include/Foliated_triangulation.hpp#L92
2 adjacent parameters of 'make_causal_vertices' of similar type ('const int &') are easily swapped by mistake
/include/Foliated_triangulation.hpp:144:34 [bugprone-easily-swappable-parameters]: include/Foliated_triangulation.hpp#L144
2 adjacent parameters of 'find_vertex' of similar type ('const int &') are easily swapped by mistake
/include/Foliated_triangulation.hpp:167:32 [bugprone-easily-swappable-parameters]: include/Foliated_triangulation.hpp#L167
2 adjacent parameters of 'find_cell' of similar type ('const int &') are easily swapped by mistake
Run clang-format on include/Foliated_triangulation.hpp: include/Foliated_triangulation.hpp#L1
File include/Foliated_triangulation.hpp does not conform to Custom style guidelines. (lines 884, 1023, 1035, 1036, 1121, 1127, 1133, 1139, 1146, 1152, 1163, 1166, 1198, 1212, 1227, 1228, 1254, 1289, 1303, 1320, 1331, 1350, 1351, 1360, 1361, 1368, 1383, 1422, 1429, 1451, 1457, 1480, 1481, 1494, 1495, 1506, 1526, 1552)
Run clang-format on include/Manifold.hpp: include/Manifold.hpp#L1
File include/Manifold.hpp does not conform to Custom style guidelines. (lines 57, 60, 63, 66, 69, 72, 75, 78, 84, 159, 165, 172, 179, 186, 192, 202, 211, 212, 263, 314, 321, 334, 353, 407, 421, 422)