Add clang-tidy check for overflow in constructing energy quantity from int #73616
Annotations
6 errors and 1 warning
run clang-tidy:
tests/food_fun_for_test.cpp#L430
constructing a energy quantity from 'int' potentially overflows inside 'from_kilojoule' in multiplying with conversion factor [cata-unit-overflow,-warnings-as-errors]
|
run clang-tidy:
tests/food_fun_for_test.cpp#L441
constructing a energy quantity from 'int' potentially overflows inside 'from_kilojoule' in multiplying with conversion factor [cata-unit-overflow,-warnings-as-errors]
|
run clang-tidy:
tests/units_test.cpp#L36
constructing a energy quantity from 'int' potentially overflows inside 'from_joule' in multiplying with conversion factor [cata-unit-overflow,-warnings-as-errors]
|
run clang-tidy:
tests/units_test.cpp#L37
constructing a energy quantity from 'int' potentially overflows inside 'from_kilojoule' in multiplying with conversion factor [cata-unit-overflow,-warnings-as-errors]
|
run clang-tidy:
tools/clang-tidy-plugin/UnitOverflowCheck.cpp#L67
namespace 'clang::tidy::cata' not terminated with a closing comment [llvm-namespace-comment,-warnings-as-errors]
|
run clang-tidy
Process completed with exit code 123.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading