2024-03-27 10:18 ftp://ftp.de.debian.org/debian/pool/main/h/halide/halide_17.0.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 99853e4 (2024-03-27 05:16:23 +0100) count: 5090 4895 elapsed-time: 427.1 666.4 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 192.304s (avg. 192.304s - 1 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 86.4852s (avg. 43.2426s - 2 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 69.7333s (avg. 34.8666s - 2 result(s)) valueFlowForLoop(tokenlist, symboldatabase, errorLogger, settings): 28.7942s (avg. 14.3971s - 2 result(s)) valueFlowSymbolic(tokenlist, symboldatabase, errorLogger, settings): 6.3651s (avg. 6.3651s - 1 result(s)) Overall time: 192.557s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 416.37s (avg. 416.37s - 1 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 400.208s (avg. 200.104s - 2 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 11.8686s (avg. 5.93431s - 2 result(s)) valueFlowForLoop(tokenlist, symboldatabase, errorLogger, settings): 3.92768s (avg. 1.96384s - 2 result(s)) valueFlowSubFunction(tokenlist, symboldatabase, errorLogger, *settings): 0.225422s (avg. 0.112711s - 2 result(s)) Overall time: 416.646s head results: Halide-17.0.1/apps/HelloAndroidCamera2/jni/YuvBufferT.h:37:5: warning: Member variable 'YuvBufferT::chromaStorage_' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/apps/HelloAndroidCamera2/jni/LockedSurface.h:25:5: warning: Member variable 'LockedSurface::window_' is not initialized in the constructor. [uninitMemberVarPrivate] Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:68:37: style:inconclusive: Function 'Java_com_example_helloandroidcamera2_AndroidBufferUtilities_allocNativeYuvBufferTFromSurfaceHandle' argument 3 names different: declaration 'surfaceWrapperHandle' definition 'lockedSurfaceHandle'. [funcArgNamesDifferent] Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.h:22:37: note: Function 'Java_com_example_helloandroidcamera2_AndroidBufferUtilities_allocNativeYuvBufferTFromSurfaceHandle' argument 3 names different: declaration 'surfaceWrapperHandle' definition 'lockedSurfaceHandle'. Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:68:37: note: Function 'Java_com_example_helloandroidcamera2_AndroidBufferUtilities_allocNativeYuvBufferTFromSurfaceHandle' argument 3 names different: declaration 'surfaceWrapperHandle' definition 'lockedSurfaceHandle'. Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:82:37: style:inconclusive: Function 'Java_com_example_helloandroidcamera2_AndroidBufferUtilities_unlockSurface' argument 3 names different: declaration 'surfaceWrapperHandle' definition 'lockedSurfaceHandle'. [funcArgNamesDifferent] Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.h:25:37: note: Function 'Java_com_example_helloandroidcamera2_AndroidBufferUtilities_unlockSurface' argument 3 names different: declaration 'surfaceWrapperHandle' definition 'lockedSurfaceHandle'. Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:82:37: note: Function 'Java_com_example_helloandroidcamera2_AndroidBufferUtilities_unlockSurface' argument 3 names different: declaration 'surfaceWrapperHandle' definition 'lockedSurfaceHandle'. Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:42:13: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:68:13: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:72:20: style: Variable 'ls' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:82:13: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/HelloAndroidCamera2/jni/LockedSurface.cpp:14:17: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/HelloPyTorch/src/add_generator.cpp:121:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/HelloAndroid/jni/hello_wrapper.cpp:35:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/HelloAndroid/jni/hello_wrapper.cpp:67:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/HelloAndroid/jni/hello_wrapper.cpp:81:23: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/HelloAndroid/jni/hello_wrapper.cpp:132:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/HelloAndroid/jni/hello_wrapper.cpp:47:21: style: The scope of the variable 'counter' can be reduced. [variableScope] Halide-17.0.1/apps/HelloWasm/reaction_diffusion_generator.cpp:190:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/HelloiOS/HelloiOS/reaction_diffusion_2_generator.cpp:230:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/HelloWasm/core.cpp:104:18: style: Variable 'ctx.renderer' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/HelloWasm/core.cpp:105:14: style: Variable 'ctx.buf1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/HelloWasm/core.cpp:106:14: style: Variable 'ctx.buf2' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/HelloWasm/core.cpp:107:19: style: Variable 'ctx.pixel_buf' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/HelloWasm/core.cpp:109:13: style: Variable 'ctx.tex' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/auto_viz/auto_viz_demo.cpp:81:15: error: Using reference to dangling temporary. [danglingTempReference] Halide-17.0.1/apps/auto_viz/auto_viz_demo.cpp:57:54: note: Assigned to reference. Halide-17.0.1/apps/auto_viz/auto_viz_demo.cpp:81:15: note: Using reference to dangling temporary. Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:87:17: style: Local variable 'xi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:56:14: note: Shadowed declaration Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:87:17: note: Shadow variable Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:87:27: style: Local variable 'yi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:57:14: note: Shadowed declaration Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:87:27: note: Shadow variable Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:87:37: style: Local variable 'zi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:25:14: note: Shadowed declaration Halide-17.0.1/apps/bilateral_grid/bilateral_grid_generator.cpp:87:37: note: Shadow variable Halide-17.0.1/apps/HelloAndroidCamera2/jni/HalideFilters.cpp:78:9: style: The scope of the variable 'halideErrorCode' can be reduced. [variableScope] Halide-17.0.1/apps/HelloAndroidCamera2/jni/HalideFilters.cpp:37:36: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/HelloAndroidCamera2/jni/HalideFilters.cpp:37:53: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/HelloAndroidCamera2/jni/HalideFilters.cpp:112:12: warning: Uninitialized variable: succeeded [uninitvar] Halide-17.0.1/apps/HelloAndroidCamera2/jni/HalideFilters.cpp:83:77: note: Assuming condition is false Halide-17.0.1/apps/HelloAndroidCamera2/jni/HalideFilters.cpp:112:12: note: Uninitialized variable: succeeded Halide-17.0.1/apps/blur/test.cpp:120:25: style: Variable 'tmp' can be declared as const array [constVariable] Halide-17.0.1/apps/c_backend/run.cpp:25:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/c_backend/run.cpp:33:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/bgu/bgu_generator.cpp:42:10: style:inconclusive: Technically the member function 'Matrix < 4 , 3 >::dump' can be const. [functionConst] Halide-17.0.1/apps/bgu/bgu_generator.cpp:42:10: style:inconclusive: Technically the member function 'Matrix < 3 , 4 >::dump' can be const. [functionConst] Halide-17.0.1/apps/compositing/compositing_generator.cpp:27:25: style: Local variable 'scale' shadows outer function [shadowFunction] Halide-17.0.1/apps/compositing/compositing_generator.cpp:58:10: note: Shadowed declaration Halide-17.0.1/apps/compositing/compositing_generator.cpp:27:25: note: Shadow variable Halide-17.0.1/apps/compositing/compositing_generator.cpp:45:22: style: Local variable 'scale' shadows outer function [shadowFunction] Halide-17.0.1/apps/compositing/compositing_generator.cpp:58:10: note: Shadowed declaration Halide-17.0.1/apps/compositing/compositing_generator.cpp:45:22: note: Shadow variable Halide-17.0.1/apps/compositing/compositing_generator.cpp:63:18: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/apps/compositing/compositing_generator.cpp:10:25: note: Shadowed declaration Halide-17.0.1/apps/compositing/compositing_generator.cpp:63:18: note: Shadow variable Halide-17.0.1/apps/compositing/compositing_generator.cpp:81:27: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/apps/compositing/compositing_generator.cpp:10:25: note: Shadowed declaration Halide-17.0.1/apps/compositing/compositing_generator.cpp:81:27: note: Shadow variable Halide-17.0.1/apps/compositing/compositing_generator.cpp:90:27: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/apps/compositing/compositing_generator.cpp:10:25: note: Shadowed declaration Halide-17.0.1/apps/compositing/compositing_generator.cpp:90:27: note: Shadow variable Halide-17.0.1/apps/compositing/compositing_generator.cpp:99:27: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/apps/compositing/compositing_generator.cpp:10:25: note: Shadowed declaration Halide-17.0.1/apps/compositing/compositing_generator.cpp:99:27: note: Shadow variable Halide-17.0.1/apps/compositing/compositing_generator.cpp:108:27: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/apps/compositing/compositing_generator.cpp:10:25: note: Shadowed declaration Halide-17.0.1/apps/compositing/compositing_generator.cpp:108:27: note: Shadow variable Halide-17.0.1/apps/compositing/compositing_generator.cpp:117:27: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/apps/compositing/compositing_generator.cpp:10:25: note: Shadowed declaration Halide-17.0.1/apps/compositing/compositing_generator.cpp:117:27: note: Shadow variable Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:160:17: style: Local variable 'xi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:13:27: note: Shadowed declaration Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:160:17: note: Shadow variable Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:160:21: style: Local variable 'yi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:13:14: note: Shadowed declaration Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:160:21: note: Shadow variable Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:338:17: style: Local variable 'xi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:13:27: note: Shadowed declaration Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:338:17: note: Shadow variable Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:457:13: style: Local variable 'xi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:13:27: note: Shadowed declaration Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:457:13: note: Shadow variable Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:457:17: style: Local variable 'yi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:13:14: note: Shadowed declaration Halide-17.0.1/apps/camera_pipe/camera_pipe_generator.cpp:457:17: note: Shadow variable Halide-17.0.1/apps/cuda_mat_mul/runner.cpp:72:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/cuda_mat_mul/runner.cpp:73:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/cuda_mat_mul/runner.cpp:74:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/fft/complex.h:146:30: error: syntax error [syntaxError] Halide-17.0.1/apps/hannk/util/error_util.h:40:5: style: Struct 'Logger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/hannk/util/error_util.h:63:5: style: Struct 'Checker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/hannk/compare_vs_tflite.cpp:24:15: performance: Range variable 'f' should be declared as const reference. [iterateByValue] Halide-17.0.1/apps/hannk/util/file_util.h:19:12: style: Local variable 'size' shadows outer function [shadowFunction] Halide-17.0.1/apps/hannk/util/error_util.h:15:18: note: Shadowed declaration Halide-17.0.1/apps/hannk/util/file_util.h:19:12: note: Shadow variable Halide-17.0.1/apps/fft/fft_aot_test.cpp:33:29: style: Parameter 'b' can be declared as reference to const [constParameterReference] Halide-17.0.1/apps/fft/fft_aot_test.cpp:37:29: style: Parameter 'b' can be declared as reference to const [constParameterReference] Halide-17.0.1/apps/hannk/halide/common_halide.cpp:222:22: error: Invalid select() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/apps/hannk/halide/conv_generator.cpp:368:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/hannk/halide/depthwise_conv_generator.cpp:274:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/hannk/halide/elementwise_generator.cpp:233:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/hannk/halide/normalizations_generator.cpp:147:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/hannk/halide/pool_generator.cpp:159:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:79:10: style:inconclusive: Technically the member function 'hannk::::TfLiteIntArrayDeleter::operator()' can be const. [functionConst] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:69:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:210:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:228:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:257:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:271:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:301:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:313:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:356:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:417:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:506:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:511:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:521:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:530:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:535:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:608:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:636:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:655:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:675:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:696:53: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:714:45: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:736:50: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:755:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:802:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:814:51: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:856:51: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1199:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1213:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1227:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1363:45: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1389:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1403:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1421:53: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1435:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1609:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1678:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1748:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:554:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/interval.cpp:62:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:520:41: style: Parameter 'context' can be declared as pointer to const. However it seems that 'FreeImpl' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:494:18: note: You might need to cast the function pointer here Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:520:41: note: Parameter 'context' can be declared as pointer to const Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:571:59: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:710:59: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:746:58: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:760:68: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:767:58: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:797:57: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:853:65: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:860:57: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:877:62: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1089:24: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1088:27: note: Assuming that condition 'i<32' is not redundant Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1089:24: note: Shift Halide-17.0.1/apps/hannk/interpreter/model.cpp:57:16: style: Variable 'i' can be declared as reference to const [constVariableReference] Halide-17.0.1/apps/hannk/interpreter/model.cpp:66:16: style: Variable 'o' can be declared as reference to const [constVariableReference] Halide-17.0.1/apps/hannk/interpreter/model.cpp:57:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/interpreter/model.cpp:66:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/interpreter/stubs.cpp:7:25: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/interpreter/stubs.cpp:15:35: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:814:5: debug: Failed to parse 'using Conv2DFn = decltype ( & :: hannk :: conv_u8_u8_u8 ) ;'. The checking continues anyway. [simplifyUsing] Halide-17.0.1/apps/hannk/interpreter/tensor.cpp:104:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/tensor.cpp:341:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/tensor.cpp:376:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/tensor.cpp:393:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/tensor.cpp:202:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:257:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:13: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:257:18: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:259:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:259:22: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:211:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:13: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:211:18: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:213:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:213:22: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:169:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:13: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:169:18: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:171:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:171:22: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:128:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:13: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:128:18: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:130:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:130:22: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:82:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:13: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:82:18: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:84:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:84:22: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:39:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:6:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:39:18: note: Shadow variable Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:243:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:197:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:155:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:114:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:68:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/halide/common_halide_test.cpp:26:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/interpreter/transforms.cpp:190:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/tflite/tflite_parser.cpp:246:11: style:inconclusive: Technically the member function 'hannk::::Parser::parse_fully_connected' can be const. [functionConst] Halide-17.0.1/apps/hannk/tflite/tflite_parser.cpp:393:11: style:inconclusive: Technically the member function 'hannk::::Parser::parse_lstm' can be const. [functionConst] Halide-17.0.1/apps/hannk/tflite/tflite_parser.cpp:517:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/tflite/tflite_parser.cpp:522:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/tflite/tflite_parser.cpp:527:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/tflite/tflite_parser.cpp:531:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/tflite/tflite_parser.cpp:541:24: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/hannk/util/model_runner.cpp:196:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] Halide-17.0.1/apps/hexagon_benchmarks/process.h:377:14: performance:inconclusive: Technically the member function 'SobelDescriptor::sobel3' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/hexagon_benchmarks/process.h:59:10: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:40:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:59:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:88:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:41:25: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:88:17: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:92:10: style: The function 'defined' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:44:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:92:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:100:10: style: The function 'verify' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:43:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:100:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:120:9: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:42:17: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:120:9: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:126:10: style: The function 'finalize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:45:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:126:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:147:10: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:40:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:147:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:162:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:41:25: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:162:17: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:166:10: style: The function 'defined' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:44:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:166:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:174:10: style: The function 'verify' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:43:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:174:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:197:9: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:42:17: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:197:9: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:203:10: style: The function 'finalize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:45:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:203:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:218:10: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:40:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:218:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:233:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:41:25: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:233:17: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:237:10: style: The function 'defined' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:44:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:237:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:245:10: style: The function 'verify' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:43:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:245:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:266:9: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:42:17: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:266:9: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:272:10: style: The function 'finalize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:45:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:272:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:287:10: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:40:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:287:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:302:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:41:25: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:302:17: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:306:10: style: The function 'defined' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:44:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:306:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:314:10: style: The function 'verify' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:43:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:314:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:337:9: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:42:17: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:337:9: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:343:10: style: The function 'finalize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:45:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:343:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:358:10: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:40:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:358:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:373:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:41:25: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:373:17: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:381:10: style: The function 'defined' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:44:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:381:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:389:10: style: The function 'verify' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:43:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:389:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:413:9: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:42:17: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:413:9: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:419:10: style: The function 'finalize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:45:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:419:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:436:10: style: The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:40:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:436:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:465:17: style: The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:41:25: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:465:17: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:469:10: style: The function 'defined' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:44:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:469:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:477:10: style: The function 'verify' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:43:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:477:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:497:9: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:42:17: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:497:9: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.h:503:10: style: The function 'finalize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] Halide-17.0.1/apps/hexagon_benchmarks/process.h:45:18: note: Virtual function in base class Halide-17.0.1/apps/hexagon_benchmarks/process.h:503:10: note: Function in derived class Halide-17.0.1/apps/hexagon_benchmarks/process.cpp:9:18: style: Parameter 'prg_name' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:1046:22: performance:inconclusive: Technically the member function 'TypeArray < 5 , uint8_t >::size' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:1046:22: performance:inconclusive: Technically the member function 'TypeArray < 1 , uint8_t >::size' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:1046:22: performance:inconclusive: Technically the member function 'TypeArray < 5 , int16_t >::size' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:1036:22: performance:inconclusive: Technically the member function 'TypeList < uint8_t , int16_t >::size' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:1039:19: style:inconclusive: Technically the member function 'TypeList < uint8_t , int16_t >::operator[]' can be const. [functionConst] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:345:5: style: Class 'IntFloat < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:345:5: style: Class 'IntFloat < int16_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/hexagon_dma/process_raw_linear_interleaved_basic.cpp:88:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/process_raw_linear_interleaved_basic.cpp:89:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:230:13: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:294:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:576:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:220:19: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:257:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/interpreter/ops.cpp:220:19: note: Shadow variable Halide-17.0.1/apps/hannk/interpreter/ops.cpp:235:19: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:257:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/interpreter/ops.cpp:235:19: note: Shadow variable Halide-17.0.1/apps/hannk/interpreter/ops.cpp:315:13: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:257:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/interpreter/ops.cpp:315:13: note: Shadow variable Halide-17.0.1/apps/hannk/interpreter/ops.cpp:385:9: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:257:5: note: Shadowed declaration Halide-17.0.1/apps/hannk/interpreter/ops.cpp:385:9: note: Shadow variable Halide-17.0.1/apps/hannk/interpreter/ops.cpp:346:13: style: Local variable 'exponent' shadows outer function [shadowFunction] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:372:7: note: Shadowed declaration Halide-17.0.1/apps/hannk/interpreter/ops.cpp:346:13: note: Shadow variable Halide-17.0.1/apps/hannk/interpreter/ops.cpp:702:27: style: Variable 'out_buf()' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:705:27: style: Variable 'out_buf()' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:708:27: style: Variable 'out_buf()' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/hannk/interpreter/ops.cpp:711:27: style: Variable 'out_buf()' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:104:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:111:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:154:13: portability: %d in format string (no. 2) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:154:13: warning: %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:154:13: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:154:13: warning: %u in format string (no. 7) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:154:13: warning: %u in format string (no. 8) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:154:13: warning: %u in format string (no. 13) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:176:21: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:176:21: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:176:21: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:176:21: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:176:21: warning: %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:116:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:122:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:132:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:190:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:198:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:229:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:231:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:121:56: style:inconclusive: Function 'nDmaWrapper_FreeDma' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:190:63: note: Function 'nDmaWrapper_FreeDma' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:121:56: note: Function 'nDmaWrapper_FreeDma' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:129:53: style:inconclusive: Function 'nDmaWrapper_Move' argument 1 names different: declaration 'hDmaHandle' definition 'handle'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:204:60: note: Function 'nDmaWrapper_Move' argument 1 names different: declaration 'hDmaHandle' definition 'handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:129:53: note: Function 'nDmaWrapper_Move' argument 1 names different: declaration 'hDmaHandle' definition 'handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:189:53: style:inconclusive: Function 'nDmaWrapper_Wait' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:218:60: note: Function 'nDmaWrapper_Wait' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:189:53: note: Function 'nDmaWrapper_Wait' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:197:60: style:inconclusive: Function 'nDmaWrapper_FinishFrame' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:230:67: note: Function 'nDmaWrapper_FinishFrame' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:197:60: note: Function 'nDmaWrapper_FinishFrame' argument 1 names different: declaration 'hDmaHandle' definition 'dma_handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:205:52: style:inconclusive: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 1 names different: declaration 'eFmtId' definition 'fmt'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:249:59: note: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 1 names different: declaration 'eFmtId' definition 'fmt'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:205:52: note: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 1 names different: declaration 'eFmtId' definition 'fmt'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:205:62: style:inconclusive: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 2 names different: declaration 'bIsUbwc' definition 'is_ubwc'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:249:72: note: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 2 names different: declaration 'bIsUbwc' definition 'is_ubwc'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:205:62: note: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 2 names different: declaration 'bIsUbwc' definition 'is_ubwc'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:206:71: style:inconclusive: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 3 names different: declaration 'pStWalkSize' definition 'walk_size'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:250:78: note: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 3 names different: declaration 'pStWalkSize' definition 'walk_size'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:206:71: note: Function 'nDmaWrapper_GetRecommendedWalkSize' argument 3 names different: declaration 'pStWalkSize' definition 'walk_size'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:212:59: style:inconclusive: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 1 names different: declaration 'eFmtId' definition 'fmt'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:280:66: note: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 1 names different: declaration 'eFmtId' definition 'fmt'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:212:59: note: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 1 names different: declaration 'eFmtId' definition 'fmt'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:213:78: style:inconclusive: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 2 names different: declaration 'pStRoiSize' definition 'roi_size'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:281:85: note: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 2 names different: declaration 'pStRoiSize' definition 'roi_size'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:213:78: note: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 2 names different: declaration 'pStRoiSize' definition 'roi_size'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:214:54: style:inconclusive: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 3 names different: declaration 'bIsUbwc' definition 'is_ubwc'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:282:61: note: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 3 names different: declaration 'bIsUbwc' definition 'is_ubwc'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:214:54: note: Function 'nDmaWrapper_GetRecommendedIntermBufStride' argument 3 names different: declaration 'bIsUbwc' definition 'is_ubwc'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:220:65: style:inconclusive: Function 'nDmaWrapper_DmaTransferSetup' argument 1 names different: declaration 'hDmaHandle' definition 'handle'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:326:72: note: Function 'nDmaWrapper_DmaTransferSetup' argument 1 names different: declaration 'hDmaHandle' definition 'handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:220:65: note: Function 'nDmaWrapper_DmaTransferSetup' argument 1 names different: declaration 'hDmaHandle' definition 'handle'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:220:106: style:inconclusive: Function 'nDmaWrapper_DmaTransferSetup' argument 2 names different: declaration 'stpDmaTransferParm' definition 'dma_transfer_parm'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:326:117: note: Function 'nDmaWrapper_DmaTransferSetup' argument 2 names different: declaration 'stpDmaTransferParm' definition 'dma_transfer_parm'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:220:106: note: Function 'nDmaWrapper_DmaTransferSetup' argument 2 names different: declaration 'stpDmaTransferParm' definition 'dma_transfer_parm'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:293:46: style:inconclusive: Function 'nDmaWrapper_GetDescbuffsize' argument 1 names different: declaration 'aeFmtId' definition 'fmt'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/mini_hexagon_dma.h:263:53: note: Function 'nDmaWrapper_GetDescbuffsize' argument 1 names different: declaration 'aeFmtId' definition 'fmt'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:293:46: note: Function 'nDmaWrapper_GetDescbuffsize' argument 1 names different: declaration 'aeFmtId' definition 'fmt'. Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:136:28: style: Variable 'src_addr' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:213:78: style: Parameter 'roi_size' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:293:46: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:307:76: style: Parameter 'pStRoiSize' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:21:16: style: struct member 'Anonymous3::dst_pix_fmt' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:23:16: style: struct member 'Anonymous3::src_pix_fmt' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:24:16: style: struct member 'Anonymous3::src_is_ubwc' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:26:16: style: struct member 'Anonymous3::_unused0' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:27:16: style: struct member 'Anonymous3::src_is_tcm' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:28:16: style: struct member 'Anonymous3::_unused1' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:29:16: style: struct member 'Anonymous3::dst_pix_padding' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:30:16: style: struct member 'Anonymous3::_unused2' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:31:16: style: struct member 'Anonymous3::src_pix_padding' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:32:16: style: struct member 'Anonymous3::_unused3' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:45:16: style: struct member 'Anonymous4::src_roi_start_addr' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:46:16: style: struct member 'Anonymous4::dst_roi_start_addr' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:47:16: style: struct member 'Anonymous4::ubwc_stat_pointer' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:51:16: style: struct member 'Anonymous5::_unused0' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:52:16: style: struct member 'Anonymous5::_unused1' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:53:16: style: struct member 'Anonymous5::_unused2' is never used. [unusedStructMember] Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:104:19: style: Variable 'vaddr_ptr' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/hexagon_dma/process_yuv_linear_basic.cpp:111:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/hexagon_dma/process_yuv_linear_basic.cpp:112:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:148:21: style: Local variable 'xo' shadows outer variable [shadowVariable] Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:79:25: note: Shadowed declaration Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:148:21: note: Shadow variable Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:148:25: style: Local variable 'xi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:79:29: note: Shadowed declaration Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:148:25: note: Shadow variable Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:148:29: style: Local variable 'yo' shadows outer variable [shadowVariable] Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:79:17: note: Shadowed declaration Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:148:29: note: Shadow variable Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:148:33: style: Local variable 'yi' shadows outer variable [shadowVariable] Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:79:21: note: Shadowed declaration Halide-17.0.1/apps/interpolate/interpolate_generator.cpp:148:33: note: Shadow variable Halide-17.0.1/apps/linear_algebra/src/blas_l1_generators.cpp:181:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/linear_algebra/src/blas_l2_generators.cpp:247:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/linear_algebra/src/blas_l3_generators.cpp:177:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/apps/linear_algebra/benchmarks/eigen_benchmarks.cpp:54:12: performance:inconclusive: Technically the member function 'Benchmarks::random_scalar' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/linear_algebra/benchmarks/eigen_benchmarks.cpp:60:12: performance:inconclusive: Technically the member function 'Benchmarks::random_vector' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/linear_algebra/benchmarks/eigen_benchmarks.cpp:66:12: performance:inconclusive: Technically the member function 'Benchmarks::random_matrix' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/linear_algebra/benchmarks/eigen_benchmarks.cpp:72:5: style: Struct 'Benchmarks' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/linear_algebra/benchmarks/eigen_benchmarks.cpp:72:28: performance: Function parameter 'n' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/linear_algebra/benchmarks/eigen_benchmarks.cpp:76:26: performance: Function parameter 'benchmark' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/linear_algebra/benchmarks/eigen_benchmarks.cpp:125:26: style: Parameter 'argv' can be declared as const array [constParameter] Halide-17.0.1/apps/linear_algebra/benchmarks/cblas_benchmarks.cpp:104:5: style: Struct 'BenchmarksFloat' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/linear_algebra/benchmarks/cblas_benchmarks.cpp:132:5: style: Struct 'BenchmarksDouble' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/linear_algebra/benchmarks/cblas_benchmarks.cpp:104:33: performance: Function parameter 'n' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/linear_algebra/benchmarks/cblas_benchmarks.cpp:132:34: performance: Function parameter 'n' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/linear_algebra/benchmarks/cblas_benchmarks.cpp:57:32: performance: Function parameter 'n' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/linear_algebra/benchmarks/cblas_benchmarks.cpp:61:26: performance: Function parameter 'benchmark' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/linear_algebra/benchmarks/cblas_benchmarks.cpp:159:26: style: Parameter 'argv' can be declared as const array [constParameter] Halide-17.0.1/apps/linear_algebra/benchmarks/halide_benchmarks.cpp:103:5: style: Struct 'BenchmarksFloat' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/linear_algebra/benchmarks/halide_benchmarks.cpp:132:5: style: Struct 'BenchmarksDouble' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/linear_algebra/benchmarks/halide_benchmarks.cpp:40:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/linear_algebra/benchmarks/halide_benchmarks.cpp:49:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/linear_algebra/benchmarks/halide_benchmarks.cpp:56:32: performance: Function parameter 'n' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/linear_algebra/benchmarks/halide_benchmarks.cpp:60:26: performance: Function parameter 'benchmark' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/linear_algebra/benchmarks/halide_benchmarks.cpp:160:26: style: Parameter 'argv' can be declared as const array [constParameter] Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:44:44: style:inconclusive: Function 'hblas_scopy' argument 2 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:164:44: note: Function 'hblas_scopy' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:44:44: note: Function 'hblas_scopy' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:44:57: style:inconclusive: Function 'hblas_scopy' argument 3 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:164:57: note: Function 'hblas_scopy' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:44:57: note: Function 'hblas_scopy' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:45:25: style:inconclusive: Function 'hblas_scopy' argument 4 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:165:25: note: Function 'hblas_scopy' argument 4 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:45:25: note: Function 'hblas_scopy' argument 4 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:45:38: style:inconclusive: Function 'hblas_scopy' argument 5 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:165:38: note: Function 'hblas_scopy' argument 5 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:45:38: note: Function 'hblas_scopy' argument 5 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:51:45: style:inconclusive: Function 'hblas_dcopy' argument 2 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:171:45: note: Function 'hblas_dcopy' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:51:45: note: Function 'hblas_dcopy' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:51:58: style:inconclusive: Function 'hblas_dcopy' argument 3 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:171:58: note: Function 'hblas_dcopy' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:51:58: note: Function 'hblas_dcopy' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:52:26: style:inconclusive: Function 'hblas_dcopy' argument 4 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:172:26: note: Function 'hblas_dcopy' argument 4 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:52:26: note: Function 'hblas_dcopy' argument 4 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:52:39: style:inconclusive: Function 'hblas_dcopy' argument 5 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:172:39: note: Function 'hblas_dcopy' argument 5 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:52:39: note: Function 'hblas_dcopy' argument 5 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:62:43: style:inconclusive: Function 'hblas_sscal' argument 2 names different: declaration 'alpha' definition 'a'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:196:43: note: Function 'hblas_sscal' argument 2 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:62:43: note: Function 'hblas_sscal' argument 2 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:62:53: style:inconclusive: Function 'hblas_sscal' argument 3 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:196:57: note: Function 'hblas_sscal' argument 3 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:62:53: note: Function 'hblas_sscal' argument 3 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:62:66: style:inconclusive: Function 'hblas_sscal' argument 4 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:196:70: note: Function 'hblas_sscal' argument 4 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:62:66: note: Function 'hblas_sscal' argument 4 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:67:44: style:inconclusive: Function 'hblas_dscal' argument 2 names different: declaration 'alpha' definition 'a'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:197:44: note: Function 'hblas_dscal' argument 2 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:67:44: note: Function 'hblas_dscal' argument 2 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:67:55: style:inconclusive: Function 'hblas_dscal' argument 3 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:197:59: note: Function 'hblas_dscal' argument 3 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:67:55: note: Function 'hblas_dscal' argument 3 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:67:68: style:inconclusive: Function 'hblas_dscal' argument 4 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:197:72: note: Function 'hblas_dscal' argument 4 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:67:68: note: Function 'hblas_dscal' argument 4 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:76:43: style:inconclusive: Function 'hblas_saxpy' argument 2 names different: declaration 'alpha' definition 'a'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:166:43: note: Function 'hblas_saxpy' argument 2 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:76:43: note: Function 'hblas_saxpy' argument 2 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:76:59: style:inconclusive: Function 'hblas_saxpy' argument 3 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:166:63: note: Function 'hblas_saxpy' argument 3 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:76:59: note: Function 'hblas_saxpy' argument 3 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:76:72: style:inconclusive: Function 'hblas_saxpy' argument 4 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:167:28: note: Function 'hblas_saxpy' argument 4 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:76:72: note: Function 'hblas_saxpy' argument 4 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:77:25: style:inconclusive: Function 'hblas_saxpy' argument 5 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:167:41: note: Function 'hblas_saxpy' argument 5 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:77:25: note: Function 'hblas_saxpy' argument 5 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:77:38: style:inconclusive: Function 'hblas_saxpy' argument 6 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:167:54: note: Function 'hblas_saxpy' argument 6 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:77:38: note: Function 'hblas_saxpy' argument 6 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:83:44: style:inconclusive: Function 'hblas_daxpy' argument 2 names different: declaration 'alpha' definition 'a'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:173:44: note: Function 'hblas_daxpy' argument 2 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:83:44: note: Function 'hblas_daxpy' argument 2 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:83:61: style:inconclusive: Function 'hblas_daxpy' argument 3 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:173:65: note: Function 'hblas_daxpy' argument 3 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:83:61: note: Function 'hblas_daxpy' argument 3 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:83:74: style:inconclusive: Function 'hblas_daxpy' argument 4 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:174:28: note: Function 'hblas_daxpy' argument 4 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:83:74: note: Function 'hblas_daxpy' argument 4 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:84:26: style:inconclusive: Function 'hblas_daxpy' argument 5 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:174:42: note: Function 'hblas_daxpy' argument 5 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:84:26: note: Function 'hblas_daxpy' argument 5 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:84:39: style:inconclusive: Function 'hblas_daxpy' argument 6 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:174:55: note: Function 'hblas_daxpy' argument 6 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:84:39: note: Function 'hblas_daxpy' argument 6 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:94:44: style:inconclusive: Function 'hblas_sdot' argument 2 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:131:44: note: Function 'hblas_sdot' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:94:44: note: Function 'hblas_sdot' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:94:57: style:inconclusive: Function 'hblas_sdot' argument 3 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:131:57: note: Function 'hblas_sdot' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:94:57: note: Function 'hblas_sdot' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:95:31: style:inconclusive: Function 'hblas_sdot' argument 4 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:132:31: note: Function 'hblas_sdot' argument 4 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:95:31: note: Function 'hblas_sdot' argument 4 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:95:44: style:inconclusive: Function 'hblas_sdot' argument 5 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:132:44: note: Function 'hblas_sdot' argument 5 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:95:44: note: Function 'hblas_sdot' argument 5 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:104:46: style:inconclusive: Function 'hblas_ddot' argument 2 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:133:46: note: Function 'hblas_ddot' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:104:46: note: Function 'hblas_ddot' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:104:59: style:inconclusive: Function 'hblas_ddot' argument 3 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:133:59: note: Function 'hblas_ddot' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:104:59: note: Function 'hblas_ddot' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:105:33: style:inconclusive: Function 'hblas_ddot' argument 4 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:134:33: note: Function 'hblas_ddot' argument 4 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:105:33: note: Function 'hblas_ddot' argument 4 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:105:46: style:inconclusive: Function 'hblas_ddot' argument 5 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:134:46: note: Function 'hblas_ddot' argument 5 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:105:46: note: Function 'hblas_ddot' argument 5 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:118:45: style:inconclusive: Function 'hblas_snrm2' argument 2 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:139:45: note: Function 'hblas_snrm2' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:118:45: note: Function 'hblas_snrm2' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:118:58: style:inconclusive: Function 'hblas_snrm2' argument 3 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:139:58: note: Function 'hblas_snrm2' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:118:58: note: Function 'hblas_snrm2' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:126:47: style:inconclusive: Function 'hblas_dnrm2' argument 2 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:142:47: note: Function 'hblas_dnrm2' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:126:47: note: Function 'hblas_dnrm2' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:126:60: style:inconclusive: Function 'hblas_dnrm2' argument 3 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:142:60: note: Function 'hblas_dnrm2' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:126:60: note: Function 'hblas_dnrm2' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:138:45: style:inconclusive: Function 'hblas_sasum' argument 2 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:140:45: note: Function 'hblas_sasum' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:138:45: note: Function 'hblas_sasum' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:138:58: style:inconclusive: Function 'hblas_sasum' argument 3 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:140:58: note: Function 'hblas_sasum' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:138:58: note: Function 'hblas_sasum' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:146:47: style:inconclusive: Function 'hblas_dasum' argument 2 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:143:47: note: Function 'hblas_dasum' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:146:47: note: Function 'hblas_dasum' argument 2 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:146:60: style:inconclusive: Function 'hblas_dasum' argument 3 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:143:60: note: Function 'hblas_dasum' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:146:60: note: Function 'hblas_dasum' argument 3 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:158:41: style:inconclusive: Function 'hblas_sgemv' argument 1 names different: declaration 'order' definition 'Order'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:208:41: note: Function 'hblas_sgemv' argument 1 names different: declaration 'order' definition 'Order'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:158:41: note: Function 'hblas_sgemv' argument 1 names different: declaration 'order' definition 'Order'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:158:75: style:inconclusive: Function 'hblas_sgemv' argument 2 names different: declaration 'TransA' definition 'trans'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:209:45: note: Function 'hblas_sgemv' argument 2 names different: declaration 'TransA' definition 'trans'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:158:75: note: Function 'hblas_sgemv' argument 2 names different: declaration 'TransA' definition 'trans'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:159:56: style:inconclusive: Function 'hblas_sgemv' argument 5 names different: declaration 'alpha' definition 'a'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:210:30: note: Function 'hblas_sgemv' argument 5 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:159:56: note: Function 'hblas_sgemv' argument 5 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:31: style:inconclusive: Function 'hblas_sgemv' argument 8 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:211:31: note: Function 'hblas_sgemv' argument 8 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:31: note: Function 'hblas_sgemv' argument 8 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:44: style:inconclusive: Function 'hblas_sgemv' argument 9 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:211:44: note: Function 'hblas_sgemv' argument 9 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:44: note: Function 'hblas_sgemv' argument 9 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:62: style:inconclusive: Function 'hblas_sgemv' argument 10 names different: declaration 'beta' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:211:62: note: Function 'hblas_sgemv' argument 10 names different: declaration 'beta' definition 'b'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:62: note: Function 'hblas_sgemv' argument 10 names different: declaration 'beta' definition 'b'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:72: style:inconclusive: Function 'hblas_sgemv' argument 11 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:212:25: note: Function 'hblas_sgemv' argument 11 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:72: note: Function 'hblas_sgemv' argument 11 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:85: style:inconclusive: Function 'hblas_sgemv' argument 12 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:212:38: note: Function 'hblas_sgemv' argument 12 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:160:85: note: Function 'hblas_sgemv' argument 12 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:179:41: style:inconclusive: Function 'hblas_dgemv' argument 1 names different: declaration 'order' definition 'Order'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:214:41: note: Function 'hblas_dgemv' argument 1 names different: declaration 'order' definition 'Order'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:179:41: note: Function 'hblas_dgemv' argument 1 names different: declaration 'order' definition 'Order'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:179:75: style:inconclusive: Function 'hblas_dgemv' argument 2 names different: declaration 'TransA' definition 'trans'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:215:45: note: Function 'hblas_dgemv' argument 2 names different: declaration 'TransA' definition 'trans'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:179:75: note: Function 'hblas_dgemv' argument 2 names different: declaration 'TransA' definition 'trans'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:180:57: style:inconclusive: Function 'hblas_dgemv' argument 5 names different: declaration 'alpha' definition 'a'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:216:31: note: Function 'hblas_dgemv' argument 5 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:180:57: note: Function 'hblas_dgemv' argument 5 names different: declaration 'alpha' definition 'a'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:32: style:inconclusive: Function 'hblas_dgemv' argument 8 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:217:32: note: Function 'hblas_dgemv' argument 8 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:32: note: Function 'hblas_dgemv' argument 8 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:45: style:inconclusive: Function 'hblas_dgemv' argument 9 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:217:45: note: Function 'hblas_dgemv' argument 9 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:45: note: Function 'hblas_dgemv' argument 9 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:64: style:inconclusive: Function 'hblas_dgemv' argument 10 names different: declaration 'beta' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:217:64: note: Function 'hblas_dgemv' argument 10 names different: declaration 'beta' definition 'b'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:64: note: Function 'hblas_dgemv' argument 10 names different: declaration 'beta' definition 'b'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:75: style:inconclusive: Function 'hblas_dgemv' argument 11 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:218:26: note: Function 'hblas_dgemv' argument 11 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:75: note: Function 'hblas_dgemv' argument 11 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:88: style:inconclusive: Function 'hblas_dgemv' argument 12 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:218:39: note: Function 'hblas_dgemv' argument 12 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:181:88: note: Function 'hblas_dgemv' argument 12 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:205:49: style:inconclusive: Function 'hblas_sger' argument 5 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:221:49: note: Function 'hblas_sger' argument 5 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:205:49: note: Function 'hblas_sger' argument 5 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:205:62: style:inconclusive: Function 'hblas_sger' argument 6 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:221:62: note: Function 'hblas_sger' argument 6 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:205:62: note: Function 'hblas_sger' argument 6 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:206:30: style:inconclusive: Function 'hblas_sger' argument 7 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:222:30: note: Function 'hblas_sger' argument 7 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:206:30: note: Function 'hblas_sger' argument 7 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:206:43: style:inconclusive: Function 'hblas_sger' argument 8 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:222:43: note: Function 'hblas_sger' argument 8 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:206:43: note: Function 'hblas_sger' argument 8 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:215:51: style:inconclusive: Function 'hblas_dger' argument 5 names different: declaration 'X' definition 'x'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:225:51: note: Function 'hblas_dger' argument 5 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:215:51: note: Function 'hblas_dger' argument 5 names different: declaration 'X' definition 'x'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:215:64: style:inconclusive: Function 'hblas_dger' argument 6 names different: declaration 'incX' definition 'incx'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:225:64: note: Function 'hblas_dger' argument 6 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:215:64: note: Function 'hblas_dger' argument 6 names different: declaration 'incX' definition 'incx'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:216:31: style:inconclusive: Function 'hblas_dger' argument 7 names different: declaration 'Y' definition 'y'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:226:31: note: Function 'hblas_dger' argument 7 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:216:31: note: Function 'hblas_dger' argument 7 names different: declaration 'Y' definition 'y'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:216:44: style:inconclusive: Function 'hblas_dger' argument 8 names different: declaration 'incY' definition 'incy'. [funcArgNamesDifferent] Halide-17.0.1/apps/linear_algebra/src/halide_blas.h:226:44: note: Function 'hblas_dger' argument 8 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/linear_algebra/src/halide_blas.cpp:216:44: note: Function 'hblas_dger' argument 8 names different: declaration 'incY' definition 'incy'. Halide-17.0.1/apps/max_filter/max_filter_generator.cpp:38:47: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:67:18: style: Local variable 'level' shadows outer variable [shadowVariable] Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:41:14: note: Shadowed declaration Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:67:18: note: Shadow variable Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:217:17: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:257:12: note: Shadowed declaration Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:217:17: note: Shadow variable Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:222:21: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:257:9: note: Shadowed declaration Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:222:21: note: Shadow variable Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:230:21: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:257:9: note: Shadowed declaration Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:230:21: note: Shadow variable Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:242:21: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:257:9: note: Shadowed declaration Halide-17.0.1/apps/local_laplacian/local_laplacian_generator.cpp:242:21: note: Shadow variable Halide-17.0.1/apps/onnx/model.cpp:257:61: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter_generator.cc:29:26: style: Local variable 'input' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_generator.cc:15:22: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_generator.cc:29:26: note: Shadow variable Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:150:10: performance:inconclusive: Technically the member function 'BLASTestBase < float >::compareScalars' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:150:10: performance:inconclusive: Technically the member function 'BLASTestBase < double >::compareScalars' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:156:20: style: The scope of the variable 'ax' can be reduced. [variableScope] Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:157:20: style: The scope of the variable 'ay' can be reduced. [variableScope] Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:219:5: style: Variable 'x' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:266:5: style: Variable 'x' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:296:26: style: Parameter 'argv' can be declared as const array [constParameter] Halide-17.0.1/apps/onnx/model.cpp:508:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/model.cpp:433:22: style: Unused variable: scoped_denormal_disabler [unusedVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:233:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:237:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:241:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:245:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:249:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:253:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:257:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:261:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:265:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:269:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:273:9: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:99:62: error: Invalid abs() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:93:10: performance:inconclusive: Technically the member function 'Tester < float >::validate' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:115:10: performance:inconclusive: Technically the member function 'Tester < float >::print' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:93:10: performance:inconclusive: Technically the member function 'Tester < uint32_t >::validate' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:115:10: performance:inconclusive: Technically the member function 'Tester < uint32_t >::print' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:88:5: style: Class 'Tester < float >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:88:5: style: Class 'Tester < uint32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:68:24: style: Parameter 'tester' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:76:24: style: Parameter 'tester' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/apps/openglcompute/test_oglc_avg.cpp:5:23: performance: Function parameter 'suffix' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:292:14: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:285:17: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:292:14: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:293:18: style: Local variable 'j' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:285:20: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:293:18: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:295:22: style: Local variable 'k' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:285:23: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:295:22: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:296:26: style: Local variable 'l' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:285:26: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:296:26: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:337:14: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:328:17: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:337:14: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:338:18: style: Local variable 'j' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:328:25: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:338:18: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:339:22: style: Local variable 'k' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:328:33: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:339:22: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:380:14: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:368:17: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:380:14: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:381:18: style: Local variable 'j' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:368:20: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:381:18: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter_test.cc:384:18: style: Local variable 'j' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter_test.cc:368:20: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter_test.cc:384:18: note: Shadow variable Halide-17.0.1/apps/resize/resize_generator.cpp:46:17: style: struct member 'KernelInfo::name' is never used. [unusedStructMember] Halide-17.0.1/apps/resize/resize.cpp:146:22: error: Using reference to dangling temporary. [danglingTempReference] Halide-17.0.1/apps/resize/resize.cpp:83:56: note: Assigned to reference. Halide-17.0.1/apps/resize/resize.cpp:146:22: note: Using reference to dangling temporary. Halide-17.0.1/apps/simd_op_check/driver.cpp:93:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/simd_op_check/driver.cpp:47:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/simd_op_check/driver.cpp:54:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/simd_op_check/driver.cpp:55:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/simd_op_check/driver.cpp:55:16: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Halide-17.0.1/apps/simd_op_check/driver.cpp:55:16: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Halide-17.0.1/apps/simd_op_check/driver.cpp:93:13: style: Variable 'out_value' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/apps/resnet_50/Resnet50Generator.cpp:225:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/apps/resnet_50/Resnet50Generator.cpp:115:12: note: Shadowed declaration Halide-17.0.1/apps/resnet_50/Resnet50Generator.cpp:225:18: note: Shadow variable Halide-17.0.1/apps/resnet_50/Resnet50Generator.cpp:248:13: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/apps/resnet_50/Resnet50Generator.cpp:115:9: note: Shadowed declaration Halide-17.0.1/apps/resnet_50/Resnet50Generator.cpp:248:13: note: Shadow variable Halide-17.0.1/apps/stencil_chain/stencil_chain_generator.cpp:23:18: style: Local variable 'f' shadows outer variable [shadowVariable] Halide-17.0.1/apps/stencil_chain/stencil_chain_generator.cpp:18:14: note: Shadowed declaration Halide-17.0.1/apps/stencil_chain/stencil_chain_generator.cpp:23:18: note: Shadow variable Halide-17.0.1/apps/resnet_50/process.cpp:50:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/resnet_50/process.cpp:58:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/resnet_50/process.cpp:68:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/apps/resnet_50/process.cpp:74:47: performance: Function parameter 'shapefile' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/resnet_50/process.cpp:74:70: performance: Function parameter 'datafile' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/resnet_50/process.cpp:80:53: performance: Function parameter 'shapefile' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/resnet_50/process.cpp:80:76: performance: Function parameter 'datafile' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/resnet_50/process.cpp:86:45: performance: Function parameter 'shapefile' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/resnet_50/process.cpp:86:68: performance: Function parameter 'datafile' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/resnet_50/process.cpp:92:43: performance: Function parameter 'shapefile' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/resnet_50/process.cpp:92:66: performance: Function parameter 'datafile' should be passed by const reference. [passedByValue] Halide-17.0.1/apps/resnet_50/process.cpp:163:17: style: Variable 'layer_names' can be declared as const array [constVariable] Halide-17.0.1/apps/resnet_50/process.cpp:168:17: style: Variable 'br1_names' can be declared as const array [constVariable] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.h:20:54: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.h:20:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:135:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:161:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:211:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:239:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:269:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:637:46: style: Parameter 'buf' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:640:46: style: Parameter 'buf' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:323:9: warning:inconclusive: Array index -1 is out of bounds. [negativeContainerIndex] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:321:18: note: Assignment 'i=0', assigned value is 0 Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:322:43: note: Assignment 'dst_axis=reverse_axes?(d-i-1):i', assigned value is -1 Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:323:9: note: Negative array index Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:324:9: warning:inconclusive: Array index -1 is out of bounds. [negativeContainerIndex] Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:321:18: note: Assignment 'i=0', assigned value is 0 Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:322:43: note: Assignment 'dst_axis=reverse_axes?(d-i-1):i', assigned value is -1 Halide-17.0.1/python_bindings/src/halide/halide_/PyBuffer.cpp:324:9: note: Negative array index Halide-17.0.1/python_bindings/src/halide/halide_/PyDerivative.cpp:29:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyDerivative.cpp:31:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyDerivative.cpp:33:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyExpr.cpp:20:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:62:29: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:63:49: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:64:33: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:65:45: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:23:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:62:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:63:49: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:64:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:65:45: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:206:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:182:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:208:25: style: Local variable 'result' shadows outer variable [shadowVariable] Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:195:13: note: Shadowed declaration Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:208:25: note: Shadow variable Halide-17.0.1/python_bindings/src/halide/halide_/PyGenerator.cpp:174:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/python_bindings/src/halide/halide_/PyImageParam.cpp:66:48: style: Parameter 'im' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyImageParam.cpp:69:48: style: Parameter 'im' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyImageParam.cpp:72:48: style: Parameter 'im' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:16:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:18:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:20:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:22:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:25:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:27:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:30:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:36:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:39:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:42:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:48:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:50:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:52:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:54:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:56:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:61:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:62:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:64:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:65:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:67:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:68:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:69:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:71:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:72:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:73:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:75:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:76:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:77:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:78:40: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:80:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:82:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:84:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:86:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:88:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:90:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:91:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:104:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:202:45: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:207:40: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:208:40: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:209:40: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:211:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:212:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:213:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:222:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:223:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:224:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:58:23: style: Parameter 'func' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:47:23: style: Parameter 'func' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:33:23: style: Parameter 'func' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:37:23: style: Parameter 'func' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:24:23: style: Parameter 'func' can be declared as reference to const [constParameterReference] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:168:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:203:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:204:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:226:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:227:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:228:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:229:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:230:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:231:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:232:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyIROperator.cpp:240:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyInlineReductions.cpp:9:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyInlineReductions.cpp:11:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyInlineReductions.cpp:14:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyInlineReductions.cpp:16:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyInlineReductions.cpp:19:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyInlineReductions.cpp:21:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyInlineReductions.cpp:24:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyInlineReductions.cpp:26:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyModule.cpp:63:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/src/halide/halide_/PyTarget.cpp:31:60: style: Parameter 'value2' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/python_bindings/src/halide/halide_/PyTarget.cpp:32:60: style: Parameter 'value2' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/python_bindings/src/halide/halide_/PyTuple.cpp:46:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/python_bindings/src/halide/halide_/PyType.cpp:75:52: style: Parameter 'value2' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/python_bindings/src/halide/halide_/PyType.cpp:76:52: style: Parameter 'value2' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/python_bindings/src/halide/halide_/PyVar.cpp:28:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/python_bindings/test/generators/addconstantcpp_generator.cpp:75:1: error: There is an unknown macro here somewhere. Configuration is required. If HALIDE_REGISTER_GENERATOR is a macro then please configure it. [unknownMacro] Halide-17.0.1/python_bindings/stub/PyStubImpl.cpp:43:41: style: Parameter 'm' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Buffer.h:40:8: debug: Failed to instantiate template "all_ints_and_optional_name". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/runtime/HalideBuffer.h:129:8: debug: Failed to instantiate template "AllInts". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/Generator.h:3107:8: debug: Failed to instantiate template "NoRealizations". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/runtime/HalideBuffer.h:2155:31: debug: Function::addArguments found argument 'v' with varid 0. [varid0] Halide-17.0.1/apps/onnx/onnx_converter.cc:386:38: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] Halide-17.0.1/apps/onnx/onnx_converter.cc:1510:30: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] Halide-17.0.1/apps/onnx/onnx_converter.cc:1104:24: style: Condition 'dim' is always true [knownConditionTrueFalse] Halide-17.0.1/apps/onnx/onnx_converter.cc:233:9: portability: Casting between const char * and const float * which have an incompatible binary data representation. [invalidPointerCast] Halide-17.0.1/apps/onnx/onnx_converter.cc:237:9: portability: Casting between const char * and const double * which have an incompatible binary data representation. [invalidPointerCast] Halide-17.0.1/apps/onnx/onnx_converter.cc:1544:11: style: Variable 'ratio' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/apps/onnx/onnx_converter.cc:1534:19: note: ratio is assigned Halide-17.0.1/apps/onnx/onnx_converter.cc:1544:11: note: ratio is overwritten Halide-17.0.1/apps/onnx/onnx_converter.cc:2242:27: style: Variable 'result.outputs[0].rep' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/apps/onnx/onnx_converter.cc:2241:27: note: result.outputs[0].rep is assigned Halide-17.0.1/apps/onnx/onnx_converter.cc:2242:27: note: result.outputs[0].rep is overwritten Halide-17.0.1/apps/onnx/onnx_converter.cc:1288:11: style: The scope of the variable 'momentum' can be reduced. [variableScope] Halide-17.0.1/apps/onnx/onnx_converter.cc:1605:9: style: The scope of the variable 'p' can be reduced. [variableScope] Halide-17.0.1/apps/onnx/onnx_converter.cc:3251:9: style: The scope of the variable 'hidden_size' can be reduced. [variableScope] Halide-17.0.1/apps/onnx/onnx_converter.cc:3655:9: style: The scope of the variable 'hidden_size' can be reduced. [variableScope] Halide-17.0.1/apps/onnx/onnx_converter.cc:3898:9: style: The scope of the variable 'hidden_size' can be reduced. [variableScope] Halide-17.0.1/apps/onnx/onnx_converter.cc:4828:46: style:inconclusive: Function 'extract_expected_input_shapes' argument 2 names different: declaration 'input_shapes' definition 'expected_input_shapes'. [funcArgNamesDifferent] Halide-17.0.1/apps/onnx/onnx_converter.h:52:46: note: Function 'extract_expected_input_shapes' argument 2 names different: declaration 'input_shapes' definition 'expected_input_shapes'. Halide-17.0.1/apps/onnx/onnx_converter.cc:4828:46: note: Function 'extract_expected_input_shapes' argument 2 names different: declaration 'input_shapes' definition 'expected_input_shapes'. Halide-17.0.1/apps/onnx/onnx_converter.cc:1988:26: style: Local variable 'ends' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:1980:31: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter.cc:1988:26: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter.cc:1989:26: style: Local variable 'starts' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:1979:31: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter.cc:1989:26: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter.cc:4088:26: style: Local variable 'split_node' shadows outer variable [shadowVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:3945:22: note: Shadowed declaration Halide-17.0.1/apps/onnx/onnx_converter.cc:4088:26: note: Shadow variable Halide-17.0.1/apps/onnx/onnx_converter.cc:4684:44: performance: Searching before insertion is not necessary. Instead of 'output_types[input_name]=true' consider using 'output_types.try_emplace(input_name, true);'. [stlFindInsert] Halide-17.0.1/apps/onnx/onnx_converter.cc:288:37: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:337:38: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1026:27: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1030:30: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1034:22: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1038:25: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1048:21: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1618:30: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1623:22: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1628:25: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1649:27: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1892:29: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1934:20: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:2005:26: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:2010:28: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:2200:22: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:2489:37: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:2832:23: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:3093:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:4312:44: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/apps/onnx/onnx_converter.cc:1288:20: style: Variable 'momentum' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:1297:22: style: Variable 'momentum' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:1605:11: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:1614:15: style: Variable 'p' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:3251:21: style: Variable 'hidden_size' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:3257:25: style: Variable 'hidden_size' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:3655:21: style: Variable 'hidden_size' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:3660:25: style: Variable 'hidden_size' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:3898:21: style: Variable 'hidden_size' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:3903:25: style: Variable 'hidden_size' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/apps/onnx/onnx_converter.cc:4792:57: style: Unused variable: inputs [unusedVariable] Halide-17.0.1/src/runtime/HalideBuffer.h:2277:70: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/HalideBuffer.h:2431:40: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/HalideBuffer.h:2450:55: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/Schedule.h:554:5: warning: Member variable 'FusedPair::stage_1' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Schedule.h:554:5: warning: Member variable 'FusedPair::stage_2' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/IREquality.h:66:5: warning: Member variable 'IRCompareCache::bits' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Tuple.h:49:9: performance: Variable 'exprs' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] Halide-17.0.1/src/Expr.h:193:9: debug: CheckClass::isMemberVar found used member variable 'ptr' with varid 0 [varid0] Halide-17.0.1/src/Expr.h:206:13: debug: CheckClass::isMemberVar found used member variable 'ptr' with varid 0 [varid0] Halide-17.0.1/src/Expr.h:207:31: debug: CheckClass::isMemberVar found used member variable 'ptr' with varid 0 [varid0] Halide-17.0.1/src/Expr.h:213:16: debug: CheckClass::isMemberVar found used member variable 'ptr' with varid 0 [varid0] Halide-17.0.1/src/Expr.h:317:48: debug: CheckClass::isMemberVar found used member variable 'ptr' with varid 0 [varid0] Halide-17.0.1/src/Expr.h:428:48: debug: CheckClass::isMemberVar found used member variable 'ptr' with varid 0 [varid0] Halide-17.0.1/src/IR.h:39:17: debug: CheckClass::isMemberVar found used member variable 'type' with varid 0 [varid0] Halide-17.0.1/src/AddAtomicMutex.cpp:290:10: performance:inconclusive: Technically the member function 'Halide::Internal::::AddAtomicMutex::allocate_mutex' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < -1 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 0 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 1 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 2 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 3 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 4 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 5 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 6 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 7 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 8 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Var.h:170:9: performance:inconclusive: Technically the member function 'ImplicitVar < 9 >::to_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < ModulusRemainder >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < ModulusRemainder >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < ModulusRemainder >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < void >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < void >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < void >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < Expr >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < Expr >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < Expr >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/runtime/HalideBuffer.h:308:10: style:inconclusive: Technically the member function 'Buffer < void , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::crop_from' can be const. [functionConst] Halide-17.0.1/src/runtime/HalideBuffer.h:461:10: performance:inconclusive: Technically the member function 'Buffer < void , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::initialize_shape_from_array_shape' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideBuffer.h:1558:10: performance:inconclusive: Technically the member function 'Buffer < void , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::set_min' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideBuffer.h:2031:15: performance:inconclusive: Technically the member function 'Buffer < void , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::offset_of' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideBuffer.h:2574:10: performance:inconclusive: Technically the member function 'Buffer < void , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::msan_check_mem_is_initialized' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < const IRNode >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < const IRNode >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < FunctionGroup >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < FunctionGroup >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < Internal :: ParameterContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < Internal :: ParameterContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < ReductionDomainContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < ReductionDomainContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < WasmModuleContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < WasmModuleContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < JITModuleContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < JITModuleContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < Internal :: LoopLevelContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < Internal :: LoopLevelContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < FuncScheduleContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < FuncScheduleContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < StageScheduleContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < StageScheduleContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < DefinitionContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < DefinitionContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < Internal :: ModuleContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < Internal :: ModuleContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < PipelineContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < PipelineContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Expr.h:316:35: warning: The struct 'Expr' defines member function with name 'get' also defined in its parent struct 'IntrusivePtr < const IRNode >'. [duplInheritedMember] Halide-17.0.1/src/IntrusivePtr.h:99:8: note: Parent function 'IntrusivePtr < const IRNode >::get' Halide-17.0.1/src/Expr.h:316:35: note: Derived function 'Expr::get' Halide-17.0.1/src/Expr.h:427:25: warning: The struct 'Stmt' defines member function with name 'get' also defined in its parent struct 'IntrusivePtr < const IRNode >'. [duplInheritedMember] Halide-17.0.1/src/IntrusivePtr.h:99:8: note: Parent function 'IntrusivePtr < const IRNode >::get' Halide-17.0.1/src/Expr.h:427:25: note: Derived function 'Stmt::get' Halide-17.0.1/src/IRMutator.h:117:23: warning: The class 'IRGraphMutator' defines member function with name 'mutate' also defined in its parent class 'IRMutator'. [duplInheritedMember] Halide-17.0.1/src/IRMutator.h:43:23: note: Parent function 'IRMutator::mutate' Halide-17.0.1/src/IRMutator.h:117:23: note: Derived function 'IRGraphMutator::mutate' Halide-17.0.1/src/Debug.h:53:5: style: Class 'debug' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Type.h:109:5: style: Struct 'halide_handle_cplusplus_type' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Type.h:323:5: style: Struct 'Type' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Expr.h:185:5: style: Struct 'IRHandle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Expr.h:265:5: style: Struct 'Expr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Expr.h:277:5: style: Struct 'Expr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Expr.h:295:5: style: Struct 'Expr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Expr.h:298:5: style: Struct 'Expr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Expr.h:301:5: style: Struct 'Expr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Expr.h:310:5: style: Struct 'Expr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Expr.h:421:5: style: Struct 'Stmt' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Reduction.h:55:5: style: Class 'ReductionDomain' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ExprUsesVar.h:89:5: style: Class 'ExprUsesVars' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Argument.h:82:5: style: Struct 'Argument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Schedule.h:594:5: style: Class 'FuncSchedule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Schedule.h:699:5: style: Class 'StageSchedule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ExternFuncArgument.h:29:5: style: Struct 'ExternFuncArgument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ExternFuncArgument.h:34:5: style: Struct 'ExternFuncArgument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ExternFuncArgument.h:37:5: style: Struct 'ExternFuncArgument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ExternFuncArgument.h:40:5: style: Struct 'ExternFuncArgument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ExternFuncArgument.h:43:5: style: Struct 'ExternFuncArgument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ExternFuncArgument.h:47:5: style: Struct 'ExternFuncArgument' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Tuple.h:60:5: style: Class 'Tuple' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:53:22: style: Struct 'AutoschedulerParams' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:181:5: style: Class 'Pipeline' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:185:5: style: Class 'Pipeline' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:115:9: style: Struct 'RealizationArg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:118:9: style: Struct 'RealizationArg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:121:9: style: Struct 'RealizationArg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:125:9: style: Struct 'RealizationArg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:129:36: style: Struct 'RealizationArg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.h:563:5: style: Struct 'ExternCFunction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/RDom.h:215:32: style: Class 'RDom' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/RDom.h:232:5: style: Class 'RDom' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/RDom.h:233:5: style: Class 'RDom' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/RDom.h:235:32: style: Class 'RDom' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/RDom.h:241:5: style: Class 'RDom' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Var.h:29:5: style: Class 'Var' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Func.h:33:5: style: Struct 'VarOrRVar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Func.h:36:5: style: Struct 'VarOrRVar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Func.h:39:5: style: Struct 'VarOrRVar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Func.h:43:5: style: Struct 'VarOrRVar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IREquality.h:67:5: style: Class 'IRCompareCache' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AddAtomicMutex.cpp:23:5: style: Class 'CollectProducerStoreNames' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AddAtomicMutex.cpp:47:5: style: Class 'FindProducerStoreIndex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AddAtomicMutex.cpp:126:5: style: Class 'FindAtomicLetBindings' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AddAtomicMutex.cpp:214:5: style: Class 'FindStoreInAtomicMutex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AddAtomicMutex.cpp:279:5: style: Class 'AddAtomicMutex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:181:5: style: Class 'Buffer < void , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:188:5: style: Class 'Buffer < void , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:195:5: style: Class 'Buffer < void , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:181:5: style: Class 'Buffer < uint8_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:188:5: style: Class 'Buffer < uint8_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:195:5: style: Class 'Buffer < uint8_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/runtime/HalideBuffer.h:760:5: style: Class 'Buffer < void , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/runtime/HalideBuffer.h:784:5: style: Class 'Buffer < void , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < std :: string >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < bool >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < const IRNode >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < FunctionGroup >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < Internal :: ParameterContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < ReductionDomainContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < WasmModuleContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < JITModuleContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < Internal :: LoopLevelContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < FuncScheduleContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < StageScheduleContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < DefinitionContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < Internal :: ModuleContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < PipelineContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/runtime/HalideBuffer.h:720:43: warning: Logical conjunction always evaluates to false: Buffer::T_is_void && !(T_is_void). [incorrectLogicOperator] Halide-17.0.1/src/runtime/HalideBuffer.h:720:47: note: 'T_is_void' is assigned value 'T_is_void' here. Halide-17.0.1/src/runtime/HalideBuffer.h:720:43: note: Logical conjunction always evaluates to false: Buffer::T_is_void && !(T_is_void). Halide-17.0.1/src/IRVisitor.h:170:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:172:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:174:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:176:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:178:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:180:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:182:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:184:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:186:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:188:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:190:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:192:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:194:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:196:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:198:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:200:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:202:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:204:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:206:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:208:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:210:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:212:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:214:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:216:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:218:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:220:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:222:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:224:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:226:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:228:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:230:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:296:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:298:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:300:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:302:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:304:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:306:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:308:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:310:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:312:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:314:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:316:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:318:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:320:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:322:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:324:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:326:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRVisitor.h:328:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Pipeline.h:564:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Buffer.h:375:51: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:517:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:549:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:800:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:817:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:928:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:929:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1056:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1073:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1087:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1099:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1113:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1126:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1146:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1195:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1208:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1221:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1231:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1236:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1241:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1412:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1413:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1417:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1418:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1422:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1423:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1427:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:1428:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2089:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2100:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2109:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2122:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2133:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2142:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2277:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2431:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:2450:13: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideBuffer.h:707:37: style: Same expression on both sides of '||' because 'Buffer::T_is_void' and 'T_is_void' represent the same value. [knownConditionTrueFalse] Halide-17.0.1/src/runtime/HalideBuffer.h:707:60: note: 'T_is_void' is assigned value 'T_is_void' here. Halide-17.0.1/src/runtime/HalideBuffer.h:707:37: note: Same expression on both sides of '||' because 'Buffer::T_is_void' and 'T_is_void' represent the same value. Halide-17.0.1/src/runtime/HalideBuffer.h:720:43: style: Opposite expression on both sides of '&&'. [oppositeExpression] Halide-17.0.1/src/runtime/HalideBuffer.h:720:47: note: 'T_is_void' is assigned value 'T_is_void' here. Halide-17.0.1/src/runtime/HalideBuffer.h:720:43: note: Opposite expression on both sides of '&&'. Halide-17.0.1/src/Param.h:193:24: style: Local variable 'type' shadows outer function [shadowFunction] Halide-17.0.1/src/Param.h:218:10: note: Shadowed declaration Halide-17.0.1/src/Param.h:193:24: note: Shadow variable Halide-17.0.1/src/Param.h:273:24: style: Local variable 'type' shadows outer function [shadowFunction] Halide-17.0.1/src/Param.h:218:10: note: Shadowed declaration Halide-17.0.1/src/Param.h:273:24: note: Shadow variable Halide-17.0.1/src/runtime/HalideBuffer.h:2186:21: style: Local variable 'end' shadows outer function [shadowFunction] Halide-17.0.1/src/runtime/HalideBuffer.h:663:8: note: Shadowed declaration Halide-17.0.1/src/runtime/HalideBuffer.h:2186:21: note: Shadow variable Halide-17.0.1/src/runtime/HalideBuffer.h:2208:19: style: Local variable 'dimensions' shadows outer function [shadowFunction] Halide-17.0.1/src/runtime/HalideBuffer.h:642:9: note: Shadowed declaration Halide-17.0.1/src/runtime/HalideBuffer.h:2208:19: note: Shadow variable Halide-17.0.1/src/ExternFuncArgument.h:34:40: performance:inconclusive: Function parameter 'b' should be passed by const reference. [passedByValue] Halide-17.0.1/src/runtime/HalideBuffer.h:1414:64: performance:inconclusive: Function parameter 'src' should be passed by const reference. [passedByValue] Halide-17.0.1/src/runtime/HalideBuffer.h:1419:64: performance:inconclusive: Function parameter 'src' should be passed by const reference. [passedByValue] Halide-17.0.1/src/runtime/HalideBuffer.h:1424:64: performance:inconclusive: Function parameter 'src' should be passed by const reference. [passedByValue] Halide-17.0.1/src/runtime/HalideBuffer.h:1429:64: performance:inconclusive: Function parameter 'src' should be passed by const reference. [passedByValue] Halide-17.0.1/src/Util.h:395:27: performance: Function parameter 'new_value' should be passed by const reference. [passedByValue] Halide-17.0.1/src/IROperator.h:335:78: style: Parameter 'args' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Pipeline.h:511:35: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/IRMutator.h:132:74: warning:inconclusive: Access of forwarded variable 'args'. [accessForwarded] Halide-17.0.1/src/IRMutator.h:131:49: note: Calling std::forward(args) Halide-17.0.1/src/IRMutator.h:132:74: note: Access of forwarded variable 'args'. Halide-17.0.1/src/runtime/HalideBuffer.h:2385:73: warning:inconclusive: Access of forwarded variable 'f'. [accessForwarded] Halide-17.0.1/src/runtime/HalideBuffer.h:2385:56: note: Calling std::forward(f) Halide-17.0.1/src/runtime/HalideBuffer.h:2385:73: note: Access of forwarded variable 'f'. Halide-17.0.1/src/Util.h:197:12: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/runtime/HalideBuffer.h:149:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/IR.h:717:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/IR.h:734:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Func.h:99:22: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/AddAtomicMutex.cpp:331:20: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Scope.h:138:16: warning: Either the condition 'iter==table.end()' is redundant or there is possible dereference of an invalid iterator: iter. [derefInvalidIteratorRedundantCheck] Halide-17.0.1/src/Scope.h:130:18: note: Assuming that condition 'iter==table.end()' is not redundant Halide-17.0.1/src/Scope.h:138:16: note: Dereference of an invalid iterator Halide-17.0.1/src/Scope.h:150:16: warning: Either the condition 'iter==table.end()' is redundant or there is possible dereference of an invalid iterator: iter. [derefInvalidIteratorRedundantCheck] Halide-17.0.1/src/Scope.h:146:18: note: Assuming that condition 'iter==table.end()' is not redundant Halide-17.0.1/src/Scope.h:150:16: note: Dereference of an invalid iterator Halide-17.0.1/src/IROperator.h:246:28: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] Halide-17.0.1/src/IROperator.h:247:28: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] Halide-17.0.1/src/IROperator.h:268:28: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] Halide-17.0.1/src/IROperator.h:269:28: portability: Shifting signed 64-bit value by 63 bits is implementation-defined behaviour [shiftTooManyBitsSigned] Halide-17.0.1/src/Util.h:453:26: debug: Scope::checkVariable found variable 'to' with varid 0. [varid0] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AddParameterChecks.cpp:93:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Generator.h:615:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] Halide-17.0.1/src/Callable.h:221:18: warning: Member variable 'ArgvStorage::argv_scalar_store' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Introspection.h:115:5: warning: Member variable 'A::an_int' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Introspection.h:108:9: warning: Member variable 'B::parent' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < Interval >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < Interval >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < Interval >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/HexagonAlignment.h:18:5: style: Class 'HexagonAlignmentAnalyzer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AlignLoads.cpp:90:43: style: Redundant condition: !is_aligned. 'is_aligned || (!is_aligned && aligned_offset!=0)' is equivalent to 'is_aligned || aligned_offset!=0' [redundantCondition] Halide-17.0.1/src/Generator.h:1795:54: performance:inconclusive: Technically the member function 'Halide::Internal::GeneratorInput_Buffer::begin' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Generator.h:1801:54: performance:inconclusive: Technically the member function 'Halide::Internal::GeneratorInput_Buffer::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Generator.h:2666:10: style:inconclusive: Technically the member function 'Halide::Internal::GeneratorOutput_Buffer::operator[]' can be const. [functionConst] Halide-17.0.1/src/Generator.h:3509:8: performance:inconclusive: Technically the member function 'Halide::Internal::GeneratorBase::find_by_name' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:70:10: performance:inconclusive: Technically the member function 'IntrusivePtr < CallableContents >::incref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IntrusivePtr.h:76:10: performance:inconclusive: Technically the member function 'IntrusivePtr < CallableContents >::decref' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Generator.h:1777:12: warning: The class 'GeneratorInput_Buffer' defines member function with name 'size' also defined in its parent class 'GeneratorInputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:1613:12: note: Parent function 'GeneratorInputImpl::size' Halide-17.0.1/src/Generator.h:1777:12: note: Derived function 'GeneratorInput_Buffer::size' Halide-17.0.1/src/Generator.h:1783:16: warning: The class 'GeneratorInput_Buffer' defines member function with name 'operator[]' also defined in its parent class 'GeneratorInputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:1619:22: note: Parent function 'GeneratorInputImpl::operator[]' Halide-17.0.1/src/Generator.h:1783:16: note: Derived function 'GeneratorInput_Buffer::operator[]' Halide-17.0.1/src/Generator.h:1789:16: warning: The class 'GeneratorInput_Buffer' defines member function with name 'at' also defined in its parent class 'GeneratorInputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:1625:22: note: Parent function 'GeneratorInputImpl::at' Halide-17.0.1/src/Generator.h:1789:16: note: Derived function 'GeneratorInput_Buffer::at' Halide-17.0.1/src/Generator.h:1795:54: warning: The class 'GeneratorInput_Buffer' defines member function with name 'begin' also defined in its parent class 'GeneratorInputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:1631:53: note: Parent function 'GeneratorInputImpl::begin' Halide-17.0.1/src/Generator.h:1795:54: note: Derived function 'GeneratorInput_Buffer::begin' Halide-17.0.1/src/Generator.h:1801:54: warning: The class 'GeneratorInput_Buffer' defines member function with name 'end' also defined in its parent class 'GeneratorInputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:1637:53: note: Parent function 'GeneratorInputImpl::end' Halide-17.0.1/src/Generator.h:1801:54: note: Derived function 'GeneratorInput_Buffer::end' Halide-17.0.1/src/Generator.h:549:10: warning: The class 'GeneratorParamImpl < AutoschedulerParams >' defines member function with name 'set' also defined in its parent class 'GeneratorParamBase'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:435:10: note: Parent function 'GeneratorParamBase::set' Halide-17.0.1/src/Generator.h:549:10: note: Derived function 'GeneratorParamImpl < AutoschedulerParams >::set' Halide-17.0.1/src/Generator.h:549:10: warning: The class 'GeneratorParamImpl < LoopLevel >' defines member function with name 'set' also defined in its parent class 'GeneratorParamBase'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:435:10: note: Parent function 'GeneratorParamBase::set' Halide-17.0.1/src/Generator.h:549:10: note: Derived function 'GeneratorParamImpl < LoopLevel >::set' Halide-17.0.1/src/Generator.h:2466:10: warning: The class 'GeneratorOutputImpl' defines member function with name 'resize' also defined in its parent class 'GeneratorOutputBase'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:2361:10: note: Parent function 'GeneratorOutputBase::resize' Halide-17.0.1/src/Generator.h:2466:10: note: Derived function 'GeneratorOutputImpl::resize' Halide-17.0.1/src/Generator.h:2659:17: warning: The class 'GeneratorOutput_Buffer' defines member function with name 'operator[]' also defined in its parent class 'GeneratorOutputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:2440:22: note: Parent function 'GeneratorOutputImpl::operator[]' Halide-17.0.1/src/Generator.h:2659:17: note: Derived function 'GeneratorOutput_Buffer::operator[]' Halide-17.0.1/src/Generator.h:2587:35: warning: The class 'GeneratorOutput_Buffer' defines member function with name 'as' also defined in its parent class 'GeneratorOutputBase'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:2267:35: note: Parent function 'GeneratorOutputBase::as' Halide-17.0.1/src/Generator.h:2587:35: note: Derived function 'GeneratorOutput_Buffer::as' Halide-17.0.1/src/Generator.h:2678:5: warning: The class 'GeneratorOutput_Buffer' defines member function with name 'dimensions' also defined in its parent class 'GeneratorOutputBase'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:2296:5: note: Parent function 'GeneratorOutputBase::dimensions' Halide-17.0.1/src/Generator.h:2678:5: note: Derived function 'GeneratorOutput_Buffer::dimensions' Halide-17.0.1/src/Generator.h:2745:17: warning: The class 'GeneratorOutput_Func' defines member function with name 'operator[]' also defined in its parent class 'GeneratorOutputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:2440:22: note: Parent function 'GeneratorOutputImpl::operator[]' Halide-17.0.1/src/Generator.h:2745:17: note: Derived function 'GeneratorOutput_Func::operator[]' Halide-17.0.1/src/Generator.h:1300:5: style: Class 'StubInputBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Generator.h:1393:5: style: Class 'StubInput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Generator.h:1396:5: style: Class 'StubInput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Generator.h:1399:5: style: Class 'StubInput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Generator.h:1402:5: style: Class 'StubInput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:128:5: style: Class 'Param < void >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:136:5: style: Class 'Param < void >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:181:5: style: Class 'Buffer < float , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:188:5: style: Class 'Buffer < float , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:195:5: style: Class 'Buffer < float , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IntrusivePtr.h:120:5: style: Struct 'IntrusivePtr < CallableContents >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Callable.h:260:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Introspection.h:123:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Generator.h:3813:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Generator.h:3827:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Generator.h:3837:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Generator.h:3846:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/AbstractGenerator.cpp:27:16: style: Local variable 'context' shadows outer function [shadowFunction] Halide-17.0.1/src/AbstractGenerator.h:90:30: note: Shadowed declaration Halide-17.0.1/src/AbstractGenerator.cpp:27:16: note: Shadow variable Halide-17.0.1/src/AbstractGenerator.cpp:216:16: style: Local variable 'context' shadows outer function [shadowFunction] Halide-17.0.1/src/AbstractGenerator.h:90:30: note: Shadowed declaration Halide-17.0.1/src/AbstractGenerator.cpp:216:16: note: Shadow variable Halide-17.0.1/src/AbstractGenerator.cpp:151:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/AbstractGenerator.cpp:147:17: note: Shadowed declaration Halide-17.0.1/src/AbstractGenerator.cpp:151:18: note: Shadow variable Halide-17.0.1/src/AbstractGenerator.cpp:192:30: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/AbstractGenerator.cpp:147:17: note: Shadowed declaration Halide-17.0.1/src/AbstractGenerator.cpp:192:30: note: Shadow variable Halide-17.0.1/src/Generator.h:2239:69: performance:inconclusive: Function parameter 'd' should be passed by const reference. [passedByValue] Halide-17.0.1/src/Generator.h:2253:88: performance:inconclusive: Function parameter 'd' should be passed by const reference. [passedByValue] Halide-17.0.1/src/Generator.h:3185:29: style: Variable 'pi' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Generator.h:300:36: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Generator.h:1314:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Generator.h:1373:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Generator.h:3511:36: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Generator.h:3605:17: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Generator.h:3627:17: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/AbstractGenerator.cpp:43:30: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/AbstractGenerator.cpp:241:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/AllocationBoundsInference.cpp:74:18: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/AllocationBoundsInference.cpp:74:18: note: Shadow variable Halide-17.0.1/src/AllocationBoundsInference.cpp:74:23: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/AllocationBoundsInference.cpp:74:23: note: Shadow variable Halide-17.0.1/src/AllocationBoundsInference.cpp:60:30: style: Local variable 'b' shadows outer variable [shadowVariable] Halide-17.0.1/src/AllocationBoundsInference.cpp:44:13: note: Shadowed declaration Halide-17.0.1/src/AllocationBoundsInference.cpp:60:30: note: Shadow variable Halide-17.0.1/src/ApplySplit.h:46:5: style: Struct 'ApplySplitResult' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ApplySplit.cpp:142:14: style: Local variable 'outer' shadows outer variable [shadowVariable] Halide-17.0.1/src/ApplySplit.cpp:18:10: note: Shadowed declaration Halide-17.0.1/src/ApplySplit.cpp:142:14: note: Shadow variable Halide-17.0.1/src/AssociativeOpsTable.h:40:5: style: Struct 'AssociativePattern' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AssociativeOpsTable.cpp:164:99: style: Parameter 'table' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/AssociativeOpsTable.cpp:168:102: style: Parameter 'table' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/AssociativeOpsTable.cpp:179:99: style: Parameter 'table' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/AssociativeOpsTable.cpp:201:102: style: Parameter 'table' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/AssociativeOpsTable.cpp:145:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:145:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:145:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:145:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:145:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:150:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:150:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:150:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:150:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:150:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:155:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:155:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:155:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:155:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:155:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:160:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:160:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:160:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:160:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:160:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:165:5: style: Variable 'x0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:165:5: style: Variable 'y0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:165:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:165:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:165:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:165:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:165:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:165:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:169:5: style: Variable 'x0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:169:5: style: Variable 'y0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:169:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:169:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:169:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:169:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:169:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:169:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'x1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'k1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'neg_one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'tmax_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:173:5: style: Variable 'tmin_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'x0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'y0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'x1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'y1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'k1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'zero_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'neg_one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'tmax_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:180:5: style: Variable 'tmin_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'k1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'neg_one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'tmax_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:184:5: style: Variable 'tmin_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'k1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'neg_one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'tmax_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:189:5: style: Variable 'tmin_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'k1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'neg_one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'tmax_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:194:5: style: Variable 'tmin_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'x0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'y0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'x1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'y1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'k1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'zero_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'neg_one_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'tmax_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:202:5: style: Variable 'tmin_1' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:206:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:206:5: style: Variable 'zero_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:206:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:206:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:206:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:211:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:211:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:211:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:211:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:211:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:216:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:216:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:216:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:216:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:216:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:226:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:226:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:226:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:226:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:232:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:232:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:232:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:232:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:232:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:240:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:240:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:240:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:240:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:246:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:246:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:246:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:246:5: style: Variable 'tmax_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:246:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:252:5: style: Variable 'k0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:252:5: style: Variable 'one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:252:5: style: Variable 'neg_one_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AssociativeOpsTable.cpp:252:5: style: Variable 'tmin_0' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/IRMatch.h:134:5: warning: Member variable 'MatcherState::bindings' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/IRMatch.h:2826:5: warning: Member variable 'Rewriter < decltype ( pattern_arg ( e ) ) >::validate' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Scope.h:31:5: warning: Member variable 'SmallStack < int >::_top' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/AsyncProducers.cpp:337:9: performance: Variable 'new_var' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] Halide-17.0.1/src/IRMatch.h:245:31: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstInt::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:266:31: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstInt::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:279:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstInt::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:289:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstInt::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:311:31: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstUInt::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:332:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstUInt::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:342:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstUInt::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:364:31: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstFloat::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:385:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstFloat::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:395:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConstFloat::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:443:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConst::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:453:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::WildConst::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:476:31: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::Wild::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:485:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::Wild::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:1382:31: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::Intrin::match_args' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:1408:31: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::Intrin::print_args' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:2250:31: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::Overflow::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:2259:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::Overflow::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:2267:10: performance:inconclusive: Technically the member function 'Halide::Internal::IRMatcher::Overflow::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Associativity.h:87:5: style: Struct 'AssociativeOp' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IRMatch.h:249:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:254:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:315:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:320:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:368:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:373:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:422:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:519:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:523:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:525:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:527:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:661:25: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:771:25: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:1391:26: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:1630:26: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:1691:29: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:1754:36: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:1828:27: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:1890:39: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:1972:26: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:2054:27: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:2102:29: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.h:2254:27: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/AsyncProducers.cpp:117:10: performance:inconclusive: Technically the member function 'Halide::Internal::::GenerateProducerBody::bad_producer_nesting_error' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < int >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < int >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < int >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/AsyncProducers.cpp:152:17: style: Class 'FindBadConsumeNodes' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AsyncProducers.cpp:354:5: style: Class 'CountConsumeNodes' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AsyncProducers.cpp:425:5: style: Class 'ForkAsyncProducers' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AsyncProducers.cpp:590:5: style: Class 'TightenProducerConsumerNodes' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IRMatch.h:222:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:279:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:289:89: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:332:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:342:89: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:385:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:395:89: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:443:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:453:89: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:485:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:544:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:551:71: style: Parameter 'ty' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:551:89: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:1044:71: style: Parameter 't' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:1073:71: style: Parameter 't' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:1095:71: style: Parameter 't' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:1117:71: style: Parameter 't' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:1292:70: style: Parameter 't' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:1318:71: style: Parameter 't' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:2259:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/IRMatch.h:2267:89: style: Parameter 'state' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Associativity.cpp:326:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/AsyncProducers.cpp:556:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/AsyncProducers.cpp:511:23: style: Variable 'orig' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AsyncProducers.cpp:547:28: style: Variable 'first' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Associativity.cpp:679:16: style: Variable 'y' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/AddImageChecks.cpp:152:5: style: Class 'TrimStmtToPartsThatAccessBuffers' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AddImageChecks.cpp:302:26: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/AddImageChecks.cpp:302:26: note: Shadow variable Halide-17.0.1/src/AddImageChecks.cpp:304:26: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/AddImageChecks.cpp:304:26: note: Shadow variable Halide-17.0.1/src/AddImageChecks.cpp:463:26: style: Local variable 'check' shadows outer variable [shadowVariable] Halide-17.0.1/src/AddImageChecks.cpp:448:18: note: Shadowed declaration Halide-17.0.1/src/AddImageChecks.cpp:463:26: note: Shadow variable Halide-17.0.1/src/AddImageChecks.cpp:606:27: style: Local variable 'name' shadows outer variable [shadowVariable] Halide-17.0.1/src/AddImageChecks.cpp:245:23: note: Shadowed declaration Halide-17.0.1/src/AddImageChecks.cpp:606:27: note: Shadow variable Halide-17.0.1/src/AddImageChecks.cpp:647:22: style: Local variable 'error' shadows outer variable [shadowVariable] Halide-17.0.1/src/AddImageChecks.cpp:635:18: note: Shadowed declaration Halide-17.0.1/src/AddImageChecks.cpp:647:22: note: Shadow variable Halide-17.0.1/src/AddImageChecks.cpp:246:19: style: Variable 'image' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/AddImageChecks.cpp:247:20: style: Variable 'param' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/AddImageChecks.cpp:297:24: style: Variable 'extern_user' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/BoundConstantExtentLoops.cpp:65:28: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < DeviceAPI >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/BoundSmallAllocations.cpp:119:26: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Param.h:128:5: style: Class 'Param < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:136:5: style: Class 'Param < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/AutoScheduleUtils.cpp:196:54: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/AutoScheduleUtils.cpp:263:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/AutoScheduleUtils.cpp:359:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/BoundaryConditions.cpp:18:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundaryConditions.cpp:18:14: note: Shadow variable Halide-17.0.1/src/BoundaryConditions.cpp:52:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundaryConditions.cpp:52:14: note: Shadow variable Halide-17.0.1/src/BoundaryConditions.cpp:95:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundaryConditions.cpp:95:14: note: Shadow variable Halide-17.0.1/src/BoundaryConditions.cpp:151:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundaryConditions.cpp:151:14: note: Shadow variable Halide-17.0.1/src/BoundaryConditions.cpp:192:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundaryConditions.cpp:192:14: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:301:63: debug: CheckClass::isMemberVar found used member variable 'rvars' with varid 0 [varid0] Halide-17.0.1/src/BoundsInference.cpp:79:5: style: Class 'BoundsOfInnerVar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/BoundsInference.cpp:95:17: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Halide-17.0.1/src/BoundsInference.cpp:93:20: note: outer condition: !found Halide-17.0.1/src/BoundsInference.cpp:95:17: note: opposite inner condition: found Halide-17.0.1/src/BoundsInference.cpp:126:17: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Halide-17.0.1/src/BoundsInference.cpp:124:20: note: outer condition: !found Halide-17.0.1/src/BoundsInference.cpp:126:17: note: opposite inner condition: found Halide-17.0.1/src/BoundsInference.cpp:318:37: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/BoundsInference.cpp:311:25: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:318:37: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:350:29: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/BoundsInference.cpp:332:25: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:350:29: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:501:28: style: Local variable 'stages' shadows outer variable [shadowVariable] Halide-17.0.1/src/BoundsInference.cpp:860:19: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:501:28: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:506:34: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:506:34: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:507:34: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:507:34: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:715:32: style: Local variable 'name' shadows outer variable [shadowVariable] Halide-17.0.1/src/BoundsInference.cpp:277:16: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:715:32: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:729:28: style: Local variable 'name' shadows outer variable [shadowVariable] Halide-17.0.1/src/BoundsInference.cpp:277:16: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:729:28: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:764:26: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:764:26: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:765:26: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:765:26: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:962:34: style: Local variable 'f' shadows outer argument [shadowArgument] Halide-17.0.1/src/BoundsInference.cpp:862:45: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:962:34: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:969:34: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:969:34: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:971:34: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:971:34: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:982:32: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/BoundsInference.cpp:941:21: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:982:32: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:1043:22: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/BoundsInference.cpp:1043:22: note: Shadow variable Halide-17.0.1/src/BoundsInference.cpp:439:13: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/BoundsInference.cpp:830:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/BoundsInference.cpp:927:27: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/BoundsInference.cpp:1189:55: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/BoundsInference.cpp:1272:34: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/BoundsInference.cpp:1360:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/BoundsInference.cpp:543:40: style: Variable 'outer_min' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/BoundsInference.cpp:706:30: style: Variable 'null_handle' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/BoundsInference.cpp:964:43: style: Variable 'stage_name' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:55:17: performance:inconclusive: Technically the member function 'Halide::Internal::WindowsMangling::PreviousDeclarations::check_and_enter' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/CPlusPlusMangle.cpp:32:5: style: Struct 'MangledNamePart' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CPlusPlusMangle.cpp:35:5: style: Struct 'MangledNamePart' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CPlusPlusMangle.cpp:990:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:959:12: note: Shadowed declaration Halide-17.0.1/src/CPlusPlusMangle.cpp:990:18: note: Shadow variable Halide-17.0.1/src/CPlusPlusMangle.cpp:1001:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:959:12: note: Shadowed declaration Halide-17.0.1/src/CPlusPlusMangle.cpp:1001:18: note: Shadow variable Halide-17.0.1/src/CPlusPlusMangle.cpp:1016:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:959:12: note: Shadowed declaration Halide-17.0.1/src/CPlusPlusMangle.cpp:1016:18: note: Shadow variable Halide-17.0.1/src/CPlusPlusMangle.cpp:1027:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:959:12: note: Shadowed declaration Halide-17.0.1/src/CPlusPlusMangle.cpp:1027:18: note: Shadow variable Halide-17.0.1/src/CPlusPlusMangle.cpp:1043:21: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:959:12: note: Shadowed declaration Halide-17.0.1/src/CPlusPlusMangle.cpp:1043:21: note: Shadow variable Halide-17.0.1/src/CPlusPlusMangle.cpp:1079:31: style: Local variable 'expecteds' shadows outer variable [shadowVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:953:19: note: Shadowed declaration Halide-17.0.1/src/CPlusPlusMangle.cpp:1079:31: note: Shadow variable Halide-17.0.1/src/CPlusPlusMangle.cpp:1095:27: style: Local variable 'expecteds' shadows outer variable [shadowVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:953:19: note: Shadowed declaration Halide-17.0.1/src/CPlusPlusMangle.cpp:1095:27: note: Shadow variable Halide-17.0.1/src/CPlusPlusMangle.cpp:944:12: style: Variable 'targets' can be declared as const array [constVariable] Halide-17.0.1/src/CPlusPlusMangle.cpp:1079:31: style: Variable 'expecteds' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/CPlusPlusMangle.cpp:1095:27: style: Variable 'expecteds' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/CPlusPlusMangle.cpp:1054:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/CPlusPlusMangle.cpp:374:17: style: struct member 'Quals::modifiers' is never used. [unusedStructMember] Halide-17.0.1/src/CPlusPlusMangle.cpp:375:17: style: struct member 'Quals::indirections' is never used. [unusedStructMember] Halide-17.0.1/src/CSE.cpp:80:9: style: Struct 'Entry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CSE.cpp:188:5: style: Class 'Replacer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CSE.cpp:265:5: style: Class 'CSEEveryExprInStmt' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CSE.cpp:458:25: style: Same expression on both sides of '/'. [duplicateExpression] Halide-17.0.1/src/CSE.cpp:462:31: style: Same expression on both sides of '/'. [duplicateExpression] Halide-17.0.1/src/CSE.cpp:463:32: style: Same expression on both sides of '%'. [duplicateExpression] Halide-17.0.1/src/CSE.cpp:332:21: style: Local variable 'e' shadows outer variable [shadowVariable] Halide-17.0.1/src/CSE.cpp:273:10: note: Shadowed declaration Halide-17.0.1/src/CSE.cpp:332:21: note: Shadow variable Halide-17.0.1/src/CSE.cpp:492:17: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/CSE.cpp:516:19: style: Variable 'load' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/CSE.cpp:521:23: style: Variable 'cse_load' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Callable.cpp:190:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Callable.cpp:211:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Callable.cpp:126:81: style:inconclusive: Function 'check_qcci' argument 2 names different: declaration 'actual_cci' definition 'actual_qcci'. [funcArgNamesDifferent] Halide-17.0.1/src/Callable.h:287:65: note: Function 'check_qcci' argument 2 names different: declaration 'actual_cci' definition 'actual_qcci'. Halide-17.0.1/src/Callable.cpp:126:81: note: Function 'check_qcci' argument 2 names different: declaration 'actual_cci' definition 'actual_qcci'. Halide-17.0.1/src/Callable.cpp:142:80: style:inconclusive: Function 'check_fcci' argument 2 names different: declaration 'actual_cci' definition 'actual_fcci'. [funcArgNamesDifferent] Halide-17.0.1/src/Callable.h:288:64: note: Function 'check_fcci' argument 2 names different: declaration 'actual_cci' definition 'actual_fcci'. Halide-17.0.1/src/Callable.cpp:142:80: note: Function 'check_fcci' argument 2 names different: declaration 'actual_cci' definition 'actual_fcci'. Halide-17.0.1/src/Callable.cpp:205:97: style:inconclusive: Function 'call_argv_checked' argument 3 names different: declaration 'actual_cci' definition 'actual_qcci'. [funcArgNamesDifferent] Halide-17.0.1/src/Callable.h:282:91: note: Function 'call_argv_checked' argument 3 names different: declaration 'actual_cci' definition 'actual_qcci'. Halide-17.0.1/src/Callable.cpp:205:97: note: Function 'call_argv_checked' argument 3 names different: declaration 'actual_cci' definition 'actual_qcci'. Halide-17.0.1/src/CodeGen_C.h:150:10: style:inconclusive: Technically the member function 'Halide::Internal::CodeGen_C::is_header' can be const. [functionConst] Halide-17.0.1/src/CodeGen_C.h:157:10: style:inconclusive: Technically the member function 'Halide::Internal::CodeGen_C::is_extern_decl' can be const. [functionConst] Halide-17.0.1/src/CodeGen_C.h:168:10: style:inconclusive: Technically the member function 'Halide::Internal::CodeGen_C::is_c_plus_plus_interface' can be const. [functionConst] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < Allocation >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < Allocation >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < Allocation >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/CodeGen_C.h:55:17: warning: The class 'CodeGen_C' defines member function with name 'test' also defined in its parent class 'IRPrinter'. [duplInheritedMember] Halide-17.0.1/src/IRPrinter.h:124:17: note: Parent function 'IRPrinter::test' Halide-17.0.1/src/CodeGen_C.h:55:17: note: Derived function 'CodeGen_C::test' Halide-17.0.1/src/CodeGen_GPU_Dev.h:98:43: performance: Function parameter 't' should be passed by const reference. [passedByValue] Halide-17.0.1/src/LLVM_Headers.h:7:0: error: #error "Compiling Halide requires LLVM 14.0 or newer" [preprocessorErrorDirective] Halide-17.0.1/src/Scope.h:31:5: warning: Member variable 'SmallStack < bool >::_top' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/ClampUnsafeAccesses.cpp:92:10: performance:inconclusive: Technically the member function 'Halide::Internal::::ClampUnsafeAccesses::bounds_smaller_than_type' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < bool >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < bool >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < bool >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < std :: vector < std :: string > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:67:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:74:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:83:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:90:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:95:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:102:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:49:44: performance:inconclusive: Function parameter 'v' should be passed by const reference. [passedByValue] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:57:39: performance:inconclusive: Function parameter 'base' should be passed by const reference. [passedByValue] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:57:63: performance:inconclusive: Function parameter 'stride' should be passed by const reference. [passedByValue] Halide-17.0.1/src/CodeGen_C_vectors.template.cpp:114:66: performance:inconclusive: Function parameter 'b' should be passed by const reference. [passedByValue] Halide-17.0.1/src/CodeGen_GPU_Dev.cpp:86:5: style: Class 'IsBufferConstant' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_GPU_Dev.cpp:154:63: style: Parameter 's' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/CodeGen_GPU_Dev.cpp:175:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/CodeGen_GPU_Dev.cpp:178:25: style: Variable 'src' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/CodeGen_GPU_Dev.cpp:180:34: style: Variable 'storage_name' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:421:10: performance:inconclusive: Technically the member function 'Halide::Internal::::StoragePackUnpack::pack_storage' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:436:24: performance:inconclusive: Technically the member function 'Halide::Internal::::StoragePackUnpack::pack_store' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:485:24: performance:inconclusive: Technically the member function 'Halide::Internal::::StoragePackUnpack::unpack_load' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:31:5: style: Class 'CodeGen_D3D12Compute_Dev' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:117:66: style:inconclusive: Function 'CodeGen_D3D12Compute_Dev' argument 1 names different: declaration 'target' definition 't'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:31:44: note: Function 'CodeGen_D3D12Compute_Dev' argument 1 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:117:66: note: Function 'CodeGen_D3D12Compute_Dev' argument 1 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:206:100: style:inconclusive: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:77:63: note: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:206:100: note: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:818:80: style:inconclusive: Function 'print_assignment' argument 1 names different: declaration 't' definition 'type'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:88:43: note: Function 'print_assignment' argument 1 names different: declaration 't' definition 'type'. Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:818:80: note: Function 'print_assignment' argument 1 names different: declaration 't' definition 'type'. Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:1182:42: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:927:70: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 926. [shiftTooManyBitsSigned] Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:926:32: note: Assuming that condition 'target_type.bits()<32' is not redundant Halide-17.0.1/src/CodeGen_D3D12Compute_Dev.cpp:927:70: note: Shift Halide-17.0.1/src/CodeGen_Metal_Dev.cpp:25:5: style: Class 'CodeGen_Metal_Dev' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_Metal_Dev.cpp:107:52: style:inconclusive: Function 'CodeGen_Metal_Dev' argument 1 names different: declaration 'target' definition 't'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_Metal_Dev.cpp:25:37: note: Function 'CodeGen_Metal_Dev' argument 1 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_Metal_Dev.cpp:107:52: note: Function 'CodeGen_Metal_Dev' argument 1 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_Metal_Dev.cpp:170:86: style:inconclusive: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_Metal_Dev.cpp:67:63: note: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. Halide-17.0.1/src/CodeGen_Metal_Dev.cpp:170:86: note: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. Halide-17.0.1/src/CodeGen_Metal_Dev.cpp:639:17: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:30:5: style: Class 'CodeGen_OpenCL_Dev' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:110:54: style:inconclusive: Function 'CodeGen_OpenCL_Dev' argument 1 names different: declaration 'target' definition 't'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:30:38: note: Function 'CodeGen_OpenCL_Dev' argument 1 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:110:54: note: Function 'CodeGen_OpenCL_Dev' argument 1 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:114:88: style:inconclusive: Function 'print_type' argument 2 names different: declaration 'append_space' definition 'space'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:70:63: note: Function 'print_type' argument 2 names different: declaration 'append_space' definition 'space'. Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:114:88: note: Function 'print_type' argument 2 names different: declaration 'append_space' definition 'space'. Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:59:50: performance: Function parameter 't' should be passed by const reference. [passedByValue] Halide-17.0.1/src/CodeGen_OpenCL_Dev.cpp:982:17: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:450:43: error: Invalid select() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:38:10: performance:inconclusive: Technically the member function 'Halide::Internal::::CodeGen_OpenGLCompute_C::map_type' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:125:31: note: Technically the member function 'Halide::Internal::::CodeGen_OpenGLCompute_C::map_type' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:38:10: note: Technically the member function 'Halide::Internal::::CodeGen_OpenGLCompute_C::map_type' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:714:5: style: Class 'CodeGen_OpenGLCompute_Dev' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:788:5: style: Class 'CheckAlignedDenseVectorLoadStore' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:159:75: style:inconclusive: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:41:59: note: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:159:75: note: Function 'print_type' argument 2 names different: declaration 'space_option' definition 'space'. Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:955:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/CodeGen_OpenGLCompute_Dev.cpp:78:46: style: class member 'CodeGen_OpenGLCompute_C::builtin' is never used. [unusedStructMember] Halide-17.0.1/src/CodeGen_PyTorch.h:31:5: style: Class 'CodeGen_PyTorch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_PyTorch.cpp:12:48: style:inconclusive: Function 'CodeGen_PyTorch' argument 1 names different: declaration 'dest' definition 's'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_PyTorch.h:31:35: note: Function 'CodeGen_PyTorch' argument 1 names different: declaration 'dest' definition 's'. Halide-17.0.1/src/CodeGen_PyTorch.cpp:12:48: note: Function 'CodeGen_PyTorch' argument 1 names different: declaration 'dest' definition 's'. Halide-17.0.1/src/CodeGen_PyTorch.cpp:58:50: style:inconclusive: Function 'compile' argument 1 names different: declaration 'func' definition 'f'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_PyTorch.h:38:37: note: Function 'compile' argument 1 names different: declaration 'func' definition 'f'. Halide-17.0.1/src/CodeGen_PyTorch.cpp:58:50: note: Function 'compile' argument 1 names different: declaration 'func' definition 'f'. Halide-17.0.1/src/CodeGen_PyTorch.cpp:113:16: style: Variable 'buffer_arg' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/CodeGen_PyTorch.cpp:131:16: style: Variable 'buffer_arg' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/CodeGen_PyTorch.cpp:177:20: style: Variable 'buffer_arg' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/CodeGen_C.cpp:190:12: warning: Member variable 'CodeGen_C::have_user_context' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/CodeGen_C.cpp:190:12: warning: Member variable 'CodeGen_C::uses_gpu_for_loops' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/CodeGen_C.h:111:10: performance:inconclusive: Technically the member function 'Halide::Internal::CodeGen_C::scalarize_vector_reduce' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/CodeGen_C.cpp:2055:17: note: Technically the member function 'Halide::Internal::CodeGen_C::scalarize_vector_reduce' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/CodeGen_C.h:111:10: note: Technically the member function 'Halide::Internal::CodeGen_C::scalarize_vector_reduce' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/CodeGen_C.cpp:2508:17: warning: The class 'CodeGen_C' defines member function with name 'test' also defined in its parent class 'IRPrinter'. [duplInheritedMember] Halide-17.0.1/src/IRPrinter.h:124:17: note: Parent function 'IRPrinter::test' Halide-17.0.1/src/CodeGen_C.cpp:2508:17: note: Derived function 'CodeGen_C::test' Halide-17.0.1/src/CodeGen_C.cpp:419:9: style: Struct 'NamespaceOrCall' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:128:5: style: Class 'Param < float >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:136:5: style: Class 'Param < float >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_C.cpp:505:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C.cpp:506:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C.cpp:507:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C.cpp:1165:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C.cpp:2536:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C.cpp:2537:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C.cpp:2538:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/CodeGen_C.cpp:2270:13: style: The scope of the variable 'constant_size' can be reduced. [variableScope] Halide-17.0.1/src/CodeGen_C.cpp:190:31: style:inconclusive: Function 'CodeGen_C' argument 1 names different: declaration 'dest' definition 's'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_C.h:41:29: note: Function 'CodeGen_C' argument 1 names different: declaration 'dest' definition 's'. Halide-17.0.1/src/CodeGen_C.cpp:190:31: note: Function 'CodeGen_C' argument 1 names different: declaration 'dest' definition 's'. Halide-17.0.1/src/CodeGen_C.cpp:190:48: style:inconclusive: Function 'CodeGen_C' argument 2 names different: declaration 'target' definition 't'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_C.h:42:29: note: Function 'CodeGen_C' argument 2 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_C.cpp:190:48: note: Function 'CodeGen_C' argument 2 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_C.cpp:190:94: style:inconclusive: Function 'CodeGen_C' argument 4 names different: declaration 'include_guard' definition 'guard'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_C.h:44:34: note: Function 'CodeGen_C' argument 4 names different: declaration 'include_guard' definition 'guard'. Halide-17.0.1/src/CodeGen_C.cpp:190:94: note: Function 'CodeGen_C' argument 4 names different: declaration 'include_guard' definition 'guard'. Halide-17.0.1/src/CodeGen_C.cpp:896:39: style:inconclusive: Function 'compile' argument 1 names different: declaration 'module' definition 'input'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_C.h:48:32: note: Function 'compile' argument 1 names different: declaration 'module' definition 'input'. Halide-17.0.1/src/CodeGen_C.cpp:896:39: note: Function 'compile' argument 1 names different: declaration 'module' definition 'input'. Halide-17.0.1/src/CodeGen_C.cpp:961:44: style:inconclusive: Function 'compile' argument 1 names different: declaration 'func' definition 'f'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_C.h:69:37: note: Function 'compile' argument 1 names different: declaration 'func' definition 'f'. Halide-17.0.1/src/CodeGen_C.cpp:961:44: note: Function 'compile' argument 1 names different: declaration 'func' definition 'f'. Halide-17.0.1/src/CodeGen_C.cpp:757:22: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/CodeGen_C.cpp:757:22: note: Shadow variable Halide-17.0.1/src/CodeGen_C.cpp:2493:27: style: Local variable 'rhs' shadows outer variable [shadowVariable] Halide-17.0.1/src/CodeGen_C.cpp:2465:19: note: Shadowed declaration Halide-17.0.1/src/CodeGen_C.cpp:2493:27: note: Shadow variable Halide-17.0.1/src/CodeGen_C.cpp:1084:51: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/CodeGen_C.cpp:1651:24: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/CodeGen_C.cpp:1684:24: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/CodeGen_C.cpp:2463:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/CodeGen_C.cpp:2493:27: style: Unused variable: rhs [unusedVariable] Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:23:5: style: Class 'CodeGen_WebGPU_Dev' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:110:54: style:inconclusive: Function 'CodeGen_WebGPU_Dev' argument 1 names different: declaration 'target' definition 't'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:23:38: note: Function 'CodeGen_WebGPU_Dev' argument 1 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:110:54: note: Function 'CodeGen_WebGPU_Dev' argument 1 names different: declaration 'target' definition 't'. Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:114:42: style:inconclusive: Function 'add_kernel' argument 1 names different: declaration 'stmt' definition 's'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:28:26: note: Function 'add_kernel' argument 1 names different: declaration 'stmt' definition 's'. Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:114:42: note: Function 'add_kernel' argument 1 names different: declaration 'stmt' definition 's'. Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:240:73: style:inconclusive: Function 'print_type' argument 2 names different: declaration 'append_space' definition 'space'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:69:52: note: Function 'print_type' argument 2 names different: declaration 'append_space' definition 'space'. Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:240:73: note: Function 'print_type' argument 2 names different: declaration 'append_space' definition 'space'. Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:304:17: style:inconclusive: Function 'add_kernel' argument 1 names different: declaration 'stmt' definition 's'. [funcArgNamesDifferent] Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:60:37: note: Function 'add_kernel' argument 1 names different: declaration 'stmt' definition 's'. Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:304:17: note: Function 'add_kernel' argument 1 names different: declaration 'stmt' definition 's'. Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:410:16: style: Local variable 'name' shadows outer argument [shadowArgument] Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:304:34: note: Shadowed declaration Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:410:16: note: Shadow variable Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:817:12: style: Local variable 'select' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:789:6: note: Shadowed declaration Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:817:12: note: Shadow variable Halide-17.0.1/src/CompilerLogger.cpp:211:20: style: Local variable 'comma' shadows outer argument [shadowArgument] Halide-17.0.1/src/CompilerLogger.cpp:204:100: note: Shadowed declaration Halide-17.0.1/src/CompilerLogger.cpp:211:20: note: Shadow variable Halide-17.0.1/src/CodeGen_WebGPU_Dev.cpp:56:46: performance: Function parameter 't' should be passed by const reference. [passedByValue] Halide-17.0.1/src/DebugToFile.cpp:92:5: style: Class 'DebugToFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/DebugToFile.cpp:112:5: style: Class 'RemoveDummyRealizations' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/DebugToFile.cpp:145:5: style: Class 'AddDummyRealizations' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Definition.cpp:59:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Definition.cpp:62:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/DebugToFile.cpp:129:26: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/DebugToFile.cpp:129:26: note: Shadow variable Halide-17.0.1/src/DebugToFile.cpp:42:30: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/DebugToFile.cpp:104:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/DebugToFile.cpp:125:41: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/DebugToFile.cpp:40:31: style: Variable 'num_elements' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/DebugToFile.cpp:42:30: style: Variable 'num_elements' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Scope.h:278:56: debug: Function::addArguments found argument 'value' with varid 0. [varid0] Halide-17.0.1/src/Scope.h:283:79: debug: Function::addArguments found argument 'value' with varid 0. [varid0] Halide-17.0.1/src/Scope.h:276:5: warning: Member variable 'ScopedBinding < void >::scope' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Scope.h:278:5: warning: Member variable 'ScopedBinding < void >::scope' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Scope.h:283:5: warning: Member variable 'ScopedBinding < void >::scope' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Scope.h:302:5: warning: Member variable 'ScopedBinding < void >::scope' is not initialized in the move constructor. [uninitMemberVar] Halide-17.0.1/src/Scope.h:302:5: warning:inconclusive: Member variable 'ScopedBinding < void >::name' is not assigned in the move constructor. Should it be moved? [missingMemberCopy] Halide-17.0.1/src/Deinterleave.cpp:793:5: warning: Member variable 'Interleaver::num_lanes' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Deinterleave.cpp:451:10: style:inconclusive: Technically the member function 'Halide::Internal::::Interleaver::deinterleave_expr' can be const. [functionConst] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Deinterleave.cpp:419:37: style:inconclusive: Function 'extract_even_lanes' argument 1 names different: declaration 'a' definition 'e'. [funcArgNamesDifferent] Halide-17.0.1/src/Deinterleave.h:20:37: note: Function 'extract_even_lanes' argument 1 names different: declaration 'a' definition 'e'. Halide-17.0.1/src/Deinterleave.cpp:419:37: note: Function 'extract_even_lanes' argument 1 names different: declaration 'a' definition 'e'. Halide-17.0.1/src/Deinterleave.cpp:425:36: style:inconclusive: Function 'extract_odd_lanes' argument 1 names different: declaration 'a' definition 'e'. [funcArgNamesDifferent] Halide-17.0.1/src/Deinterleave.h:17:36: note: Function 'extract_odd_lanes' argument 1 names different: declaration 'a' definition 'e'. Halide-17.0.1/src/Deinterleave.cpp:425:36: note: Function 'extract_odd_lanes' argument 1 names different: declaration 'a' definition 'e'. Halide-17.0.1/src/Deinterleave.cpp:436:31: style:inconclusive: Function 'extract_lane' argument 1 names different: declaration 'vec' definition 'e'. [funcArgNamesDifferent] Halide-17.0.1/src/Deinterleave.h:23:31: note: Function 'extract_lane' argument 1 names different: declaration 'vec' definition 'e'. Halide-17.0.1/src/Deinterleave.cpp:436:31: note: Function 'extract_lane' argument 1 names different: declaration 'vec' definition 'e'. Halide-17.0.1/src/Deinterleave.cpp:764:28: style: Local variable 'let' shadows outer variable [shadowVariable] Halide-17.0.1/src/Deinterleave.cpp:637:24: note: Shadowed declaration Halide-17.0.1/src/Deinterleave.cpp:764:28: note: Shadow variable Halide-17.0.1/src/Deserialization.cpp:1594:59: style:inconclusive: Function 'deserialize_pipeline' argument 1 names different: declaration 'data' definition 'buffer'. [funcArgNamesDifferent] Halide-17.0.1/src/Deserialization.h:26:59: note: Function 'deserialize_pipeline' argument 1 names different: declaration 'data' definition 'buffer'. Halide-17.0.1/src/Deserialization.cpp:1594:59: note: Function 'deserialize_pipeline' argument 1 names different: declaration 'data' definition 'buffer'. Halide-17.0.1/src/Deserialization.cpp:1609:85: style:inconclusive: Function 'deserialize_parameters' argument 1 names different: declaration 'data' definition 'buffer'. [funcArgNamesDifferent] Halide-17.0.1/src/Deserialization.h:48:85: note: Function 'deserialize_parameters' argument 1 names different: declaration 'data' definition 'buffer'. Halide-17.0.1/src/Deserialization.cpp:1609:85: note: Function 'deserialize_parameters' argument 1 names different: declaration 'data' definition 'buffer'. Halide-17.0.1/src/Deserialization.cpp:1589:45: style: Parameter 'in' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Deserialization.cpp:1604:71: style: Parameter 'in' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < ConstantInterval >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < ConstantInterval >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < ConstantInterval >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < Monotonic >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < Monotonic >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < Monotonic >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/DerivativeUtils.cpp:58:9: style: Class 'GatherVariables' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/DerivativeUtils.cpp:386:20: style: Condition 'extent_int!=nullptr' is always true [knownConditionTrueFalse] Halide-17.0.1/src/DerivativeUtils.cpp:555:23: style: Return value 'finder.find(func_name,expr,let_var_mapping)' is always false [knownConditionTrueFalse] Halide-17.0.1/src/DerivativeUtils.cpp:510:17: note: Assignment 'found=false', assigned value is 0 Halide-17.0.1/src/DerivativeUtils.cpp:555:23: note: Calling function 'find' returns 0 Halide-17.0.1/src/DerivativeUtils.cpp:555:23: note: Return value 'finder.find(func_name,expr,let_var_mapping)' is always false Halide-17.0.1/src/DerivativeUtils.cpp:562:23: style: Return value 'finder.find(expr,let_var_mapping)' is always false [knownConditionTrueFalse] Halide-17.0.1/src/DerivativeUtils.cpp:519:17: note: Assignment 'found=false', assigned value is 0 Halide-17.0.1/src/DerivativeUtils.cpp:562:23: note: Calling function 'find' returns 0 Halide-17.0.1/src/DerivativeUtils.cpp:562:23: note: Return value 'finder.find(expr,let_var_mapping)' is always false Halide-17.0.1/src/DerivativeUtils.cpp:162:49: style:inconclusive: Function 'sort' argument 1 names different: declaration 'expr' definition 'e'. [funcArgNamesDifferent] Halide-17.0.1/src/DerivativeUtils.cpp:146:35: note: Function 'sort' argument 1 names different: declaration 'expr' definition 'e'. Halide-17.0.1/src/DerivativeUtils.cpp:162:49: note: Function 'sort' argument 1 names different: declaration 'expr' definition 'e'. Halide-17.0.1/src/DerivativeUtils.cpp:236:30: style: Local variable 'it' shadows outer variable [shadowVariable] Halide-17.0.1/src/DerivativeUtils.cpp:231:22: note: Shadowed declaration Halide-17.0.1/src/DerivativeUtils.cpp:236:30: note: Shadow variable Halide-17.0.1/src/DerivativeUtils.cpp:274:34: style: Local variable 'it' shadows outer variable [shadowVariable] Halide-17.0.1/src/DerivativeUtils.cpp:253:15: note: Shadowed declaration Halide-17.0.1/src/DerivativeUtils.cpp:274:34: note: Shadow variable Halide-17.0.1/src/DerivativeUtils.cpp:75:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/DerivativeUtils.cpp:221:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/DerivativeUtils.cpp:314:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/DerivativeUtils.cpp:336:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Derivative.cpp:42:1: style: The class 'ReverseAccumulationVisitor' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] Halide-17.0.1/src/Derivative.cpp:1288:9: style: Condition 'debug_flag' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Derivative.cpp:1285:23: note: Assignment 'debug_flag=false', assigned value is 0 Halide-17.0.1/src/Derivative.cpp:1288:9: note: Condition 'debug_flag' is always false Halide-17.0.1/src/Derivative.cpp:332:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Derivative.cpp:657:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Derivative.cpp:761:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Derivative.cpp:391:27: style: Local variable 'rhs_tuple' shadows outer variable [shadowVariable] Halide-17.0.1/src/Derivative.cpp:314:19: note: Shadowed declaration Halide-17.0.1/src/Derivative.cpp:391:27: note: Shadow variable Halide-17.0.1/src/Derivative.cpp:566:21: style: Local variable 'func_key' shadows outer variable [shadowVariable] Halide-17.0.1/src/Derivative.cpp:561:17: note: Shadowed declaration Halide-17.0.1/src/Derivative.cpp:566:21: note: Shadow variable Halide-17.0.1/src/Derivative.cpp:683:22: style: Local variable 'adjoint_func' shadows outer variable [shadowVariable] Halide-17.0.1/src/Derivative.cpp:567:18: note: Shadowed declaration Halide-17.0.1/src/Derivative.cpp:683:22: note: Shadow variable Halide-17.0.1/src/Derivative.cpp:1686:22: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/Derivative.cpp:1686:22: note: Shadow variable Halide-17.0.1/src/Derivative.cpp:1695:18: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/Derivative.cpp:1695:18: note: Shadow variable Halide-17.0.1/src/DeviceArgument.h:100:33: style:inconclusive: Technically the member function 'Halide::Internal::HostClosure::arguments' can be const. [functionConst] Halide-17.0.1/src/DeviceArgument.cpp:8:42: note: Technically the member function 'Halide::Internal::HostClosure::arguments' can be const. Halide-17.0.1/src/DeviceArgument.h:100:33: note: Technically the member function 'Halide::Internal::HostClosure::arguments' can be const. Halide-17.0.1/src/Derivative.cpp:352:24: style: Variable 'output_expr' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Derivative.cpp:540:16: style: Variable 'func' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Derivative.cpp:1794:32: style: Parameter 'func_to_update' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Derivative.cpp:199:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Derivative.cpp:494:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Derivative.cpp:685:33: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Derivative.cpp:725:26: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Derivative.cpp:1219:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Derivative.cpp:1234:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/DeviceArgument.cpp:15:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Derivative.cpp:843:18: style: Variable 'adjoint' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/runtime/HalideBuffer.h:308:10: style:inconclusive: Technically the member function 'Buffer < uint8_t , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::crop_from' can be const. [functionConst] Halide-17.0.1/src/runtime/HalideBuffer.h:461:10: performance:inconclusive: Technically the member function 'Buffer < uint8_t , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::initialize_shape_from_array_shape' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideBuffer.h:1558:10: performance:inconclusive: Technically the member function 'Buffer < uint8_t , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::set_min' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideBuffer.h:2031:15: performance:inconclusive: Technically the member function 'Buffer < uint8_t , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::offset_of' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideBuffer.h:2574:10: performance:inconclusive: Technically the member function 'Buffer < uint8_t , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >::msan_check_mem_is_initialized' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideBuffer.h:760:5: style: Class 'Buffer < uint8_t , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/runtime/HalideBuffer.h:784:5: style: Class 'Buffer < uint8_t , AnyDims , ( Dims == AnyDims ? 4 : std :: max ( Dims , 1 ) ) >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/runtime/HalideBuffer.h:391:18: style: Condition 'AnyDims!=AnyDims' is always false [knownConditionTrueFalse] Halide-17.0.1/src/runtime/HalideBuffer.h:685:46: style: Condition 'AnyDims==AnyDims' is always true [knownConditionTrueFalse] Halide-17.0.1/src/runtime/HalideBuffer.h:725:18: style: Condition 'AnyDims!=AnyDims' is always false [knownConditionTrueFalse] Halide-17.0.1/src/DeviceInterface.cpp:150:59: style:inconclusive: Function 'get_default_device_api_for_target' argument 1 names different: declaration 't' definition 'target'. [funcArgNamesDifferent] Halide-17.0.1/src/DeviceInterface.h:28:59: note: Function 'get_default_device_api_for_target' argument 1 names different: declaration 't' definition 'target'. Halide-17.0.1/src/DeviceInterface.cpp:150:59: note: Function 'get_default_device_api_for_target' argument 1 names different: declaration 't' definition 'target'. Halide-17.0.1/src/DeviceInterface.cpp:54:48: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/EarlyFree.cpp:21:5: style: Class 'FindLastUse' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < Stmt >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/DistributeShifts.cpp:24:5: style: Class 'DistributeShiftsAsMuls' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/EliminateBoolVectors.cpp:314:16: debug: Failed to instantiate template "visit_let". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/DistributeShifts.cpp:32:25: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/DistributeShifts.cpp:32:25: note: Shadow variable Halide-17.0.1/src/DistributeShifts.cpp:50:32: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/DistributeShifts.cpp:50:32: note: Shadow variable Halide-17.0.1/src/Elf.h:87:5: style: Class 'Symbol' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Elf.h:354:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Elf.h:359:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Elf.h:363:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Elf.cpp:270:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Elf.cpp:320:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Elf.cpp:384:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Elf.cpp:414:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Elf.cpp:306:19: style: The scope of the variable 'g' can be reduced. [variableScope] Halide-17.0.1/src/Elf.cpp:1040:95: style:inconclusive: Function 'write_shared_object' argument 2 names different: declaration 'depedencies' definition 'dependencies'. [funcArgNamesDifferent] Halide-17.0.1/src/Elf.h:537:91: note: Function 'write_shared_object' argument 2 names different: declaration 'depedencies' definition 'dependencies'. Halide-17.0.1/src/Elf.cpp:1040:95: note: Function 'write_shared_object' argument 2 names different: declaration 'depedencies' definition 'dependencies'. Halide-17.0.1/src/Elf.cpp:828:18: style: Local variable 'hash' shadows outer variable [shadowVariable] Halide-17.0.1/src/Elf.cpp:815:13: note: Shadowed declaration Halide-17.0.1/src/Elf.cpp:828:18: note: Shadow variable Halide-17.0.1/src/Elf.cpp:411:27: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/Elf.cpp:399:19: note: Shadowed declaration Halide-17.0.1/src/Elf.cpp:411:27: note: Shadow variable Halide-17.0.1/src/Elf.cpp:516:26: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Error.cpp:145:38: style:inconclusive: Function 'ErrorReport' argument 1 names different: declaration 'f' definition 'file'. [funcArgNamesDifferent] Halide-17.0.1/src/Error.h:104:29: note: Function 'ErrorReport' argument 1 names different: declaration 'f' definition 'file'. Halide-17.0.1/src/Error.cpp:145:38: note: Function 'ErrorReport' argument 1 names different: declaration 'f' definition 'file'. Halide-17.0.1/src/Error.cpp:145:48: style:inconclusive: Function 'ErrorReport' argument 2 names different: declaration 'l' definition 'line'. [funcArgNamesDifferent] Halide-17.0.1/src/Error.h:104:36: note: Function 'ErrorReport' argument 2 names different: declaration 'l' definition 'line'. Halide-17.0.1/src/Error.cpp:145:48: note: Function 'ErrorReport' argument 2 names different: declaration 'l' definition 'line'. Halide-17.0.1/src/Error.cpp:145:66: style:inconclusive: Function 'ErrorReport' argument 3 names different: declaration 'cs' definition 'condition_string'. [funcArgNamesDifferent] Halide-17.0.1/src/Error.h:104:51: note: Function 'ErrorReport' argument 3 names different: declaration 'cs' definition 'condition_string'. Halide-17.0.1/src/Error.cpp:145:66: note: Function 'ErrorReport' argument 3 names different: declaration 'cs' definition 'condition_string'. Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < Type >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < Type >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < Type >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/EmulateFloat16Math.cpp:36:30: style:inconclusive: Function 'float16_to_float32' argument 1 names different: declaration 'e' definition 'value'. [funcArgNamesDifferent] Halide-17.0.1/src/EmulateFloat16Math.h:24:30: note: Function 'float16_to_float32' argument 1 names different: declaration 'e' definition 'value'. Halide-17.0.1/src/EmulateFloat16Math.cpp:36:30: note: Function 'float16_to_float32' argument 1 names different: declaration 'e' definition 'value'. Halide-17.0.1/src/EmulateFloat16Math.cpp:66:30: style:inconclusive: Function 'float32_to_float16' argument 1 names different: declaration 'e' definition 'value'. [funcArgNamesDifferent] Halide-17.0.1/src/EmulateFloat16Math.h:23:30: note: Function 'float32_to_float16' argument 1 names different: declaration 'e' definition 'value'. Halide-17.0.1/src/EmulateFloat16Math.cpp:66:30: note: Function 'float32_to_float16' argument 1 names different: declaration 'e' definition 'value'. Halide-17.0.1/src/EmulateFloat16Math.cpp:85:10: style: Local variable 'is_inf' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1048:6: note: Shadowed declaration Halide-17.0.1/src/EmulateFloat16Math.cpp:85:10: note: Shadow variable Halide-17.0.1/src/EmulateFloat16Math.cpp:86:10: style: Local variable 'is_nan' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1042:6: note: Shadowed declaration Halide-17.0.1/src/EmulateFloat16Math.cpp:86:10: note: Shadow variable Halide-17.0.1/src/ExtractTileOperations.cpp:571:5: warning: Member variable 'ExtractTileOperations::op_type' is not initialized. [uninitMemberVarPrivate] Halide-17.0.1/src/ExtractTileOperations.cpp:456:9: style: Condition 'rhs_cast' is always true [knownConditionTrueFalse] Halide-17.0.1/src/Buffer.h:181:5: style: Class 'Buffer < uint16_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:188:5: style: Class 'Buffer < uint16_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:195:5: style: Class 'Buffer < uint16_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:181:5: style: Class 'Buffer < uint32_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:188:5: style: Class 'Buffer < uint32_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:195:5: style: Class 'Buffer < uint32_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ExtractTileOperations.cpp:90:14: style: Variable 'patterns' can be declared as const array [constVariable] Halide-17.0.1/src/FastIntegerDivide.cpp:197:34: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 196. [shiftTooManyBitsSigned] Halide-17.0.1/src/FastIntegerDivide.cpp:196:22: note: Assuming that condition 't.bits()<32' is not redundant Halide-17.0.1/src/FastIntegerDivide.cpp:197:34: note: Shift Halide-17.0.1/src/FastIntegerDivide.cpp:244:34: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 243. [shiftTooManyBitsSigned] Halide-17.0.1/src/FastIntegerDivide.cpp:243:22: note: Assuming that condition 't.bits()<32' is not redundant Halide-17.0.1/src/FastIntegerDivide.cpp:244:34: note: Shift Halide-17.0.1/src/FastIntegerDivide.cpp:284:34: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 283. [shiftTooManyBitsSigned] Halide-17.0.1/src/FastIntegerDivide.cpp:283:22: note: Assuming that condition 't.bits()<32' is not redundant Halide-17.0.1/src/FastIntegerDivide.cpp:284:34: note: Shift Halide-17.0.1/src/Float16.cpp:332:12: debug: Failed to instantiate template "reinterpret_bits". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/Float16.cpp:50:45: style:inconclusive: Boolean expression 'frac==0.5f' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] Halide-17.0.1/src/Float16.cpp:346:14: style: Variable 'bits' can be declared as const array [constVariable] Halide-17.0.1/src/runtime/HalideRuntime.h:2039:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Util.h:247:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Util.h:253:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Util.h:256:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Util.h:387:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Util.h:431:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Util.h:446:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Type.h:134:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Type.h:253:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/runtime/HalideBuffer.h:143:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Buffer.h:40:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRVisitor.h:161:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/Scope.h:272:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IROperator.h:326:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IROperator.h:332:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:140:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:145:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:235:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:301:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:354:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:640:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:751:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:1357:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:1615:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:1673:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:1739:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:1810:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:1876:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:1956:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2038:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2084:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2148:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2203:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2279:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2332:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2370:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2407:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2452:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2497:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2534:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2575:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/IRMatch.h:2618:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/FindIntrinsics.cpp:1095:9: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/runtime/HalideBuffer.h:2163:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/runtime/HalideBuffer.h:2533:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] Halide-17.0.1/src/FlattenNestedRamps.cpp:88:28: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/FlattenNestedRamps.cpp:91:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Func.cpp:883:0: debug: Function::addArguments found argument 'pair' with varid 0. [varid0] Halide-17.0.1/src/Scope.h:31:5: warning: Member variable 'SmallStack < llvm :: Value * >::_top' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Function.cpp:58:5: style: Class 'WeakenFunctionPtrs' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Function.cpp:209:5: style: Struct 'CheckVars' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Function.cpp:297:5: style: Class 'FreezeFunctions' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Function.cpp:1252:5: style: Class 'SubstituteCalls' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Function.cpp:876:49: warning: Function 'define_extern' argument order different: declaration 'function_name, args, types, dims, mangling, device_api' definition 'function_name, extern_args, types, args, mangling, device_api' [funcArgOrderDifferent] Halide-17.0.1/src/Function.h:243:43: note: Function 'define_extern' argument order different: declaration 'function_name, args, types, dims, mangling, device_api' definition 'function_name, extern_args, types, args, mangling, device_api' Halide-17.0.1/src/Function.cpp:876:49: note: Function 'define_extern' argument order different: declaration 'function_name, args, types, dims, mangling, device_api' definition 'function_name, extern_args, types, args, mangling, device_api' Halide-17.0.1/src/Function.cpp:1061:61: style:inconclusive: Function 'make_call_to_extern_definition' argument 2 names different: declaration 't' definition 'target'. [funcArgNamesDifferent] Halide-17.0.1/src/Function.h:229:55: note: Function 'make_call_to_extern_definition' argument 2 names different: declaration 't' definition 'target'. Halide-17.0.1/src/Function.cpp:1061:61: note: Function 'make_call_to_extern_definition' argument 2 names different: declaration 't' definition 'target'. Halide-17.0.1/src/Function.cpp:838:18: style: Local variable 'pure' shadows outer variable [shadowVariable] Halide-17.0.1/src/Function.cpp:730:10: note: Shadowed declaration Halide-17.0.1/src/Function.cpp:838:18: note: Shadow variable Halide-17.0.1/src/Function.cpp:906:23: style: Local variable 'values' shadows outer function [shadowFunction] Halide-17.0.1/src/Function.h:176:30: note: Shadowed declaration Halide-17.0.1/src/Function.cpp:906:23: note: Shadow variable Halide-17.0.1/src/Function.cpp:1146:11: style: Local variable 'schedule' shadows outer function [shadowFunction] Halide-17.0.1/src/Function.h:193:19: note: Shadowed declaration Halide-17.0.1/src/Function.cpp:1146:11: note: Shadow variable Halide-17.0.1/src/Function.cpp:249:20: style: Variable 'pure_arg' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Function.cpp:481:18: style: Variable 'copied_func' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Function.cpp:250:40: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Function.cpp:270:42: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Function.cpp:597:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Function.cpp:802:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Function.cpp:805:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Function.cpp:1210:23: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < llvm :: Value * >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < llvm :: Value * >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < llvm :: Value * >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < std :: string >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < std :: string >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < std :: string >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/CodeGen_LLVM.h:595:9: style: Struct 'VPArg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/CodeGen_LLVM.h:624:9: style: Struct 'VPResultType' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Func.cpp:361:9: style: Class 'Checker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Func.cpp:3056:5: style: Class 'CountImplicitVars' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Func.cpp:191:65: style:inconclusive: Function 'define_extern' argument 2 names different: declaration 'params' definition 'args'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1190:63: note: Function 'define_extern' argument 2 names different: declaration 'params' definition 'args'. Halide-17.0.1/src/Func.cpp:191:65: note: Function 'define_extern' argument 2 names different: declaration 'params' definition 'args'. Halide-17.0.1/src/Func.cpp:1433:39: style:inconclusive: Function 'purify' argument 1 names different: declaration 'old_name' definition 'old_var'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:84:36: note: Function 'purify' argument 1 names different: declaration 'old_name' definition 'old_var'. Halide-17.0.1/src/Func.cpp:1433:39: note: Function 'purify' argument 1 names different: declaration 'old_name' definition 'old_var'. Halide-17.0.1/src/Func.cpp:1433:65: style:inconclusive: Function 'purify' argument 2 names different: declaration 'new_name' definition 'new_var'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:84:63: note: Function 'purify' argument 2 names different: declaration 'new_name' definition 'new_var'. Halide-17.0.1/src/Func.cpp:1433:65: note: Function 'purify' argument 2 names different: declaration 'new_name' definition 'new_var'. Halide-17.0.1/src/Func.cpp:1568:39: style:inconclusive: Function 'rename' argument 1 names different: declaration 'old_name' definition 'old_var'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:402:36: note: Function 'rename' argument 1 names different: declaration 'old_name' definition 'old_var'. Halide-17.0.1/src/Func.cpp:1568:39: note: Function 'rename' argument 1 names different: declaration 'old_name' definition 'old_var'. Halide-17.0.1/src/Func.cpp:1568:65: style:inconclusive: Function 'rename' argument 2 names different: declaration 'new_name' definition 'new_var'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:402:63: note: Function 'rename' argument 2 names different: declaration 'new_name' definition 'new_var'. Halide-17.0.1/src/Func.cpp:1568:65: note: Function 'rename' argument 2 names different: declaration 'new_name' definition 'new_var'. Halide-17.0.1/src/Func.cpp:1692:58: style:inconclusive: Function 'parallel' argument 2 names different: declaration 'task_size' definition 'factor'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:348:55: note: Function 'parallel' argument 2 names different: declaration 'task_size' definition 'factor'. Halide-17.0.1/src/Func.cpp:1692:58: note: Function 'parallel' argument 2 names different: declaration 'task_size' definition 'factor'. Halide-17.0.1/src/Func.cpp:1731:57: style:inconclusive: Function 'partition' argument 2 names different: declaration 'partition_policy' definition 'policy'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:351:54: note: Function 'partition' argument 2 names different: declaration 'partition_policy' definition 'policy'. Halide-17.0.1/src/Func.cpp:1731:57: note: Function 'partition' argument 2 names different: declaration 'partition_policy' definition 'policy'. Halide-17.0.1/src/Func.cpp:1914:44: style:inconclusive: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:406:41: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1914:44: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1920:44: style:inconclusive: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:407:41: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1920:44: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1920:65: style:inconclusive: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:407:68: note: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:1920:65: note: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:1928:44: style:inconclusive: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:408:41: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1928:44: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1928:65: style:inconclusive: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:408:68: note: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:1928:65: note: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:1928:86: style:inconclusive: Function 'gpu_threads' argument 3 names different: declaration 'thread_z' definition 'tz'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:408:95: note: Function 'gpu_threads' argument 3 names different: declaration 'thread_z' definition 'tz'. Halide-17.0.1/src/Func.cpp:1928:86: note: Function 'gpu_threads' argument 3 names different: declaration 'thread_z' definition 'tz'. Halide-17.0.1/src/Func.cpp:1938:42: style:inconclusive: Function 'gpu_lanes' argument 1 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:410:39: note: Function 'gpu_lanes' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1938:42: note: Function 'gpu_lanes' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1944:43: style:inconclusive: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:414:40: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1944:43: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1950:43: style:inconclusive: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:415:40: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1950:43: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1950:64: style:inconclusive: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:415:66: note: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:1950:64: note: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:1958:43: style:inconclusive: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:416:40: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1958:43: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1958:64: style:inconclusive: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:416:66: note: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:1958:64: note: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:1958:85: style:inconclusive: Function 'gpu_blocks' argument 3 names different: declaration 'block_z' definition 'bz'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:416:92: note: Function 'gpu_blocks' argument 3 names different: declaration 'block_z' definition 'bz'. Halide-17.0.1/src/Func.cpp:1958:85: note: Function 'gpu_blocks' argument 3 names different: declaration 'block_z' definition 'bz'. Halide-17.0.1/src/Func.cpp:1977:36: style:inconclusive: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:418:33: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1977:36: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1977:57: style:inconclusive: Function 'gpu' argument 2 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:418:59: note: Function 'gpu' argument 2 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1977:57: note: Function 'gpu' argument 2 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1981:36: style:inconclusive: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:419:33: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1981:36: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1981:57: style:inconclusive: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:419:59: note: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:1981:57: note: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:1982:36: style:inconclusive: Function 'gpu' argument 3 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:420:33: note: Function 'gpu' argument 3 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1982:36: note: Function 'gpu' argument 3 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1982:57: style:inconclusive: Function 'gpu' argument 4 names different: declaration 'thread_y' definition 'ty'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:420:60: note: Function 'gpu' argument 4 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:1982:57: note: Function 'gpu' argument 4 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:1986:36: style:inconclusive: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:422:33: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1986:36: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:1986:57: style:inconclusive: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:422:59: note: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:1986:57: note: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:1986:78: style:inconclusive: Function 'gpu' argument 3 names different: declaration 'block_z' definition 'bz'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:422:85: note: Function 'gpu' argument 3 names different: declaration 'block_z' definition 'bz'. Halide-17.0.1/src/Func.cpp:1986:78: note: Function 'gpu' argument 3 names different: declaration 'block_z' definition 'bz'. Halide-17.0.1/src/Func.cpp:1987:36: style:inconclusive: Function 'gpu' argument 4 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:423:33: note: Function 'gpu' argument 4 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1987:36: note: Function 'gpu' argument 4 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:1987:57: style:inconclusive: Function 'gpu' argument 5 names different: declaration 'thread_y' definition 'ty'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:423:60: note: Function 'gpu' argument 5 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:1987:57: note: Function 'gpu' argument 5 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:1987:78: style:inconclusive: Function 'gpu' argument 6 names different: declaration 'thread_z' definition 'tz'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:423:87: note: Function 'gpu' argument 6 names different: declaration 'thread_z' definition 'tz'. Halide-17.0.1/src/Func.cpp:1987:78: note: Function 'gpu' argument 6 names different: declaration 'thread_z' definition 'tz'. Halide-17.0.1/src/Func.cpp:2409:33: style:inconclusive: Function 'store_in' argument 1 names different: declaration 'memory_type' definition 't'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:2524:31: note: Function 'store_in' argument 1 names different: declaration 'memory_type' definition 't'. Halide-17.0.1/src/Func.cpp:2409:33: note: Function 'store_in' argument 1 names different: declaration 'memory_type' definition 't'. Halide-17.0.1/src/Func.cpp:2421:36: style:inconclusive: Function 'specialize' argument 1 names different: declaration 'condition' definition 'c'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1830:34: note: Function 'specialize' argument 1 names different: declaration 'condition' definition 'c'. Halide-17.0.1/src/Func.cpp:2421:36: note: Function 'specialize' argument 1 names different: declaration 'condition' definition 'c'. Halide-17.0.1/src/Func.cpp:2455:56: style:inconclusive: Function 'parallel' argument 2 names different: declaration 'task_size' definition 'factor'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1436:54: note: Function 'parallel' argument 2 names different: declaration 'task_size' definition 'factor'. Halide-17.0.1/src/Func.cpp:2455:56: note: Function 'parallel' argument 2 names different: declaration 'task_size' definition 'factor'. Halide-17.0.1/src/Func.cpp:2473:55: style:inconclusive: Function 'partition' argument 2 names different: declaration 'partition_policy' definition 'policy'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1470:53: note: Function 'partition' argument 2 names different: declaration 'partition_policy' definition 'policy'. Halide-17.0.1/src/Func.cpp:2473:55: note: Function 'partition' argument 2 names different: declaration 'partition_policy' definition 'policy'. Halide-17.0.1/src/Func.cpp:2682:42: style:inconclusive: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1881:40: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2682:42: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2688:42: style:inconclusive: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1882:40: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2688:42: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2688:63: style:inconclusive: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1882:67: note: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:2688:63: note: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:2694:42: style:inconclusive: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1883:40: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2694:42: note: Function 'gpu_threads' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2694:63: style:inconclusive: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1883:67: note: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:2694:63: note: Function 'gpu_threads' argument 2 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:2694:84: style:inconclusive: Function 'gpu_threads' argument 3 names different: declaration 'thread_z' definition 'tz'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1883:94: note: Function 'gpu_threads' argument 3 names different: declaration 'thread_z' definition 'tz'. Halide-17.0.1/src/Func.cpp:2694:84: note: Function 'gpu_threads' argument 3 names different: declaration 'thread_z' definition 'tz'. Halide-17.0.1/src/Func.cpp:2700:40: style:inconclusive: Function 'gpu_lanes' argument 1 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1891:38: note: Function 'gpu_lanes' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2700:40: note: Function 'gpu_lanes' argument 1 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2706:41: style:inconclusive: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1904:39: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2706:41: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2712:41: style:inconclusive: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1905:39: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2712:41: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2712:62: style:inconclusive: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1905:65: note: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:2712:62: note: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:2718:41: style:inconclusive: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1906:39: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2718:41: note: Function 'gpu_blocks' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2718:62: style:inconclusive: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1906:65: note: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:2718:62: note: Function 'gpu_blocks' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:2718:83: style:inconclusive: Function 'gpu_blocks' argument 3 names different: declaration 'block_z' definition 'bz'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1906:91: note: Function 'gpu_blocks' argument 3 names different: declaration 'block_z' definition 'bz'. Halide-17.0.1/src/Func.cpp:2718:83: note: Function 'gpu_blocks' argument 3 names different: declaration 'block_z' definition 'bz'. Halide-17.0.1/src/Func.cpp:2730:34: style:inconclusive: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1915:32: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2730:34: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2730:55: style:inconclusive: Function 'gpu' argument 2 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1915:58: note: Function 'gpu' argument 2 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2730:55: note: Function 'gpu' argument 2 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2736:34: style:inconclusive: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1916:32: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2736:34: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2736:55: style:inconclusive: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1916:58: note: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:2736:55: note: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:2736:76: style:inconclusive: Function 'gpu' argument 3 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1917:32: note: Function 'gpu' argument 3 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2736:76: note: Function 'gpu' argument 3 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2736:97: style:inconclusive: Function 'gpu' argument 4 names different: declaration 'thread_y' definition 'ty'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1917:59: note: Function 'gpu' argument 4 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:2736:97: note: Function 'gpu' argument 4 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:2742:34: style:inconclusive: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1918:32: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2742:34: note: Function 'gpu' argument 1 names different: declaration 'block_x' definition 'bx'. Halide-17.0.1/src/Func.cpp:2742:55: style:inconclusive: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1918:58: note: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:2742:55: note: Function 'gpu' argument 2 names different: declaration 'block_y' definition 'by'. Halide-17.0.1/src/Func.cpp:2742:76: style:inconclusive: Function 'gpu' argument 3 names different: declaration 'block_z' definition 'bz'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1918:84: note: Function 'gpu' argument 3 names different: declaration 'block_z' definition 'bz'. Halide-17.0.1/src/Func.cpp:2742:76: note: Function 'gpu' argument 3 names different: declaration 'block_z' definition 'bz'. Halide-17.0.1/src/Func.cpp:2742:97: style:inconclusive: Function 'gpu' argument 4 names different: declaration 'thread_x' definition 'tx'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1919:32: note: Function 'gpu' argument 4 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2742:97: note: Function 'gpu' argument 4 names different: declaration 'thread_x' definition 'tx'. Halide-17.0.1/src/Func.cpp:2742:118: style:inconclusive: Function 'gpu' argument 5 names different: declaration 'thread_y' definition 'ty'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1919:59: note: Function 'gpu' argument 5 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:2742:118: note: Function 'gpu' argument 5 names different: declaration 'thread_y' definition 'ty'. Halide-17.0.1/src/Func.cpp:2742:139: style:inconclusive: Function 'gpu' argument 6 names different: declaration 'thread_z' definition 'tz'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:1919:86: note: Function 'gpu' argument 6 names different: declaration 'thread_z' definition 'tz'. Halide-17.0.1/src/Func.cpp:2742:139: note: Function 'gpu' argument 6 names different: declaration 'thread_z' definition 'tz'. Halide-17.0.1/src/Func.cpp:2905:54: style:inconclusive: Function 'fold_storage' argument 2 names different: declaration 'extent' definition 'factor'. [funcArgNamesDifferent] Halide-17.0.1/src/Func.h:2124:52: note: Function 'fold_storage' argument 2 names different: declaration 'extent' definition 'factor'. Halide-17.0.1/src/Func.cpp:2905:54: note: Function 'fold_storage' argument 2 names different: declaration 'extent' definition 'factor'. Halide-17.0.1/src/Func.cpp:201:17: style: Local variable 'types' shadows outer function [shadowFunction] Halide-17.0.1/src/Func.h:1208:30: note: Shadowed declaration Halide-17.0.1/src/Func.cpp:201:17: note: Shadow variable Halide-17.0.1/src/Func.cpp:1369:11: style: Local variable 'split' shadows outer function [shadowFunction] Halide-17.0.1/src/Func.h:81:10: note: Shadowed declaration Halide-17.0.1/src/Func.cpp:1369:11: note: Shadow variable Halide-17.0.1/src/Func.cpp:1468:11: style: Local variable 'split' shadows outer function [shadowFunction] Halide-17.0.1/src/Func.h:81:10: note: Shadowed declaration Halide-17.0.1/src/Func.cpp:1468:11: note: Shadow variable Halide-17.0.1/src/Func.cpp:1652:15: style: Local variable 'split' shadows outer function [shadowFunction] Halide-17.0.1/src/Func.h:81:10: note: Shadowed declaration Halide-17.0.1/src/Func.cpp:1652:15: note: Shadow variable Halide-17.0.1/src/Func.cpp:1112:16: style: Variable 'dim' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Func.cpp:94:14: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Func.cpp:1407:57: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Func.cpp:2876:48: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Func.cpp:2893:48: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Func.cpp:2910:48: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1185:16: debug: Failed to instantiate template "visit_let". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/Func.cpp:259:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/Func.cpp:270:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/Func.cpp:292:9: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/Func.cpp:303:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/Func.cpp:3127:17: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:109:28: error: Array 'block_extent[4]' accessed at index 4, which is out of bounds. [arrayIndexOutOfBounds] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:196:13: note: After for loop, dim has value 4 Halide-17.0.1/src/FuseGPUThreadLoops.cpp:209:58: note: Calling function 'num_threads', 1st argument 'dim' value is 4 Halide-17.0.1/src/FuseGPUThreadLoops.cpp:109:28: note: Array index out of bounds Halide-17.0.1/src/FuseGPUThreadLoops.cpp:251:9: warning: Member variable 'AllocGroup::memory_type' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1360:5: warning: Member variable 'InjectThreadBarriers::injected_barrier' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Bounds.cpp:1897:50: error: Invalid select() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/src/Bounds.cpp:1919:50: error: Invalid select() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:120:10: performance:inconclusive: Technically the member function 'Halide::Internal::::ExtractBlockSize::thread_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:602:9: style:inconclusive: Technically the member function 'Halide::Internal::::ExtractSharedAndHeapAllocations::find_best_fit' can be const. [functionConst] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:726:10: performance:inconclusive: Technically the member function 'Halide::Internal::::ExtractSharedAndHeapAllocations::get_block_id' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1225:16: style:inconclusive: Technically the member function 'Halide::Internal::::InjectThreadBarriers::memory_type_for_name' can be const. [functionConst] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1241:10: performance:inconclusive: Technically the member function 'Halide::Internal::::InjectThreadBarriers::make_barrier' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:221:5: style: Class 'ReplaceForWithIf' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1033:5: style: Class 'ExtractSharedAndHeapAllocations' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:252:9: style: Struct 'AllocGroup' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Bounds.cpp:2303:9: warning: Member variable 'VarInstance::instance' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1168:14: style: Redundant initialization for 'body'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1166:25: note: body is initialized Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1168:14: note: body is overwritten Halide-17.0.1/src/FuseGPUThreadLoops.cpp:918:25: style: Local variable 'ratio' shadows outer variable [shadowVariable] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:830:17: note: Shadowed declaration Halide-17.0.1/src/FuseGPUThreadLoops.cpp:918:25: note: Shadow variable Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1020:20: style: Variable 'alloc' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:516:41: style: Parameter 'alloc' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:84:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:806:34: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1227:33: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1232:33: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Bounds.cpp:600:10: performance:inconclusive: Technically the member function 'Halide::Internal::::Bounds::div_cannot_overflow' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Bounds.cpp:935:10: performance:inconclusive: Technically the member function 'Halide::Internal::::Bounds::make_and' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Bounds.cpp:970:10: performance:inconclusive: Technically the member function 'Halide::Internal::::Bounds::make_or' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Bounds.cpp:1005:10: performance:inconclusive: Technically the member function 'Halide::Internal::::Bounds::make_not' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Bounds.cpp:2474:10: performance:inconclusive: Technically the member function 'Halide::Internal::::BoxesTouched::is_small_enough_to_substitute' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Bounds.cpp:2498:17: style:inconclusive: Technically the member function 'Halide::Internal::::BoxesTouched::get_var_instance' can be const. [functionConst] Halide-17.0.1/src/Bounds.cpp:2048:5: style: Class 'FindInnermostVar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Bounds.cpp:2144:5: style: Class 'CollectVars' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Bounds.cpp:2520:13: style: Struct 'Frame' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Bounds.cpp:2807:13: style: Class 'FindFreeVars' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Bounds.cpp:3175:13: style: Class 'Filter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:128:5: style: Class 'Param < int16_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:136:5: style: Class 'Param < int16_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:128:5: style: Class 'Param < uint16_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:136:5: style: Class 'Param < uint16_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:128:5: style: Class 'Param < uint8_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:136:5: style: Class 'Param < uint8_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:128:5: style: Class 'Param < int8_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:136:5: style: Class 'Param < int8_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:128:5: style: Class 'Param < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Param.h:136:5: style: Class 'Param < int32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:181:5: style: Class 'Buffer < int32_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:188:5: style: Class 'Buffer < int32_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:195:5: style: Class 'Buffer < int32_t , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Bounds.cpp:538:33: warning: Logical conjunction always evaluates to false: a.is_single_point() && !(b.is_single_point()). [incorrectLogicOperator] Halide-17.0.1/src/Bounds.cpp:535:22: note: 'b' is assigned value 'interval' here. Halide-17.0.1/src/Bounds.cpp:532:22: note: 'a' is assigned value 'interval' here. Halide-17.0.1/src/Bounds.cpp:538:33: note: Logical conjunction always evaluates to false: a.is_single_point() && !(b.is_single_point()). Halide-17.0.1/src/Bounds.cpp:684:67: style: Condition 'max_sign==0' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Bounds.cpp:3164:21: style: Condition '!relevant' is always true [knownConditionTrueFalse] Halide-17.0.1/src/Bounds.cpp:3162:28: note: Assignment 'relevant=false', assigned value is 0 Halide-17.0.1/src/Bounds.cpp:3164:21: note: Condition '!relevant' is always true Halide-17.0.1/src/Bounds.cpp:538:33: style: Opposite expression on both sides of '&&'. [oppositeExpression] Halide-17.0.1/src/Bounds.cpp:535:22: note: 'b' is assigned value 'interval' here. Halide-17.0.1/src/Bounds.cpp:532:22: note: 'a' is assigned value 'interval' here. Halide-17.0.1/src/Bounds.cpp:538:33: note: Opposite expression on both sides of '&&'. Halide-17.0.1/src/Bounds.cpp:3727:41: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] Halide-17.0.1/src/HexagonOptimize.cpp:1973:16: debug: Failed to instantiate template "visit_let". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/Bounds.cpp:2010:30: style:inconclusive: Function 'box_contains' argument 1 names different: declaration 'a' definition 'outer'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:106:30: note: Function 'box_contains' argument 1 names different: declaration 'a' definition 'outer'. Halide-17.0.1/src/Bounds.cpp:2010:30: note: Function 'box_contains' argument 1 names different: declaration 'a' definition 'outer'. Halide-17.0.1/src/Bounds.cpp:2010:48: style:inconclusive: Function 'box_contains' argument 2 names different: declaration 'b' definition 'inner'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:106:44: note: Function 'box_contains' argument 2 names different: declaration 'b' definition 'inner'. Halide-17.0.1/src/Bounds.cpp:2010:48: note: Function 'box_contains' argument 2 names different: declaration 'b' definition 'inner'. Halide-17.0.1/src/Bounds.cpp:3275:101: style:inconclusive: Function 'boxes_required' argument 3 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:117:66: note: Function 'boxes_required' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3275:101: note: Function 'boxes_required' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3279:104: style:inconclusive: Function 'box_required' argument 4 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:151:41: note: Function 'box_required' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3279:104: note: Function 'box_required' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3283:94: style:inconclusive: Function 'boxes_required' argument 3 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:120:66: note: Function 'boxes_required' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3283:94: note: Function 'boxes_required' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3287:97: style:inconclusive: Function 'box_required' argument 4 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:154:41: note: Function 'box_required' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3287:97: note: Function 'box_required' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3291:101: style:inconclusive: Function 'boxes_provided' argument 3 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:129:66: note: Function 'boxes_provided' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3291:101: note: Function 'boxes_provided' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3295:104: style:inconclusive: Function 'box_provided' argument 4 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:158:41: note: Function 'box_provided' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3295:104: note: Function 'box_provided' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3299:94: style:inconclusive: Function 'boxes_provided' argument 3 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:132:66: note: Function 'boxes_provided' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3299:94: note: Function 'boxes_provided' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3303:97: style:inconclusive: Function 'box_provided' argument 4 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:161:41: note: Function 'box_provided' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3303:97: note: Function 'box_provided' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3307:100: style:inconclusive: Function 'boxes_touched' argument 3 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:141:65: note: Function 'boxes_touched' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3307:100: note: Function 'boxes_touched' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3311:103: style:inconclusive: Function 'box_touched' argument 4 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:165:40: note: Function 'box_touched' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3311:103: note: Function 'box_touched' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3315:93: style:inconclusive: Function 'boxes_touched' argument 3 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:144:65: note: Function 'boxes_touched' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3315:93: note: Function 'boxes_touched' argument 3 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3319:96: style:inconclusive: Function 'box_touched' argument 4 names different: declaration 'func_bounds' definition 'fb'. [funcArgNamesDifferent] Halide-17.0.1/src/Bounds.h:168:40: note: Function 'box_touched' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/Bounds.cpp:3319:96: note: Function 'box_touched' argument 4 names different: declaration 'func_bounds' definition 'fb'. Halide-17.0.1/src/HexagonOptimize.cpp:1613:16: debug: Failed to instantiate template "visit_let". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/Bounds.cpp:71:10: style: Local variable 'narrow' shadows outer function [shadowFunction] Halide-17.0.1/src/Bounds.cpp:65:6: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:71:10: note: Shadow variable Halide-17.0.1/src/HexagonOptimize.cpp:1031:16: debug: Failed to instantiate template "visit_let". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/Bounds.cpp:1214:33: style: Local variable 'interval' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:150:14: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:1214:33: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:1529:25: style: Local variable 't' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:1193:14: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:1529:25: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:1530:18: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:1530:18: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:1531:18: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:1531:18: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:1862:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:1862:14: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:2380:27: style: Local variable 'func' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:2316:12: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:2380:27: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:2601:33: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:2599:47: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:2601:33: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:2753:29: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:2751:43: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:2753:29: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3808:25: style: Local variable 'scope' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3618:21: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3808:25: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3809:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:9: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3809:14: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3810:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:17: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3810:14: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3820:24: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:9: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3820:24: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3821:25: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:17: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3821:25: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3828:25: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:9: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3828:25: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3828:33: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:17: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3828:33: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3831:25: style: Local variable 'scope' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3618:21: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3831:25: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3838:25: style: Local variable 'scope' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3618:21: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3838:25: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3844:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:9: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3844:13: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3844:21: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:17: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3844:21: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3890:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:9: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3890:14: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3891:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:17: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3891:14: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3902:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:9: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3902:13: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3905:25: style: Local variable 'scope' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3618:21: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3905:25: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3907:18: style: Local variable 'in' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3855:21: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3907:18: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3913:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3619:9: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3913:13: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3916:25: style: Local variable 'scope' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3618:21: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3916:25: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:3918:18: style: Local variable 'in' shadows outer variable [shadowVariable] Halide-17.0.1/src/Bounds.cpp:3855:21: note: Shadowed declaration Halide-17.0.1/src/Bounds.cpp:3918:18: note: Shadow variable Halide-17.0.1/src/Bounds.cpp:2967:43: style: Variable 'i' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Bounds.cpp:51:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/IR.cpp:996:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1000:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1004:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1008:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1012:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1016:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1020:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1024:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1028:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1032:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1036:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1040:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1044:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1048:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1052:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1056:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1060:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1064:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1068:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1072:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1076:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1080:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1084:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1088:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1092:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1096:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1100:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1104:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1108:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1112:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1116:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1120:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1124:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1128:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1132:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1136:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1140:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1144:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1148:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1152:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1156:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1160:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1164:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1168:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1172:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1176:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1180:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1184:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1189:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1193:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1197:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1201:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1205:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1209:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1213:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1217:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1221:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1225:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1229:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1233:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1237:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1241:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1245:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1249:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1253:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1257:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1261:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1265:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1269:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1273:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1277:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1281:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1285:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1289:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1293:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1297:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1301:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1305:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1309:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1314:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1318:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1322:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1326:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1330:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1334:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1338:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1342:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1346:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1350:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1354:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1358:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1362:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1366:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1370:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1374:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:1378:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IR.cpp:889:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/IR.cpp:971:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/IR.cpp:982:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:196:5: warning: Member variable 'Pattern::flags' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/IREquality.cpp:38:5: style: Class 'IRComparer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/HexagonOptimize.cpp:2032:10: performance:inconclusive: Technically the member function 'Halide::Internal::::ScatterGatherGenerator::is_scatter_acc' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < BufferState >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < BufferState >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < BufferState >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/HexagonOptimize.cpp:1053:5: style: Class 'OptimizePatterns' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/HexagonOptimize.cpp:1895:5: style: Class 'EliminateInterleaves' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/HexagonOptimize.cpp:383:25: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/HexagonOptimize.cpp:383:25: note: Shadow variable Halide-17.0.1/src/HexagonOptimize.cpp:815:18: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/HexagonOptimize.cpp:815:18: note: Shadow variable Halide-17.0.1/src/HexagonOptimize.cpp:2089:14: style: Local variable 'scatter' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1554:6: note: Shadowed declaration Halide-17.0.1/src/HexagonOptimize.cpp:2089:14: note: Shadow variable Halide-17.0.1/src/HexagonOptimize.cpp:239:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:309:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:749:91: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:826:57: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:867:38: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:983:55: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:1672:13: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:1731:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:1743:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:1920:47: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:1923:31: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:2019:18: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:2077:18: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/HexagonOptimize.cpp:1837:13: warning: Conversion of string literal "Buffer not found in scope" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/HexagonOptimize.cpp:1871:17: warning: Conversion of string literal "Buffer not found in scope" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/Generator.cpp:140:9: performance: Variable 'namespaces' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] Halide-17.0.1/src/Generator.h:1450:10: style:inconclusive: Technically the member function 'Halide::Internal::GIOBase::set_type' can be const. [functionConst] Halide-17.0.1/src/Generator.cpp:1718:15: note: Technically the member function 'Halide::Internal::GIOBase::set_type' can be const. Halide-17.0.1/src/Generator.h:1450:10: note: Technically the member function 'Halide::Internal::GIOBase::set_type' can be const. Halide-17.0.1/src/Generator.h:1451:10: style:inconclusive: Technically the member function 'Halide::Internal::GIOBase::set_dimensions' can be const. [functionConst] Halide-17.0.1/src/Generator.cpp:1724:15: note: Technically the member function 'Halide::Internal::GIOBase::set_dimensions' can be const. Halide-17.0.1/src/Generator.h:1451:10: note: Technically the member function 'Halide::Internal::GIOBase::set_dimensions' can be const. Halide-17.0.1/src/Generator.h:1452:10: style:inconclusive: Technically the member function 'Halide::Internal::GIOBase::set_array_size' can be const. [functionConst] Halide-17.0.1/src/Generator.cpp:1730:15: note: Technically the member function 'Halide::Internal::GIOBase::set_array_size' can be const. Halide-17.0.1/src/Generator.h:1452:10: note: Technically the member function 'Halide::Internal::GIOBase::set_array_size' can be const. Halide-17.0.1/src/Generator.h:3429:10: performance:inconclusive: Technically the member function 'Halide::Internal::GeneratorBase::post_configure' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Generator.cpp:1428:21: note: Technically the member function 'Halide::Internal::GeneratorBase::post_configure' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Generator.h:3429:10: note: Technically the member function 'Halide::Internal::GeneratorBase::post_configure' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Generator.h:3431:10: performance:inconclusive: Technically the member function 'Halide::Internal::GeneratorBase::post_generate' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Generator.cpp:1445:21: note: Technically the member function 'Halide::Internal::GeneratorBase::post_generate' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Generator.h:3431:10: note: Technically the member function 'Halide::Internal::GeneratorBase::post_generate' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Generator.h:3433:10: performance:inconclusive: Technically the member function 'Halide::Internal::GeneratorBase::post_schedule' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Generator.cpp:1452:21: note: Technically the member function 'Halide::Internal::GeneratorBase::post_schedule' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Generator.h:3433:10: note: Technically the member function 'Halide::Internal::GeneratorBase::post_schedule' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Generator.cpp:164:49: performance:inconclusive: Technically the member function 'Halide::Internal::StubEmitter::select_generator_params' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Generator.h:2466:10: warning: The class 'GeneratorOutputImpl' defines member function with name 'resize' also defined in its parent class 'GeneratorOutputBase'. [duplInheritedMember] Halide-17.0.1/src/Generator.cpp:2027:27: note: Parent function 'GeneratorOutputBase::resize' Halide-17.0.1/src/Generator.h:2466:10: note: Derived function 'GeneratorOutputImpl::resize' Halide-17.0.1/src/Buffer.h:181:5: style: Class 'Buffer < uint8_t , 3 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:188:5: style: Class 'Buffer < uint8_t , 3 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:195:5: style: Class 'Buffer < uint8_t , 3 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Generator.cpp:498:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] Halide-17.0.1/src/Generator.cpp:500:11: note: Found duplicate branches for 'if' and 'else'. Halide-17.0.1/src/Generator.cpp:498:9: note: Found duplicate branches for 'if' and 'else'. Halide-17.0.1/src/Generator.cpp:22:50: style:inconclusive: Function 'GeneratorContext' argument 1 names different: declaration 't' definition 'target'. [funcArgNamesDifferent] Halide-17.0.1/src/Generator.h:3012:45: note: Function 'GeneratorContext' argument 1 names different: declaration 't' definition 'target'. Halide-17.0.1/src/Generator.cpp:22:50: note: Function 'GeneratorContext' argument 1 names different: declaration 't' definition 'target'. Halide-17.0.1/src/Generator.cpp:27:50: style:inconclusive: Function 'GeneratorContext' argument 1 names different: declaration 't' definition 'target'. [funcArgNamesDifferent] Halide-17.0.1/src/Generator.h:3013:45: note: Function 'GeneratorContext' argument 1 names different: declaration 't' definition 'target'. Halide-17.0.1/src/Generator.cpp:27:50: note: Function 'GeneratorContext' argument 1 names different: declaration 't' definition 'target'. Halide-17.0.1/src/Generator.cpp:979:52: style:inconclusive: Function 'execute_generator' argument 1 names different: declaration 'args' definition 'args_in'. [funcArgNamesDifferent] Halide-17.0.1/src/Generator.h:3966:52: note: Function 'execute_generator' argument 1 names different: declaration 'args' definition 'args_in'. Halide-17.0.1/src/Generator.cpp:979:52: note: Function 'execute_generator' argument 1 names different: declaration 'args' definition 'args_in'. Halide-17.0.1/src/Generator.cpp:1535:88: style:inconclusive: Function 'set_generatorparam_value' argument 2 names different: declaration 'loop_level' definition 'value'. [funcArgNamesDifferent] Halide-17.0.1/src/Generator.h:3690:77: note: Function 'set_generatorparam_value' argument 2 names different: declaration 'loop_level' definition 'value'. Halide-17.0.1/src/Generator.cpp:1535:88: note: Function 'set_generatorparam_value' argument 2 names different: declaration 'loop_level' definition 'value'. Halide-17.0.1/src/Generator.cpp:1593:65: style:inconclusive: Function 'output_func' argument 1 names different: declaration 'name' definition 'n'. [funcArgNamesDifferent] Halide-17.0.1/src/Generator.h:3693:54: note: Function 'output_func' argument 1 names different: declaration 'name' definition 'n'. Halide-17.0.1/src/Generator.cpp:1593:65: note: Function 'output_func' argument 1 names different: declaration 'name' definition 'n'. Halide-17.0.1/src/Generator.cpp:1583:20: style: Local variable 'name' shadows outer argument [shadowArgument] Halide-17.0.1/src/Generator.cpp:1566:74: note: Shadowed declaration Halide-17.0.1/src/Generator.cpp:1583:20: note: Shadow variable Halide-17.0.1/src/Generator.cpp:1332:16: style: Variable 'g' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Generator.cpp:1378:25: style: Variable 'pi' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Generator.cpp:1522:25: style: Variable 'pi' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Generator.cpp:1536:25: style: Variable 'pi' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Generator.cpp:1904:15: style: Variable 'p' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Generator.cpp:1501:75: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/Generator.cpp:1506:72: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/Generator.cpp:1511:68: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/Generator.cpp:1595:11: style: Variable 'output' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/Generator.cpp:771:21: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Generator.cpp:1236:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Generator.cpp:833:33: warning: Either the condition 'it==output_name_to_enum.end()' is redundant or there is possible dereference of an invalid iterator: it. [derefInvalidIteratorRedundantCheck] Halide-17.0.1/src/Generator.cpp:818:20: note: Assuming that condition 'it==output_name_to_enum.end()' is not redundant Halide-17.0.1/src/Generator.cpp:833:33: note: Dereference of an invalid iterator Halide-17.0.1/src/IRMutator.cpp:8:36: style:inconclusive: Function 'mutate' argument 1 names different: declaration 'expr' definition 'e'. [funcArgNamesDifferent] Halide-17.0.1/src/IRMutator.h:35:37: note: Function 'mutate' argument 1 names different: declaration 'expr' definition 'e'. Halide-17.0.1/src/IRMutator.cpp:8:36: note: Function 'mutate' argument 1 names different: declaration 'expr' definition 'e'. Halide-17.0.1/src/IRMutator.cpp:12:36: style:inconclusive: Function 'mutate' argument 1 names different: declaration 'stmt' definition 's'. [funcArgNamesDifferent] Halide-17.0.1/src/IRMutator.h:36:37: note: Function 'mutate' argument 1 names different: declaration 'stmt' definition 's'. Halide-17.0.1/src/IRMutator.cpp:12:36: note: Function 'mutate' argument 1 names different: declaration 'stmt' definition 's'. Halide-17.0.1/src/Generator.cpp:2248:12: style: Variable 't' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/IRMatch.cpp:72:10: performance:inconclusive: Technically the member function 'Halide::Internal::::IRMatch::types_match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.cpp:398:5: style: Class 'WithLanes' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/IRMatch.cpp:443:18: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:445:18: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:447:18: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:449:18: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:454:24: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:459:24: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:461:18: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:493:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:495:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:496:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:497:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:499:19: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:500:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:502:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:503:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:505:31: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:507:19: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:508:19: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:509:19: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:510:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:512:19: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:513:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:514:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:516:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:517:32: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:524:19: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:525:25: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:418:28: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IRMatch.cpp:419:28: style: C-style reference casting [cstyleCast] Halide-17.0.1/src/IROperator.cpp:2649:1: error: syntax error [syntaxError] Halide-17.0.1/src/IRPrinter.cpp:63:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/IRPrinter.cpp:21:30: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/Debug.h:18:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:21:30: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:88:30: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/IRPrinter.h:38:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:88:30: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:127:40: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/IRPrinter.h:41:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:127:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:160:40: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/IRPrinter.h:44:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:160:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:193:40: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/IRPrinter.h:47:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:193:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:295:30: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/IRPrinter.h:76:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:295:30: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:325:30: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/IRPrinter.h:79:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:325:30: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:352:30: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/IRPrinter.h:82:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:352:30: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:416:40: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. [funcArgNamesDifferent] Halide-17.0.1/src/IRPrinter.h:91:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/IRPrinter.cpp:416:40: note: Function 'operator<<' argument 1 names different: declaration 'stream' definition 'out'. Halide-17.0.1/src/InferArguments.cpp:151:10: style: Unused private function: 'InferArguments::visit_exprs' [unusedPrivateFunction] Halide-17.0.1/src/InferArguments.cpp:50:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/InferArguments.cpp:277:30: style: Variable 'infer_args' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/ImageParam.cpp:41:38: style:inconclusive: Function 'set' argument 1 names different: declaration 'im' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/src/ImageParam.h:49:30: note: Function 'set' argument 1 names different: declaration 'im' definition 'b'. Halide-17.0.1/src/ImageParam.cpp:41:38: note: Function 'set' argument 1 names different: declaration 'im' definition 'b'. Halide-17.0.1/src/InjectHostDevBufferCopies.cpp:183:10: style:inconclusive: Technically the member function 'Halide::Internal::::InjectBufferCopiesForSingleBuffer::buffer_var' can be const. [functionConst] Halide-17.0.1/src/InjectHostDevBufferCopies.cpp:446:5: style: Class 'FindLastUse' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/InjectHostDevBufferCopies.cpp:533:9: style: Class 'InjectDeviceDestructor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/InjectHostDevBufferCopies.cpp:807:5: style: Class 'InjectBufferCopiesForInputsAndOutputs' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/InjectHostDevBufferCopies.cpp:799:26: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Inline.cpp:172:5: style: Class 'Inliner' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Inline.cpp:137:20: style: The scope of the variable 'buf_name' can be reduced. [variableScope] Halide-17.0.1/src/Introspection.cpp:2390:35: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/Introspection.cpp:2391:35: style: Parameter 'test_a' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/Introspection.cpp:2392:35: style: Parameter 'calib' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/InlineReductions.cpp:111:37: style:inconclusive: Function 'sum' argument 2 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:40:35: note: Function 'sum' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:111:37: note: Function 'sum' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:119:52: style:inconclusive: Function 'sum' argument 3 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:57:49: note: Function 'sum' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:119:52: note: Function 'sum' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:137:48: style:inconclusive: Function 'saturating_sum' argument 2 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:41:46: note: Function 'saturating_sum' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:137:48: note: Function 'saturating_sum' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:145:63: style:inconclusive: Function 'saturating_sum' argument 3 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:58:63: note: Function 'saturating_sum' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:145:63: note: Function 'saturating_sum' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:164:41: style:inconclusive: Function 'product' argument 2 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:42:39: note: Function 'product' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:164:41: note: Function 'product' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:172:56: style:inconclusive: Function 'product' argument 3 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:59:53: note: Function 'product' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:172:56: note: Function 'product' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:190:41: style:inconclusive: Function 'maximum' argument 2 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:43:39: note: Function 'maximum' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:190:41: note: Function 'maximum' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:198:56: style:inconclusive: Function 'maximum' argument 3 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:60:53: note: Function 'maximum' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:198:56: note: Function 'maximum' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:217:41: style:inconclusive: Function 'minimum' argument 2 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:44:39: note: Function 'minimum' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:217:41: note: Function 'minimum' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:225:56: style:inconclusive: Function 'minimum' argument 3 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:61:53: note: Function 'minimum' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:225:56: note: Function 'minimum' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:244:41: style:inconclusive: Function 'argmax' argument 2 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:69:39: note: Function 'argmax' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:244:41: note: Function 'argmax' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:252:56: style:inconclusive: Function 'argmax' argument 3 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:71:53: note: Function 'argmax' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:252:56: note: Function 'argmax' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:283:41: style:inconclusive: Function 'argmin' argument 2 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:70:39: note: Function 'argmin' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:283:41: note: Function 'argmin' argument 2 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:291:56: style:inconclusive: Function 'argmin' argument 3 names different: declaration 's' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/InlineReductions.h:72:53: note: Function 'argmin' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/InlineReductions.cpp:291:56: note: Function 'argmin' argument 3 names different: declaration 's' definition 'name'. Halide-17.0.1/src/IRMatch.h:476:31: performance:inconclusive: Technically the member function 'Wild < 0 >::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:485:10: performance:inconclusive: Technically the member function 'Wild < 0 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:476:31: performance:inconclusive: Technically the member function 'Wild < 1 >::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:485:10: performance:inconclusive: Technically the member function 'Wild < 1 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:443:10: performance:inconclusive: Technically the member function 'WildConst < 0 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:453:10: performance:inconclusive: Technically the member function 'WildConst < 0 >::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:443:10: performance:inconclusive: Technically the member function 'WildConst < 1 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:453:10: performance:inconclusive: Technically the member function 'WildConst < 1 >::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/LICM.cpp:116:10: style: Unused private function: 'LiftLoopInvariants::visit_let' [unusedPrivateFunction] Halide-17.0.1/src/LICM.cpp:49:5: style: Class 'CanLift' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/LICM.cpp:360:9: style: Class 'ExprDepth' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/LICM.cpp:86:25: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/LICM.cpp:86:25: note: Shadow variable Halide-17.0.1/src/LICM.cpp:92:32: style: Local variable 'reinterpret' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1062:6: note: Shadowed declaration Halide-17.0.1/src/LICM.cpp:92:32: note: Shadow variable Halide-17.0.1/src/LICM.cpp:215:39: style: Local variable 'reinterpret' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1062:6: note: Shadowed declaration Halide-17.0.1/src/LICM.cpp:215:39: note: Shadow variable Halide-17.0.1/src/LICM.cpp:366:19: style: Local variable 'depth' shadows outer variable [shadowVariable] Halide-17.0.1/src/LICM.cpp:469:9: note: Shadowed declaration Halide-17.0.1/src/LICM.cpp:366:19: note: Shadow variable Halide-17.0.1/src/Lerp.cpp:111:38: style: Variable 'typed_weight' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/src/Lerp.cpp:99:34: note: typed_weight is assigned Halide-17.0.1/src/Lerp.cpp:111:38: note: typed_weight is overwritten Halide-17.0.1/src/LoopCarry.cpp:164:5: style: Class 'StepForwards' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/LoopCarry.cpp:554:5: style: Class 'LoopCarry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/LowerWarpShuffles.cpp:714:16: debug: Failed to instantiate template "visit_let". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/Lower.cpp:145:20: style: Local variable 'log' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:959:6: note: Shadowed declaration Halide-17.0.1/src/Lower.cpp:145:20: note: Shadow variable Halide-17.0.1/src/Lower.cpp:527:30: style: Local variable 'arg' shadows outer variable [shadowVariable] Halide-17.0.1/src/Lower.cpp:498:34: note: Shadowed declaration Halide-17.0.1/src/Lower.cpp:527:30: note: Shadow variable Halide-17.0.1/src/Lower.cpp:483:16: style: Variable 'lowered_func' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Lower.cpp:492:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/LowerParallelTasks.cpp:330:26: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/LowerParallelTasks.cpp:226:18: note: Shadowed declaration Halide-17.0.1/src/LowerParallelTasks.cpp:330:26: note: Shadow variable Halide-17.0.1/src/LowerWarpShuffles.cpp:669:5: warning: Member variable 'LowerWarpShuffles::may_use_warp_shuffle' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/LowerWarpShuffles.cpp:287:10: style:inconclusive: Technically the member function 'Halide::Internal::::DetermineAllocStride::can_prove' can be const. [functionConst] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < AllocInfo >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < AllocInfo >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < AllocInfo >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/LowerWarpShuffles.cpp:669:5: style: Class 'LowerWarpShuffles' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/LowerWarpShuffles.cpp:767:5: style: Class 'MoveIfStatementInwards' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/LowerWarpShuffles.cpp:835:5: style: Class 'LowerWarpShufflesInEachKernel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < Expr >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/LowerWarpShuffles.cpp:381:30: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Halide-17.0.1/src/LowerWarpShuffles.cpp:377:50: note: outer condition: op->for_type==ForType::GPULane Halide-17.0.1/src/LowerWarpShuffles.cpp:381:30: note: identical inner condition: op->for_type==ForType::GPULane Halide-17.0.1/src/Memoization.cpp:216:10: style:inconclusive: Technically the member function 'Halide::Internal::::KeyInfo::key_size' can be const. [functionConst] Halide-17.0.1/src/Memoization.cpp:488:17: performance:inconclusive: Technically the member function 'Halide::Internal::::RewriteMemoizedAllocations::get_realization_name' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Memoization.cpp:479:5: style: Class 'RewriteMemoizedAllocations' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Memoization.cpp:398:22: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/Memoization.cpp:398:22: note: Shadow variable Halide-17.0.1/src/Memoization.cpp:399:22: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/Memoization.cpp:399:22: note: Shadow variable Halide-17.0.1/src/Memoization.cpp:544:44: style: Variable 'allocations' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Memoization.cpp:497:36: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] Halide-17.0.1/src/Memoization.cpp:210:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ObjectInstanceRegistry.cpp:61:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/ModulusRemainder.cpp:29:5: style: Class 'ComputeModulusRemainder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ModulusRemainder.cpp:302:37: style:inconclusive: Function 'reduce_expr_modulo' argument 1 names different: declaration 'e' definition 'expr'. [funcArgNamesDifferent] Halide-17.0.1/src/ModulusRemainder.h:88:60: note: Function 'reduce_expr_modulo' argument 1 names different: declaration 'e' definition 'expr'. Halide-17.0.1/src/ModulusRemainder.cpp:302:37: note: Function 'reduce_expr_modulo' argument 1 names different: declaration 'e' definition 'expr'. Halide-17.0.1/src/ModulusRemainder.cpp:319:37: style:inconclusive: Function 'reduce_expr_modulo' argument 1 names different: declaration 'e' definition 'expr'. [funcArgNamesDifferent] Halide-17.0.1/src/ModulusRemainder.h:89:60: note: Function 'reduce_expr_modulo' argument 1 names different: declaration 'e' definition 'expr'. Halide-17.0.1/src/ModulusRemainder.cpp:319:37: note: Function 'reduce_expr_modulo' argument 1 names different: declaration 'e' definition 'expr'. Halide-17.0.1/src/OptimizeShuffles.cpp:61:16: debug: Failed to instantiate template "visit_let". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/OffloadGPULoops.cpp:112:10: performance:inconclusive: Technically the member function 'Halide::Internal::::InjectGpuOffload::make_state_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/OffloadGPULoops.cpp:121:10: performance:inconclusive: Technically the member function 'Halide::Internal::::InjectGpuOffload::make_buffer_ptr' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/OffloadGPULoops.cpp:262:5: style: Class 'InjectGpuOffload' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:181:5: style: Class 'Buffer < void * , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:188:5: style: Class 'Buffer < void * , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Buffer.h:195:5: style: Class 'Buffer < void * , AnyDims >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/OptimizeShuffles.cpp:140:5: style: Class 'OptimizeShuffles' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/OutputImageParam.h:57:25: style:inconclusive: Technically the member function 'Halide::OutputImageParam::dim' can be const. [functionConst] Halide-17.0.1/src/OutputImageParam.cpp:26:29: note: Technically the member function 'Halide::OutputImageParam::dim' can be const. Halide-17.0.1/src/OutputImageParam.h:57:25: note: Technically the member function 'Halide::OutputImageParam::dim' can be const. Halide-17.0.1/src/Parameter.cpp:281:9: style: Class 'RemoveSelfReferences' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Parameter.cpp:304:9: style: Class 'RestoreSelfReferences' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Parameter.cpp:75:57: style:inconclusive: Function 'Parameter' argument 3 names different: declaration 'dimensions' definition 'd'. [funcArgNamesDifferent] Halide-17.0.1/src/Parameter.h:96:50: note: Function 'Parameter' argument 3 names different: declaration 'dimensions' definition 'd'. Halide-17.0.1/src/Parameter.cpp:75:57: note: Function 'Parameter' argument 3 names different: declaration 'dimensions' definition 'd'. Halide-17.0.1/src/Parameter.cpp:80:57: style:inconclusive: Function 'Parameter' argument 3 names different: declaration 'dimensions' definition 'd'. [funcArgNamesDifferent] Halide-17.0.1/src/Parameter.h:105:50: note: Function 'Parameter' argument 3 names different: declaration 'dimensions' definition 'd'. Halide-17.0.1/src/Parameter.cpp:80:57: note: Function 'Parameter' argument 3 names different: declaration 'dimensions' definition 'd'. Halide-17.0.1/src/ParallelRVar.cpp:45:5: style: Class 'FindLoads' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/FindIntrinsics.cpp:1052:10: performance:inconclusive: Technically the member function 'Halide::Internal::::SubstituteInWideningLets::widens' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:476:31: performance:inconclusive: Technically the member function 'Wild < 2 >::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:485:10: performance:inconclusive: Technically the member function 'Wild < 2 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:476:31: performance:inconclusive: Technically the member function 'Wild < 3 >::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:485:10: performance:inconclusive: Technically the member function 'Wild < 3 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/FindIntrinsics.cpp:1075:13: style: Class 'AllInputsNarrowerThan' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/FindIntrinsics.cpp:1138:17: style: Class 'LeaveBehindSubexpressions' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/ParallelRVar.cpp:93:41: style:inconclusive: Function 'can_parallelize_rvar' argument 1 names different: declaration 'rvar' definition 'v'. [funcArgNamesDifferent] Halide-17.0.1/src/ParallelRVar.h:22:46: note: Function 'can_parallelize_rvar' argument 1 names different: declaration 'rvar' definition 'v'. Halide-17.0.1/src/ParallelRVar.cpp:93:41: note: Function 'can_parallelize_rvar' argument 1 names different: declaration 'rvar' definition 'v'. Halide-17.0.1/src/ParallelRVar.cpp:94:41: style:inconclusive: Function 'can_parallelize_rvar' argument 2 names different: declaration 'func' definition 'f'. [funcArgNamesDifferent] Halide-17.0.1/src/ParallelRVar.h:23:46: note: Function 'can_parallelize_rvar' argument 2 names different: declaration 'func' definition 'f'. Halide-17.0.1/src/ParallelRVar.cpp:94:41: note: Function 'can_parallelize_rvar' argument 2 names different: declaration 'func' definition 'f'. Halide-17.0.1/src/FindIntrinsics.cpp:37:10: style: Local variable 'narrow' shadows outer function [shadowFunction] Halide-17.0.1/src/FindIntrinsics.cpp:26:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:37:10: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:45:10: style: Local variable 'narrow' shadows outer function [shadowFunction] Halide-17.0.1/src/FindIntrinsics.cpp:26:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:45:10: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:71:28: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:71:28: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:132:14: style: Local variable 'round' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1031:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:132:14: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:163:25: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:163:25: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:220:18: style: Local variable 'narrow' shadows outer function [shadowFunction] Halide-17.0.1/src/FindIntrinsics.cpp:26:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:220:18: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:238:22: style: Local variable 'narrow' shadows outer function [shadowFunction] Halide-17.0.1/src/FindIntrinsics.cpp:26:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:238:22: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:297:18: style: Local variable 'narrow' shadows outer function [shadowFunction] Halide-17.0.1/src/FindIntrinsics.cpp:26:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:297:18: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:327:22: style: Local variable 'narrow' shadows outer function [shadowFunction] Halide-17.0.1/src/FindIntrinsics.cpp:26:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:327:22: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:404:22: style: Local variable 'narrow' shadows outer function [shadowFunction] Halide-17.0.1/src/FindIntrinsics.cpp:26:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:404:22: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:405:22: style: Local variable 'narrow_a' shadows outer variable [shadowVariable] Halide-17.0.1/src/FindIntrinsics.cpp:387:14: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:405:22: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:406:22: style: Local variable 'narrow_b' shadows outer variable [shadowVariable] Halide-17.0.1/src/FindIntrinsics.cpp:388:14: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:406:22: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:513:25: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:513:25: note: Shadow variable Halide-17.0.1/src/FindIntrinsics.cpp:1254:14: style: Local variable 'round' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1031:6: note: Shadowed declaration Halide-17.0.1/src/FindIntrinsics.cpp:1254:14: note: Shadow variable Halide-17.0.1/src/PartitionLoops.cpp:98:5: style: Class 'HasLikelyTag' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/PartitionLoops.cpp:116:5: style: Class 'HasUncapturedLikelyTag' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/PartitionLoops.cpp:242:5: style: Class 'ExprUsesInvalidBuffers' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/PartitionLoops.cpp:474:5: style: Class 'FindSimplifications' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/PartitionLoops.cpp:486:5: style: Class 'MakeSimplifications' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/PartitionLoops.cpp:493:40: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < Box >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < Box >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < Box >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Prefetch.cpp:317:5: style: Class 'ReducePrefetchDimension' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Prefetch.cpp:388:5: style: Class 'SplitPrefetch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/PartitionLoops.cpp:779:42: style: Variable 'mutation_checker.mutated' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/PartitionLoops.cpp:785:42: style: Variable 'mutation_checker.mutated' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/PartitionLoops.cpp:804:42: style: Variable 'mutation_checker.mutated' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/PartitionLoops.cpp:808:46: style: Variable 'mutation_checker.mutated' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/PartitionLoops.cpp:812:46: style: Variable 'mutation_checker.mutated' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Prefetch.cpp:108:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Prefetch.cpp:118:17: style: Variable 'at' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/PrintLoopNest.cpp:59:12: performance:inconclusive: Technically the member function 'Halide::Internal::::PrintLoopNest::simplify_name' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Pipeline.h:208:10: style:inconclusive: Technically the member function 'Halide::Pipeline::get_func' can be const. [functionConst] Halide-17.0.1/src/Pipeline.cpp:274:16: note: Technically the member function 'Halide::Pipeline::get_func' can be const. Halide-17.0.1/src/Pipeline.h:208:10: note: Technically the member function 'Halide::Pipeline::get_func' can be const. Halide-17.0.1/src/Pipeline.h:288:10: style:inconclusive: Technically the member function 'Halide::Pipeline::print_loop_nest' can be const. [functionConst] Halide-17.0.1/src/Pipeline.cpp:346:16: note: Technically the member function 'Halide::Pipeline::print_loop_nest' can be const. Halide-17.0.1/src/Pipeline.h:288:10: note: Technically the member function 'Halide::Pipeline::print_loop_nest' can be const. Halide-17.0.1/src/Pipeline.h:365:45: style:inconclusive: Technically the member function 'Halide::Pipeline::get_jit_externs' can be const. [functionConst] Halide-17.0.1/src/Pipeline.cpp:708:51: note: Technically the member function 'Halide::Pipeline::get_jit_externs' can be const. Halide-17.0.1/src/Pipeline.h:365:45: note: Technically the member function 'Halide::Pipeline::get_jit_externs' can be const. Halide-17.0.1/src/Pipeline.h:396:44: style:inconclusive: Technically the member function 'Halide::Pipeline::custom_lowering_passes' can be const. [functionConst] Halide-17.0.1/src/Pipeline.cpp:727:45: note: Technically the member function 'Halide::Pipeline::custom_lowering_passes' can be const. Halide-17.0.1/src/Pipeline.h:396:44: note: Technically the member function 'Halide::Pipeline::custom_lowering_passes' can be const. Halide-17.0.1/src/Pipeline.cpp:81:5: style: Struct 'JITCallArgs' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.cpp:475:5: style: Class 'FindExterns' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.cpp:811:9: style: Class 'Checker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Pipeline.cpp:887:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Pipeline.cpp:891:48: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Pipeline.cpp:896:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Pipeline.cpp:1153:16: style: The comparison '&p != &ia.param' is always false because '&p' and '&ia.param' represent the same value. [knownConditionTrueFalse] Halide-17.0.1/src/Pipeline.cpp:1151:26: note: 'p' is assigned value 'ia.param' here. Halide-17.0.1/src/Pipeline.cpp:1153:16: note: The comparison '&p != &ia.param' is always false because '&p' and '&ia.param' represent the same value. Halide-17.0.1/src/Pipeline.cpp:570:42: style:inconclusive: Function 'compile_jit' argument 1 names different: declaration 'target' definition 'target_arg'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:347:36: note: Function 'compile_jit' argument 1 names different: declaration 'target' definition 'target_arg'. Halide-17.0.1/src/Pipeline.cpp:570:42: note: Function 'compile_jit' argument 1 names different: declaration 'target' definition 'target_arg'. Halide-17.0.1/src/Pipeline.cpp:624:69: style:inconclusive: Function 'compile_to_callable' argument 1 names different: declaration 'args' definition 'args_in'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:354:63: note: Function 'compile_to_callable' argument 1 names different: declaration 'args' definition 'args_in'. Halide-17.0.1/src/Pipeline.cpp:624:69: note: Function 'compile_to_callable' argument 1 names different: declaration 'args' definition 'args_in'. Halide-17.0.1/src/Pipeline.cpp:624:92: style:inconclusive: Function 'compile_to_callable' argument 2 names different: declaration 'target' definition 'target_arg'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:355:48: note: Function 'compile_to_callable' argument 2 names different: declaration 'target' definition 'target_arg'. Halide-17.0.1/src/Pipeline.cpp:624:92: note: Function 'compile_to_callable' argument 2 names different: declaration 'target' definition 'target_arg'. Halide-17.0.1/src/Pipeline.cpp:654:89: style:inconclusive: Function 'compile_jit_cache' argument 4 names different: declaration 'jit_externs' definition 'jit_externs_in'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:172:89: note: Function 'compile_jit_cache' argument 4 names different: declaration 'jit_externs' definition 'jit_externs_in'. Halide-17.0.1/src/Pipeline.cpp:654:89: note: Function 'compile_jit_cache' argument 4 names different: declaration 'jit_externs' definition 'jit_externs_in'. Halide-17.0.1/src/Pipeline.cpp:829:59: style:inconclusive: Function 'prepare_jit_call_arguments' argument 1 names different: declaration 'output' definition 'outputs'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:153:53: note: Function 'prepare_jit_call_arguments' argument 1 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:829:59: note: Function 'prepare_jit_call_arguments' argument 1 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:950:39: style:inconclusive: Function 'realize' argument 1 names different: declaration 'output' definition 'outputs'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:418:33: note: Function 'realize' argument 1 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:950:39: note: Function 'realize' argument 1 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:950:62: style:inconclusive: Function 'realize' argument 2 names different: declaration 'target' definition 't'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:418:55: note: Function 'realize' argument 2 names different: declaration 'target' definition 't'. Halide-17.0.1/src/Pipeline.cpp:950:62: note: Function 'realize' argument 2 names different: declaration 'target' definition 't'. Halide-17.0.1/src/Pipeline.cpp:955:39: style:inconclusive: Function 'realize' argument 2 names different: declaration 'output' definition 'outputs'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:425:33: note: Function 'realize' argument 2 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:955:39: note: Function 'realize' argument 2 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:956:38: style:inconclusive: Function 'realize' argument 3 names different: declaration 'target' definition 't'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:426:32: note: Function 'realize' argument 3 names different: declaration 'target' definition 't'. Halide-17.0.1/src/Pipeline.cpp:956:38: note: Function 'realize' argument 3 names different: declaration 'target' definition 't'. Halide-17.0.1/src/Pipeline.cpp:1057:50: style:inconclusive: Function 'infer_input_bounds' argument 1 names different: declaration 'output' definition 'outputs'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:436:44: note: Function 'infer_input_bounds' argument 1 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:1057:50: note: Function 'infer_input_bounds' argument 1 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:1062:50: style:inconclusive: Function 'infer_input_bounds' argument 2 names different: declaration 'output' definition 'outputs'. [funcArgNamesDifferent] Halide-17.0.1/src/Pipeline.h:446:44: note: Function 'infer_input_bounds' argument 2 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:1062:50: note: Function 'infer_input_bounds' argument 2 names different: declaration 'output' definition 'outputs'. Halide-17.0.1/src/Pipeline.cpp:1124:29: style: Variable 'tb' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Pipeline.cpp:853:27: style: Variable 'buf_out_param' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/Pipeline.cpp:67:15: style: Consider using std::replace_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Pipeline.cpp:462:31: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Pipeline.cpp:527:33: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Pipeline.cpp:611:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Pipeline.cpp:669:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Pipeline.cpp:836:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Pipeline.cpp:1181:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Pipeline.cpp:248:12: warning: Either the condition 'it==m.end()' is redundant or there is possible dereference of an invalid iterator: it. [derefInvalidIteratorRedundantCheck] Halide-17.0.1/src/Pipeline.cpp:240:12: note: Assuming that condition 'it==m.end()' is not redundant Halide-17.0.1/src/Pipeline.cpp:248:12: note: Dereference of an invalid iterator Halide-17.0.1/src/Pipeline.cpp:615:54: style: Variable 'lowered_externs' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Pipeline.cpp:815:0: style: Variable 'checker' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Profiling.cpp:122:12: performance:inconclusive: Technically the member function 'Halide::Internal::::InjectProfiling::normalize_name' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Profiling.cpp:154:10: performance:inconclusive: Technically the member function 'Halide::Internal::::InjectProfiling::compute_allocation_size' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < AllocSize >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < AllocSize >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < AllocSize >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Profiling.cpp:79:5: style: Class 'InjectProfiling' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Profiling.cpp:283:13: style: The scope of the variable 'idx' can be reduced. [variableScope] Halide-17.0.1/src/Profiling.cpp:435:39: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] Halide-17.0.1/src/Profiling.cpp:564:11: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Qualify.cpp:31:5: style: Class 'QualifyExpr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/PythonExtensionGen.h:19:5: style: Class 'PythonExtensionGen' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/PythonExtensionGen.cpp:410:33: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/PythonExtensionGen.cpp:506:19: style: Variable 'indent.indent' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/RDom.h:198:10: performance:inconclusive: Technically the member function 'Halide::RDom::validate_min_extent' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/RDom.cpp:129:12: note: Technically the member function 'Halide::RDom::validate_min_extent' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/RDom.h:198:10: note: Technically the member function 'Halide::RDom::validate_min_extent' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/RealizationOrder.cpp:279:28: style: The scope of the variable 'func_fused_pairs' can be reduced. [variableScope] Halide-17.0.1/src/RealizationOrder.cpp:357:19: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Reduction.cpp:105:10: style:inconclusive: Technically the member function 'Halide::Internal::ReductionDomainContents::accept' can be const. [functionConst] Halide-17.0.1/src/Reduction.cpp:150:92: style:inconclusive: Function 'ReductionDomain' argument 2 names different: declaration 'predicate' definition 'predictate'. [funcArgNamesDifferent] Halide-17.0.1/src/Reduction.h:58:79: note: Function 'ReductionDomain' argument 2 names different: declaration 'predicate' definition 'predictate'. Halide-17.0.1/src/Reduction.cpp:150:92: note: Function 'ReductionDomain' argument 2 names different: declaration 'predicate' definition 'predictate'. Halide-17.0.1/src/Reduction.cpp:17:49: style: Parameter 'expected' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/RegionCosts.cpp:33:33: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/RegionCosts.cpp:33:33: note: Shadow variable Halide-17.0.1/src/RemoveUndef.cpp:322:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/RemoveUndef.cpp:322:14: note: Shadow variable Halide-17.0.1/src/SelectGPUAPI.cpp:44:5: style: Class 'SelectGPUAPI' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Schedule.cpp:368:22: style: Variable 'copied_func' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/Serialization.cpp:1583:73: style: Parameter 'data' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Serialization.cpp:1587:73: style: Parameter 'data' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Serialization.cpp:1587:113: style: Parameter 'params' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Serialization.cpp:1595:114: style: Parameter 'params' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/ScheduleFunctions.cpp:2551:39: style:inconclusive: Boolean expression 'is_output' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] Halide-17.0.1/src/ScheduleFunctions.cpp:1337:10: style:inconclusive: Technically the member function 'Halide::Internal::::InjectFunctionRealization::build_realize' can be const. [functionConst] Halide-17.0.1/src/SimplifySpecializations.cpp:54:5: style: Class 'SimplifyUsingFact' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Simplify_Internal.h:112:10: performance:inconclusive: Technically the member function 'Halide::Internal::Simplify::clear_bounds_info' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Simplify_Internal.h:176:10: performance:inconclusive: Technically the member function 'Halide::Internal::Simplify::no_overflow_int' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Simplify_Internal.h:231:10: performance:inconclusive: Technically the member function 'Halide::Internal::Simplify::const_float' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Simplify.cpp:92:16: note: Technically the member function 'Halide::Internal::Simplify::const_float' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Simplify_Internal.h:231:10: note: Technically the member function 'Halide::Internal::Simplify::const_float' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Simplify_Internal.h:232:10: performance:inconclusive: Technically the member function 'Halide::Internal::Simplify::const_int' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Simplify.cpp:101:16: note: Technically the member function 'Halide::Internal::Simplify::const_int' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Simplify_Internal.h:232:10: note: Technically the member function 'Halide::Internal::Simplify::const_int' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Simplify_Internal.h:269:14: style:inconclusive: Technically the member function 'Halide::Internal::Simplify::ScopedFact::substitute_facts' can be const. [functionConst] Halide-17.0.1/src/Simplify.cpp:333:28: note: Technically the member function 'Halide::Internal::Simplify::ScopedFact::substitute_facts' can be const. Halide-17.0.1/src/Simplify_Internal.h:269:14: note: Technically the member function 'Halide::Internal::Simplify::ScopedFact::substitute_facts' can be const. Halide-17.0.1/src/Simplify_Internal.h:270:14: style:inconclusive: Technically the member function 'Halide::Internal::Simplify::ScopedFact::substitute_facts' can be const. [functionConst] Halide-17.0.1/src/Simplify.cpp:337:28: note: Technically the member function 'Halide::Internal::Simplify::ScopedFact::substitute_facts' can be const. Halide-17.0.1/src/Simplify_Internal.h:270:14: note: Technically the member function 'Halide::Internal::Simplify::ScopedFact::substitute_facts' can be const. Halide-17.0.1/src/IRMatch.h:476:31: performance:inconclusive: Technically the member function 'Wild < 4 >::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:485:10: performance:inconclusive: Technically the member function 'Wild < 4 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:476:31: performance:inconclusive: Technically the member function 'Wild < 5 >::match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:485:10: performance:inconclusive: Technically the member function 'Wild < 5 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:443:10: performance:inconclusive: Technically the member function 'WildConst < 2 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:453:10: performance:inconclusive: Technically the member function 'WildConst < 2 >::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:443:10: performance:inconclusive: Technically the member function 'WildConst < 3 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:453:10: performance:inconclusive: Technically the member function 'WildConst < 3 >::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:443:10: performance:inconclusive: Technically the member function 'WildConst < 4 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:453:10: performance:inconclusive: Technically the member function 'WildConst < 4 >::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:443:10: performance:inconclusive: Technically the member function 'WildConst < 5 >::make' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/IRMatch.h:453:10: performance:inconclusive: Technically the member function 'WildConst < 5 >::make_folded_const' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < VarInfo >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < VarInfo >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < VarInfo >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < ExprInfo >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < ExprInfo >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < ExprInfo >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Simplify_Internal.h:272:9: style: Struct 'ScopedFact' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/SimplifySpecializations.cpp:24:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SimplifySpecializations.cpp:27:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SimplifySpecializations.cpp:62:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SimplifySpecializations.cpp:65:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:293:14: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:293:14: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:294:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:294:14: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:404:18: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:404:18: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:433:14: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:433:14: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:434:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:434:14: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:608:34: style: Local variable 'args' shadows outer variable [shadowVariable] Halide-17.0.1/src/ScheduleFunctions.cpp:545:39: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:608:34: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:616:40: style: Local variable 'arg' shadows outer variable [shadowVariable] Halide-17.0.1/src/ScheduleFunctions.cpp:570:36: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:616:40: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:618:30: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:618:30: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:619:30: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:619:30: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:695:26: style: Local variable 'args' shadows outer variable [shadowVariable] Halide-17.0.1/src/ScheduleFunctions.cpp:545:39: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:695:26: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:705:22: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:705:22: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:706:22: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:706:22: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:795:18: style: Local variable 'error' shadows outer variable [shadowVariable] Halide-17.0.1/src/ScheduleFunctions.cpp:786:10: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:795:18: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:1193:29: style: Local variable 'promise_clamped' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1486:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:1193:29: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:1361:22: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:1361:22: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:1855:16: style: Local variable 'func' shadows outer variable [shadowVariable] Halide-17.0.1/src/ScheduleFunctions.cpp:1847:14: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:1855:16: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:2128:36: style: Local variable 's' shadows outer argument [shadowArgument] Halide-17.0.1/src/ScheduleFunctions.cpp:2052:48: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:2128:36: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:2136:30: style: Local variable 's' shadows outer argument [shadowArgument] Halide-17.0.1/src/ScheduleFunctions.cpp:2052:48: note: Shadowed declaration Halide-17.0.1/src/ScheduleFunctions.cpp:2136:30: note: Shadow variable Halide-17.0.1/src/ScheduleFunctions.cpp:1724:32: style: Variable 'edge' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/ScheduleFunctions.cpp:141:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:418:18: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:556:26: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:841:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:1810:22: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:1889:61: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:2124:21: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:2129:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:2181:17: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:2270:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Simplify.cpp:356:35: style:inconclusive: Function 'simplify' argument 2 names different: declaration 'remove_dead_code' definition 'remove_dead_let_stmts'. [funcArgNamesDifferent] Halide-17.0.1/src/Simplify.h:28:34: note: Function 'simplify' argument 2 names different: declaration 'remove_dead_code' definition 'remove_dead_let_stmts'. Halide-17.0.1/src/Simplify.cpp:356:35: note: Function 'simplify' argument 2 names different: declaration 'remove_dead_code' definition 'remove_dead_let_stmts'. Halide-17.0.1/src/Simplify.cpp:372:35: style:inconclusive: Function 'simplify' argument 2 names different: declaration 'remove_dead_code' definition 'remove_dead_let_stmts'. [funcArgNamesDifferent] Halide-17.0.1/src/Simplify.h:24:34: note: Function 'simplify' argument 2 names different: declaration 'remove_dead_code' definition 'remove_dead_let_stmts'. Halide-17.0.1/src/Simplify.cpp:372:35: note: Function 'simplify' argument 2 names different: declaration 'remove_dead_code' definition 'remove_dead_let_stmts'. Halide-17.0.1/src/Simplify_Internal.h:63:26: style: Local variable 'no_overflow' shadows outer function [shadowFunction] Halide-17.0.1/src/Simplify_Internal.h:187:10: note: Shadowed declaration Halide-17.0.1/src/Simplify_Internal.h:63:26: note: Shadow variable Halide-17.0.1/src/Simplify_Internal.h:73:26: style: Local variable 'no_overflow' shadows outer function [shadowFunction] Halide-17.0.1/src/Simplify_Internal.h:187:10: note: Shadowed declaration Halide-17.0.1/src/Simplify_Internal.h:73:26: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:81:16: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:81:16: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:122:25: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:122:25: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:127:25: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:127:25: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:134:25: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:134:25: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:152:25: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:152:25: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:211:25: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:211:25: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:216:25: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:216:25: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:269:25: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:269:25: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:287:25: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:287:25: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:342:22: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:342:22: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:345:22: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify.cpp:345:22: note: Shadow variable Halide-17.0.1/src/Simplify.cpp:363:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Simplify.cpp:379:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/ScheduleFunctions.cpp:828:32: style: Variable 'destructor_name' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/SimplifyCorrelatedDifferences.cpp:178:10: performance:inconclusive: Technically the member function 'Halide::Internal::::SimplifyCorrelatedDifferences::track_free_vars' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/SimplifyCorrelatedDifferences.cpp:194:13: style: Class 'TrackFreeVars' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/SimplifyCorrelatedDifferences.cpp:92:13: style: Struct 'Frame' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Simplify_Call.cpp:643:13: debug: Failed to parse 'using FnType = bool ( * ) ( double ) ;'. The checking continues anyway. [simplifyUsing] Halide-17.0.1/src/Simplify_Call.cpp:681:13: debug: Failed to parse 'using FnType = double ( * ) ( double ) ;'. The checking continues anyway. [simplifyUsing] Halide-17.0.1/src/Simplify_Call.cpp:717:13: debug: Failed to parse 'using FnType = double ( * ) ( double ) ;'. The checking continues anyway. [simplifyUsing] Halide-17.0.1/src/Simplify_Call.cpp:754:13: debug: Failed to parse 'using FnType = double ( * ) ( double , double ) ;'. The checking continues anyway. [simplifyUsing] Halide-17.0.1/src/Simplify_Cast.cpp:51:48: debug: Failed to instantiate template "safe_numeric_cast". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/Simplify_And.cpp:22:9: style: Redundant condition: x. 'x && (x || y)' is equivalent to 'x' [redundantCondition] Halide-17.0.1/src/Simplify_And.cpp:22:9: warning: Logical conjunction always evaluates to false: x != y && x == y. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_And.cpp:22:9: warning: Logical conjunction always evaluates to false: x != y && y == x. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_And.cpp:22:9: warning: Logical conjunction always evaluates to false: x && !(x). [incorrectLogicOperator] Halide-17.0.1/src/Simplify_And.cpp:22:9: warning: Logical conjunction always evaluates to false: !(x) && x. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_And.cpp:22:9: warning: Logical conjunction always evaluates to false: y <= x && x < y. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_And.cpp:22:9: warning: Logical conjunction always evaluates to false: y < x && x < y. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_And.cpp:22:9: style: Opposite expression on both sides of '&&'. [oppositeExpression] Halide-17.0.1/src/Simplify_Cast.cpp:35:21: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/Simplify_Cast.cpp:35:21: note: Shadow variable Halide-17.0.1/src/Simplify_Cast.cpp:40:18: style: Local variable 'u' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:207:24: note: Shadowed declaration Halide-17.0.1/src/Simplify_Cast.cpp:40:18: note: Shadow variable Halide-17.0.1/src/Simplify_Call.cpp:401:21: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] Halide-17.0.1/src/Simplify_Call.cpp:399:24: note: outer condition: last Halide-17.0.1/src/Simplify_Call.cpp:401:21: note: identical inner condition: last Halide-17.0.1/src/Simplify_Call.cpp:86:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Simplify_Call.cpp:646:26: style: Local variable 'is_finite' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1054:6: note: Shadowed declaration Halide-17.0.1/src/Simplify_Call.cpp:646:26: note: Shadow variable Halide-17.0.1/src/Simplify_Call.cpp:647:26: style: Local variable 'is_inf' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1048:6: note: Shadowed declaration Halide-17.0.1/src/Simplify_Call.cpp:647:26: note: Shadow variable Halide-17.0.1/src/Simplify_Call.cpp:648:26: style: Local variable 'is_nan' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:1042:6: note: Shadowed declaration Halide-17.0.1/src/Simplify_Call.cpp:648:26: note: Shadow variable Halide-17.0.1/src/Simplify_Let.cpp:32:5: style: Class 'CountVarUses' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Simplify_Let.cpp:56:9: style: Struct 'Frame' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Simplify_LT.cpp:31:13: style: Local variable 'lanes' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_LT.cpp:11:15: note: Shadowed declaration Halide-17.0.1/src/Simplify_LT.cpp:31:13: note: Shadow variable Halide-17.0.1/src/Simplify_Or.cpp:21:9: style: Redundant condition: x. 'x || (x && y)' is equivalent to 'x' [redundantCondition] Halide-17.0.1/src/Simplify_Or.cpp:21:9: warning: Logical disjunction always evaluates to true: x != y || x == y. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_Or.cpp:21:9: warning: Logical disjunction always evaluates to true: x != y || y == x. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_Or.cpp:21:9: warning: Logical disjunction always evaluates to true: x || !(x). [incorrectLogicOperator] Halide-17.0.1/src/Simplify_Or.cpp:21:9: warning: Logical disjunction always evaluates to true: !(x) || x. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_Or.cpp:21:9: warning: Logical disjunction always evaluates to true: y <= x || x < y. [incorrectLogicOperator] Halide-17.0.1/src/Simplify_Or.cpp:21:9: style: Opposite expression on both sides of '||'. [oppositeExpression] Halide-17.0.1/src/Simplify_Shuffle.cpp:271:25: style: Local variable 'cast' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:364:13: note: Shadowed declaration Halide-17.0.1/src/Simplify_Shuffle.cpp:271:25: note: Shadow variable Halide-17.0.1/src/Simplify_Shuffle.cpp:298:34: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify_Shuffle.cpp:298:34: note: Shadow variable Halide-17.0.1/src/SkipStages.cpp:134:10: performance:inconclusive: Technically the member function 'Halide::Internal::::PredicateFinder::make_and' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/SkipStages.cpp:146:10: performance:inconclusive: Technically the member function 'Halide::Internal::::PredicateFinder::make_or' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/SkipStages.cpp:176:10: performance:inconclusive: Technically the member function 'Halide::Internal::::PredicateFinder::make_not' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/SkipStages.cpp:333:5: style: Class 'StageSkipper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Simplify_Internal.h:351:10: performance:inconclusive: Technically the member function 'Halide::Internal::Simplify::visit' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Simplify_Stmts.cpp:661:16: note: Technically the member function 'Halide::Internal::Simplify::visit' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Simplify_Internal.h:351:10: note: Technically the member function 'Halide::Internal::Simplify::visit' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/SlidingWindow.cpp:606:5: warning: Member variable 'SlidingWindowOnFunctionAndLoop::dim_idx' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/SlidingWindow.cpp:56:5: style: Class 'ExprDependsOnVar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/SlidingWindow.cpp:82:5: style: Class 'ExpandExpr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/SlidingWindow.cpp:111:5: style: Class 'FindProduce' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/SlidingWindow.cpp:676:5: style: Class 'Dependencies' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/SlidingWindow.cpp:904:5: style: Class 'SlidingWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/SlidingWindow.cpp:262:17: style: Local variable 'dim_idx' shadows outer variable [shadowVariable] Halide-17.0.1/src/SlidingWindow.cpp:611:9: note: Shadowed declaration Halide-17.0.1/src/SlidingWindow.cpp:262:17: note: Shadow variable Halide-17.0.1/src/SlidingWindow.cpp:448:22: style: Local variable 'loop_var_expr' shadows outer variable [shadowVariable] Halide-17.0.1/src/SlidingWindow.cpp:375:18: note: Shadowed declaration Halide-17.0.1/src/SlidingWindow.cpp:448:22: note: Shadow variable Halide-17.0.1/src/SlidingWindow.cpp:564:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/SlidingWindow.cpp:564:14: note: Shadow variable Halide-17.0.1/src/SlidingWindow.cpp:916:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/SlidingWindow.cpp:916:14: note: Shadow variable Halide-17.0.1/src/SlidingWindow.cpp:156:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SlidingWindow.cpp:160:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SlidingWindow.cpp:187:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SlidingWindow.cpp:243:9: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SlidingWindow.cpp:693:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SlidingWindow.cpp:813:61: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SlidingWindow.cpp:882:24: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/SlidingWindow.cpp:448:36: style: Variable 'loop_var_expr' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/SplitTuples.cpp:421:0: warning: Member variable 'SplitScatterGather::extractor' is not initialized. [uninitMemberVarPrivate] Halide-17.0.1/src/SplitTuples.cpp:351:5: style: Class 'SplitTuples' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < std :: map < std :: string , set < int > > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < const ProducerConsumer * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/SplitTuples.cpp:201:33: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/SplitTuples.cpp:177:18: note: Shadowed declaration Halide-17.0.1/src/SplitTuples.cpp:201:33: note: Shadow variable Halide-17.0.1/src/SplitTuples.cpp:205:31: style: Local variable 'it' shadows outer variable [shadowVariable] Halide-17.0.1/src/SplitTuples.cpp:170:14: note: Shadowed declaration Halide-17.0.1/src/SplitTuples.cpp:205:31: note: Shadow variable Halide-17.0.1/src/SplitTuples.cpp:26:18: style: class member 'FindCallValueIndices::func' is never used. [unusedStructMember] Halide-17.0.1/src/Scope.h:31:5: warning: Member variable 'SmallStack < const Allocate * >::_top' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < const Allocate * >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < const Allocate * >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < const Allocate * >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < const IRNode * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/StageStridedLoads.cpp:274:21: style: Same expression used in consecutive assignments of 'min_offset' and 'max_offset'. [duplicateAssignExpression] Halide-17.0.1/src/StageStridedLoads.cpp:275:21: note: Same expression used in consecutive assignments of 'min_offset' and 'max_offset'. Halide-17.0.1/src/StageStridedLoads.cpp:274:21: note: Same expression used in consecutive assignments of 'min_offset' and 'max_offset'. Halide-17.0.1/src/StageStridedLoads.cpp:236:34: style: Local variable 'l' shadows outer variable [shadowVariable] Halide-17.0.1/src/StageStridedLoads.cpp:206:22: note: Shadowed declaration Halide-17.0.1/src/StageStridedLoads.cpp:236:34: note: Shadow variable Halide-17.0.1/src/StageStridedLoads.cpp:263:30: style: Local variable 'l' shadows outer variable [shadowVariable] Halide-17.0.1/src/StageStridedLoads.cpp:206:22: note: Shadowed declaration Halide-17.0.1/src/StageStridedLoads.cpp:263:30: note: Shadow variable Halide-17.0.1/src/StageStridedLoads.cpp:301:30: style: Local variable 'l' shadows outer variable [shadowVariable] Halide-17.0.1/src/StageStridedLoads.cpp:206:22: note: Shadowed declaration Halide-17.0.1/src/StageStridedLoads.cpp:301:30: note: Shadow variable Halide-17.0.1/src/StageStridedLoads.cpp:334:34: style: Local variable 'l' shadows outer variable [shadowVariable] Halide-17.0.1/src/StageStridedLoads.cpp:206:22: note: Shadowed declaration Halide-17.0.1/src/StageStridedLoads.cpp:334:34: note: Shadow variable Halide-17.0.1/src/StageStridedLoads.cpp:357:34: style: Local variable 'l' shadows outer variable [shadowVariable] Halide-17.0.1/src/StageStridedLoads.cpp:206:22: note: Shadowed declaration Halide-17.0.1/src/StageStridedLoads.cpp:357:34: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:120:9: style:inconclusive: Technically the member function 'Halide::Internal::IRCostModel::get_max_compute_cost' can be const. [functionConst] Halide-17.0.1/src/StmtToHTML.cpp:125:9: style:inconclusive: Technically the member function 'Halide::Internal::IRCostModel::get_max_data_movement_cost' can be const. [functionConst] Halide-17.0.1/src/StmtToHTML.cpp:606:17: style:inconclusive: Technically the member function 'Halide::Internal::AssemblyInfo::gen_loop_asm_marker' can be const. [functionConst] Halide-17.0.1/src/StmtToHTML.cpp:625:17: style:inconclusive: Technically the member function 'Halide::Internal::AssemblyInfo::gen_prodcons_asm_marker' can be const. [functionConst] Halide-17.0.1/src/StmtToHTML.cpp:787:24: performance:inconclusive: Technically the member function 'HTMLCodePrinter < std :: ofstream >::escape_html' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/StmtToHTML.cpp:1056:17: performance:inconclusive: Technically the member function 'HTMLCodePrinter < std :: ofstream >::type_to_string' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/StmtToHTML.cpp:1649:17: performance:inconclusive: Technically the member function 'HTMLCodePrinter < std :: ofstream >::ForType_to_string' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/StmtToHTML.cpp:2315:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/StmtToHTML.cpp:2316:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/StmtToHTML.cpp:2451:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/StmtToHTML.cpp:2454:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/StmtToHTML.cpp:1988:13: style: The scope of the variable 'last_then_block_id' can be reduced. [variableScope] Halide-17.0.1/src/StmtToHTML.cpp:691:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:691:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:735:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:735:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:925:32: style: Local variable 'idx' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:879:20: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:925:32: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1006:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1006:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1136:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1136:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1258:17: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1258:17: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1292:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1292:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1519:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1519:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1604:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1604:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1657:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1657:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1712:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1712:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1885:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1885:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1952:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:1952:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:2189:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:2189:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:2228:13: style: Local variable 'id' shadows outer variable [shadowVariable] Halide-17.0.1/src/StmtToHTML.cpp:973:9: note: Shadowed declaration Halide-17.0.1/src/StmtToHTML.cpp:2228:13: note: Shadow variable Halide-17.0.1/src/StmtToHTML.cpp:1200:37: performance: Function parameter 'cls' should be passed by const reference. [passedByValue] Halide-17.0.1/src/StmtToHTML.cpp:1212:68: performance: Function parameter 'op' should be passed by const reference. [passedByValue] Halide-17.0.1/src/StmtToHTML.cpp:1225:42: performance: Function parameter 'fn_name' should be passed by const reference. [passedByValue] Halide-17.0.1/src/StmtToHTML.cpp:1332:107: performance: Function parameter 'id' should be passed by const reference. [passedByValue] Halide-17.0.1/src/StmtToHTML.cpp:1332:123: performance: Function parameter 'prefix' should be passed by const reference. [passedByValue] Halide-17.0.1/src/StmtToHTML.cpp:1387:43: performance: Searching before insertion is not necessary. Instead of 'node_ids[node]=gen_unique_id()' consider using 'node_ids.try_emplace(node, gen_unique_id());'. [stlFindInsert] Halide-17.0.1/src/StmtToHTML.cpp:2437:24: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] Halide-17.0.1/src/StmtToHTML.cpp:901:32: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] Halide-17.0.1/src/StmtToHTML.cpp:932:38: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] Halide-17.0.1/src/StmtToHTML.cpp:950:24: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use replace() instead. [uselessCallsSubstr] Halide-17.0.1/src/StmtToHTML.cpp:70:30: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:75:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:80:40: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:85:37: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:163:30: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:170:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:188:30: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:195:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:371:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:389:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:445:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:448:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:460:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:486:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:494:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:2132:22: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/StmtToHTML.cpp:1415:30: style: Variable 'type_str' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/StmtToHTML.cpp:1988:32: style: Variable 'last_then_block_id' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/StmtToHTML.cpp:2059:36: style: Variable 'last_then_block_id' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/StorageFlattening.cpp:109:10: performance:inconclusive: Technically the member function 'Halide::Internal::::FlattenDimensions::make_shape_var' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/StorageFlattening.cpp:553:10: performance:inconclusive: Technically the member function 'Halide::Internal::::PromoteToMemoryType::upgrade' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/StorageFlattening.cpp:46:5: style: Class 'ExpandExpr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/StorageFlattening.cpp:95:9: style: Struct 'HoistedStorageData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/StorageFlattening.cpp:376:22: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/StorageFlattening.cpp:376:22: note: Shadow variable Halide-17.0.1/src/StorageFlattening.cpp:424:26: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/StorageFlattening.cpp:424:26: note: Shadow variable Halide-17.0.1/src/StorageFlattening.cpp:476:39: style: Local variable 'args' shadows outer variable [shadowVariable] Halide-17.0.1/src/StorageFlattening.cpp:466:22: note: Shadowed declaration Halide-17.0.1/src/StorageFlattening.cpp:476:39: note: Shadow variable Halide-17.0.1/src/StrictifyFloat.cpp:58:5: style: Class 'StrictifyFloat' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Util.h:391:5: style: Struct 'ScopedValue < Strictness >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/StorageFolding.cpp:389:5: warning: Member variable 'InjectFoldingCheck::in_produce' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/Scope.h:215:14: style:inconclusive: Technically the member function 'Scope < CacheEntry >::const_iterator::operator!=' can be const. [functionConst] Halide-17.0.1/src/Scope.h:223:28: style:inconclusive: Technically the member function 'Scope < CacheEntry >::const_iterator::name' can be const. [functionConst] Halide-17.0.1/src/Scope.h:227:30: style:inconclusive: Technically the member function 'Scope < CacheEntry >::const_iterator::stack' can be const. [functionConst] Halide-17.0.1/src/Solve.cpp:574:13: style: Condition 'b_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:566:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:569:27: note: Assignment 'b_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:574:13: note: Condition 'b_uses_var' is always false Halide-17.0.1/src/Solve.cpp:585:13: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:559:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:563:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:585:13: note: Condition 'a_uses_var' is always false Halide-17.0.1/src/Solve.cpp:590:20: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:559:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:563:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:590:20: note: Condition 'a_uses_var' is always false Halide-17.0.1/src/Solve.cpp:646:13: style: Condition 'b_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:638:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:641:27: note: Assignment 'b_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:646:13: note: Condition 'b_uses_var' is always false Halide-17.0.1/src/Solve.cpp:664:13: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:631:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:635:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:664:13: note: Condition 'a_uses_var' is always false Halide-17.0.1/src/Solve.cpp:745:20: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:631:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:635:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:745:20: note: Condition 'a_uses_var' is always false Halide-17.0.1/src/Solve.cpp:459:13: style: Condition 'b_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:451:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:454:27: note: Assignment 'b_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:459:13: note: Condition 'b_uses_var' is always false Halide-17.0.1/src/Solve.cpp:476:13: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:444:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:448:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:476:13: note: Condition 'a_uses_var' is always false Halide-17.0.1/src/Solve.cpp:481:20: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:444:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:448:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:481:20: note: Condition 'a_uses_var' is always false Halide-17.0.1/src/StorageFolding.cpp:45:5: style: Class 'CountProducers' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/StorageFolding.cpp:418:5: style: Class 'HasExternConsumer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/StorageFolding.cpp:1023:5: style: Class 'StorageFolding' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/StorageFolding.cpp:564:18: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/StorageFolding.cpp:564:18: note: Shadow variable Halide-17.0.1/src/StorageFolding.cpp:565:18: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/StorageFolding.cpp:565:18: note: Shadow variable Halide-17.0.1/src/StorageFolding.cpp:593:18: style: Local variable 'loop_var' shadows outer variable [shadowVariable] Halide-17.0.1/src/StorageFolding.cpp:541:14: note: Shadowed declaration Halide-17.0.1/src/StorageFolding.cpp:593:18: note: Shadow variable Halide-17.0.1/src/Solve.cpp:1177:69: style:inconclusive: Function 'solve_for_inner_interval' argument 2 names different: declaration 'variable' definition 'var'. [funcArgNamesDifferent] Halide-17.0.1/src/Solve.h:39:69: note: Function 'solve_for_inner_interval' argument 2 names different: declaration 'variable' definition 'var'. Halide-17.0.1/src/Solve.cpp:1177:69: note: Function 'solve_for_inner_interval' argument 2 names different: declaration 'variable' definition 'var'. Halide-17.0.1/src/Solve.cpp:1191:69: style:inconclusive: Function 'solve_for_outer_interval' argument 2 names different: declaration 'variable' definition 'var'. [funcArgNamesDifferent] Halide-17.0.1/src/Solve.h:35:69: note: Function 'solve_for_outer_interval' argument 2 names different: declaration 'variable' definition 'var'. Halide-17.0.1/src/Solve.cpp:1191:69: note: Function 'solve_for_outer_interval' argument 2 names different: declaration 'variable' definition 'var'. Halide-17.0.1/src/Solve.cpp:1205:44: style:inconclusive: Function 'and_condition_over_domain' argument 1 names different: declaration 'c' definition 'e'. [funcArgNamesDifferent] Halide-17.0.1/src/Solve.h:48:44: note: Function 'and_condition_over_domain' argument 1 names different: declaration 'c' definition 'e'. Halide-17.0.1/src/Solve.cpp:1205:44: note: Function 'and_condition_over_domain' argument 1 names different: declaration 'c' definition 'e'. Halide-17.0.1/src/Solve.cpp:1448:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/src/Solve.cpp:1261:10: note: Shadowed declaration Halide-17.0.1/src/Solve.cpp:1448:14: note: Shadow variable Halide-17.0.1/src/Solve.cpp:1449:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/src/Solve.cpp:1262:10: note: Shadowed declaration Halide-17.0.1/src/Solve.cpp:1449:14: note: Shadow variable Halide-17.0.1/src/Solve.cpp:1450:14: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/src/Solve.cpp:1263:10: note: Shadowed declaration Halide-17.0.1/src/Solve.cpp:1450:14: note: Shadow variable Halide-17.0.1/src/Solve.cpp:1459:22: style: Local variable 'solved' shadows outer variable [shadowVariable] Halide-17.0.1/src/Solve.cpp:1341:18: note: Shadowed declaration Halide-17.0.1/src/Solve.cpp:1459:22: note: Shadow variable Halide-17.0.1/src/Solve.cpp:1316:18: style: Variable 'in' can be declared as const array [constVariable] Halide-17.0.1/src/Solve.cpp:1426:25: style: Variable 'result' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Solve.cpp:1459:29: style: Variable 'solved' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Substitute.cpp:28:5: style: Class 'Substitute' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Tracing.cpp:332:5: style: Class 'RemoveRealizeOverOutput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/Tracing.cpp:296:22: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/Tracing.cpp:296:22: note: Shadow variable Halide-17.0.1/src/Tracing.cpp:297:22: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/Tracing.cpp:297:22: note: Shadow variable Halide-17.0.1/src/Tracing.cpp:352:18: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/Tracing.cpp:352:18: note: Shadow variable Halide-17.0.1/src/Tracing.cpp:225:22: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Tracing.cpp:324:39: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/TrimNoOps.cpp:67:10: performance:inconclusive: Technically the member function 'Halide::Internal::::IsNoOp::make_and' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/TrimNoOps.cpp:77:10: performance:inconclusive: Technically the member function 'Halide::Internal::::IsNoOp::make_or' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/TrimNoOps.cpp:52:5: style: Class 'LoadsFromBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/TrimNoOps.cpp:107:18: style: Local variable 'is_no_op' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:65:6: note: Shadowed declaration Halide-17.0.1/src/TrimNoOps.cpp:107:18: note: Shadow variable Halide-17.0.1/src/TrimNoOps.cpp:337:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/TrimNoOps.cpp:337:14: note: Shadow variable Halide-17.0.1/src/TrimNoOps.cpp:367:16: style: Local variable 'is_no_op' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:65:6: note: Shadowed declaration Halide-17.0.1/src/TrimNoOps.cpp:367:16: note: Shadow variable Halide-17.0.1/src/Target.cpp:159:16: style: Condition 'use_64_bits' is always true [knownConditionTrueFalse] Halide-17.0.1/src/Target.cpp:158:40: note: Assignment 'use_64_bits=sizeof(unsigned long)==8', assigned value is 1 Halide-17.0.1/src/Target.cpp:159:16: note: Condition 'use_64_bits' is always true Halide-17.0.1/src/TrimNoOps.cpp:251:23: style: Variable 'test' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Target.cpp:872:35: style:inconclusive: Function 'Target' argument 1 names different: declaration 's' definition 'target'. [funcArgNamesDifferent] Halide-17.0.1/src/Target.h:198:40: note: Function 'Target' argument 1 names different: declaration 's' definition 'target'. Halide-17.0.1/src/Target.cpp:872:35: note: Function 'Target' argument 1 names different: declaration 's' definition 'target'. Halide-17.0.1/src/Target.cpp:341:55: performance: Function parameter 't' should be passed by const reference. [passedByValue] Halide-17.0.1/src/Target.cpp:371:49: performance: Function parameter 't' should be passed by const reference. [passedByValue] Halide-17.0.1/src/Target.cpp:376:57: performance: Function parameter 't' should be passed by const reference. [passedByValue] Halide-17.0.1/src/Target.cpp:394:51: performance: Function parameter 't' should be passed by const reference. [passedByValue] Halide-17.0.1/src/Target.cpp:584:33: style: Parameter 't' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/Target.cpp:573:9: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] Halide-17.0.1/src/Target.cpp:897:46: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Target.cpp:916:40: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Target.cpp:923:36: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Target.cpp:930:59: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Target.cpp:1028:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Target.cpp:1037:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/UnifyDuplicateLets.cpp:80:13: style: Condition '!is_impure' is always true [knownConditionTrueFalse] Halide-17.0.1/src/UnifyDuplicateLets.cpp:73:21: note: Assignment 'is_impure=false', assigned value is 0 Halide-17.0.1/src/UnifyDuplicateLets.cpp:80:13: note: Condition '!is_impure' is always true Halide-17.0.1/src/UnifyDuplicateLets.cpp:92:14: style: Redundant initialization for 'body'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/UnifyDuplicateLets.cpp:75:19: note: body is initialized Halide-17.0.1/src/UnifyDuplicateLets.cpp:92:14: note: body is overwritten Halide-17.0.1/src/Type.h:516:10: performance:inconclusive: Technically the member function 'Halide::Type::is_min' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/Type.cpp:98:12: note: Technically the member function 'Halide::Type::is_min' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/Type.h:516:10: note: Technically the member function 'Halide::Type::is_min' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/UniquifyVariableNames.cpp:117:5: style: Class 'UniquifyVariableNames' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/UnpackBuffers.cpp:111:26: style: Local variable 'args' shadows outer variable [shadowVariable] Halide-17.0.1/src/UnpackBuffers.cpp:79:22: note: Shadowed declaration Halide-17.0.1/src/UnpackBuffers.cpp:111:26: note: Shadow variable Halide-17.0.1/src/UnpackBuffers.cpp:76:16: style: Variable 'p' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/UniquifyVariableNames.cpp:90:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/UniquifyVariableNames.cpp:90:14: note: Shadow variable Halide-17.0.1/src/UniquifyVariableNames.cpp:200:44: style: Variable 'y_3' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/Util.cpp:855:5: error: Non-local variable 'run_with_large_stack_arg' will use pointer to local variable 'args'. [danglingLifetime] Halide-17.0.1/src/Util.cpp:855:32: note: Address of variable taken here. Halide-17.0.1/src/Util.cpp:825:7: note: Variable created here. Halide-17.0.1/src/Util.cpp:855:5: note: Non-local variable 'run_with_large_stack_arg' will use pointer to local variable 'args'. Halide-17.0.1/src/Util.cpp:847:11: portability: Obsolescent function 'getcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedgetcontextCalled] Halide-17.0.1/src/Util.cpp:856:5: portability: Obsolescent function 'makecontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedmakecontextCalled] Halide-17.0.1/src/Util.cpp:858:11: portability: Obsolescent function 'swapcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedswapcontextCalled] Halide-17.0.1/src/Util.cpp:966:9: error: Return value of allocation function 'dlopen' is not stored. [leakReturnValNotUsed] Halide-17.0.1/src/Util.cpp:529:53: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Util.cpp:557:53: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Util.cpp:597:53: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Util.cpp:828:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Util.cpp:844:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/Util.cpp:709:21: style: Local variable 'stack_size' shadows outer variable [shadowVariable] Halide-17.0.1/src/Util.cpp:717:3: note: Shadowed declaration Halide-17.0.1/src/Util.cpp:709:21: note: Shadow variable Halide-17.0.1/src/Util.cpp:276:31: style: Parameter 'stack_ptr' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/Util.cpp:285:19: style: Consider using std::replace_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/VectorizeLoops.cpp:1506:16: debug: Failed to instantiate template "visit_let". The checking continues anyway. [templateInstantiation] Halide-17.0.1/src/UnsafePromises.cpp:40:5: style: Class 'LowerUnsafePromises' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/autoschedulers/adams2019/AutoSchedule.cpp:609:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_AUTOSCHEDULER is a macro then please configure it. [unknownMacro] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:263:5: warning: Member variable 'Span::min_' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:263:5: warning: Member variable 'Span::max_' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:263:5: warning: Member variable 'Span::constant_extent_' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:347:9: warning: Member variable 'Layout::total_size' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:347:9: warning: Member variable 'Layout::computed_offset' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:484:22: warning: Member variable 'Stage::node' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:484:22: warning: Member variable 'Stage::index' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:484:22: warning: Member variable 'Stage::vector_size' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:484:22: warning: Member variable 'Stage::id' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:484:22: warning: Member variable 'Stage::max_id' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/Featurization.h:24:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Featurization.h:28:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Featurization.h:170:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Featurization.h:174:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Cache.cpp:10:78: style: Parameter 'accept_child' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/autoschedulers/adams2019/Cache.cpp:82:16: style: Variable 'child' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:94:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/Cache.cpp:23:62: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/Cache.cpp:83:62: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.h:33:5: warning: Member variable 'DefaultCostModel::cursor' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.h:33:5: warning: Member variable 'DefaultCostModel::num_stages' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.h:33:5: warning: Member variable 'DefaultCostModel::num_cores' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:68:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:311:50: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:382:78: style:inconclusive: Function 'make_default_cost_model' argument 1 names different: declaration 'weights_in_dir' definition 'weights_in_path'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.h:70:78: note: Function 'make_default_cost_model' argument 1 names different: declaration 'weights_in_dir' definition 'weights_in_path'. Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:382:78: note: Function 'make_default_cost_model' argument 1 names different: declaration 'weights_in_dir' definition 'weights_in_path'. Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:383:78: style:inconclusive: Function 'make_default_cost_model' argument 2 names different: declaration 'weights_out_dir' definition 'weights_out_path'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.h:71:78: note: Function 'make_default_cost_model' argument 2 names different: declaration 'weights_out_dir' definition 'weights_out_path'. Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:383:78: note: Function 'make_default_cost_model' argument 2 names different: declaration 'weights_out_dir' definition 'weights_out_path'. Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:58:9: style: Local variable 'num_stages' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.h:21:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:58:9: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/DefaultCostModel.cpp:60:37: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/WasmExecutor.cpp:2300:9: performance:inconclusive: Technically the member function 'Halide::Internal::WasmModuleContents::run' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/WasmExecutor.cpp:2538:25: note: Technically the member function 'Halide::Internal::WasmModuleContents::run' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/WasmExecutor.cpp:2300:9: note: Technically the member function 'Halide::Internal::WasmModuleContents::run' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/CodeGen_Posix.h:18:5: style: Class 'CodeGen_Posix' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:368:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:373:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:378:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:318:25: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.h:129:13: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:318:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:722:25: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:622:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:722:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:808:41: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:622:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:808:41: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:911:26: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:622:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:911:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:1006:28: style: Variable 's2' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:385:33: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.back()' causes access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:385:33: note: Access out of bounds Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:386:18: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.pop_back()' causes access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:386:18: note: Access out of bounds Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:181:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:409:17: warning: Member variable 'Option::idle_core_wastage' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:409:17: warning: Member variable 'Option::entire' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:121:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:121:23: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:43:56: style: Local variable 'parent' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/State.h:26:31: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:43:56: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:597:27: style: Local variable 'vars' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:557:25: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:597:27: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:635:25: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:548:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:635:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:657:22: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:548:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:657:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:148:19: style: Variable 'feat' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:558:16: style: Variable 'p' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:435:39: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:468:29: style: Variable 'num_children' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:43:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:48:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:53:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:59:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:66:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:72:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:77:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:112:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:117:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:122:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:128:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:135:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:141:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:146:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:183:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/Weights.cpp:220:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/VectorizeLoops.cpp:327:22: style:inconclusive: Technically the member function 'Halide::Internal::::RewriteAccessToVectorAlloc::mutate_alignment' can be const. [functionConst] Halide-17.0.1/src/VectorizeLoops.cpp:375:25: debug: CheckClass::isMemberVar found used member variable 'lanes' with varid 0 [varid0] Halide-17.0.1/src/VectorizeLoops.cpp:498:10: performance:inconclusive: Technically the member function 'Halide::Internal::::VectorSubs::widen' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/VectorizeLoops.cpp:1389:5: style: Class 'VectorSubs' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/VectorizeLoops.cpp:1536:5: style: Class 'LiftVectorizableExprsOutOfSingleAtomicNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/VectorizeLoops.cpp:1561:5: style: Class 'LiftVectorizableExprsOutOfAllAtomicNodes' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/VectorizeLoops.cpp:1602:5: style: Class 'AllStoresInScope' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/VectorizeLoops.cpp:853:17: style: Condition 'vectorize_predicate' is always true [knownConditionTrueFalse] Halide-17.0.1/src/VectorizeLoops.cpp:850:40: note: Assignment 'vectorize_predicate=true', assigned value is 1 Halide-17.0.1/src/VectorizeLoops.cpp:853:17: note: Condition 'vectorize_predicate' is always true Halide-17.0.1/src/VectorizeLoops.cpp:1017:26: style: Condition 'for_type==op->for_type' is always true [knownConditionTrueFalse] Halide-17.0.1/src/VectorizeLoops.cpp:940:26: note: for_type is assigned 'op->for_type' here. Halide-17.0.1/src/VectorizeLoops.cpp:947:33: note: Assuming condition is false Halide-17.0.1/src/VectorizeLoops.cpp:1017:26: note: Condition 'for_type==op->for_type' is always true Halide-17.0.1/src/VectorizeLoops.cpp:1581:81: warning: Either the condition '!extent' is redundant or there is possible null pointer dereference: extent. [nullPointerRedundantCheck] Halide-17.0.1/src/VectorizeLoops.cpp:1574:17: note: Assuming that condition '!extent' is not redundant Halide-17.0.1/src/VectorizeLoops.cpp:1581:81: note: Null pointer dereference Halide-17.0.1/src/VectorizeLoops.cpp:115:27: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/VectorizeLoops.cpp:115:27: note: Shadow variable Halide-17.0.1/src/VectorizeLoops.cpp:125:27: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/VectorizeLoops.cpp:125:27: note: Shadow variable Halide-17.0.1/src/VectorizeLoops.cpp:942:14: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/VectorizeLoops.cpp:942:14: note: Shadow variable Halide-17.0.1/src/VectorizeLoops.cpp:950:18: style: Local variable 'body' shadows outer variable [shadowVariable] Halide-17.0.1/src/VectorizeLoops.cpp:945:14: note: Shadowed declaration Halide-17.0.1/src/VectorizeLoops.cpp:950:18: note: Shadow variable Halide-17.0.1/src/VectorizeLoops.cpp:1116:35: style: Local variable 'min' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:661:6: note: Shadowed declaration Halide-17.0.1/src/VectorizeLoops.cpp:1116:35: note: Shadow variable Halide-17.0.1/src/VectorizeLoops.cpp:1120:35: style: Local variable 'max' shadows outer function [shadowFunction] Halide-17.0.1/src/IROperator.h:626:6: note: Shadowed declaration Halide-17.0.1/src/VectorizeLoops.cpp:1120:35: note: Shadow variable Halide-17.0.1/src/VectorizeLoops.cpp:644:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/VectorizeLoops.cpp:721:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/VectorizeLoops.cpp:1031:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/VectorizeLoops.cpp:1058:18: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/VectorizeLoops.cpp:170:21: style: Variable 'ia' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:332:47: error: Invalid select() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:335:46: error: Invalid select() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:86:20: style: Redundant initialization for 'new_weight'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:60:28: note: new_weight is initialized Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:86:20: note: new_weight is overwritten Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:71:23: style: Redundant initialization for 'loss_gradient'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:66:31: note: loss_gradient is initialized Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:71:23: note: loss_gradient is overwritten Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1749:36: style: Redundant initialization for 'pure_var_tail_strategy'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1742:37: note: pure_var_tail_strategy is initialized Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1749:36: note: pure_var_tail_strategy is overwritten Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:460:26: style: Local variable 'w' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:196:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:460:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:456:21: style: Variable 'weights' can be declared as const array [constVariable] Halide-17.0.1/src/autoschedulers/adams2019/cost_model_generator.cpp:51:15: style: Consider using std::generate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:256:22: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:256:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:258:21: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:54:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:258:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:349:26: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:349:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:353:26: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:353:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:368:25: style: Local variable 'stage' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:60:37: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:368:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:369:25: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:369:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:396:29: style: Local variable 'p' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:381:25: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:396:29: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:478:25: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:54:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:478:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:530:21: style: Local variable 'vector_dim' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:72:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:530:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:568:21: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:54:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:568:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:586:22: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:586:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:587:15: style: Local variable 'feat' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:442:23: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:587:15: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:590:22: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:590:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:592:19: style: Local variable 'feat' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:442:23: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:592:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:598:19: style: Local variable 'feat' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:442:23: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:598:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:707:29: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:54:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:707:29: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:855:26: style: Local variable 'p' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:661:25: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:855:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1242:17: style: Local variable 'calls' shadows outer function [shadowFunction] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:161:10: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1242:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1259:17: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:54:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1259:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1270:19: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1270:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1793:50: style: Local variable 'parent' shadows outer argument [shadowArgument] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1665:38: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1793:50: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1912:19: style: Local variable 's' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1719:15: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1912:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1928:23: style: Local variable 'state' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1716:15: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1928:23: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1941:23: style: Local variable 'state' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1716:15: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1941:23: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1967:21: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1967:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1983:21: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1983:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:2012:22: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:57:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:2012:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:2077:22: style: Local variable 'stage' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:60:37: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:2077:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:2096:17: style: Local variable 'vector_dim' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.h:72:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:2096:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1501:19: performance: Range variable 't' should be declared as const reference. [iterateByValue] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:350:19: style: Variable 'feat' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:587:15: style: Variable 'feat' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1642:48: style: Variable 'n' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1672:23: style: Variable 'state' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:515:21: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:555:33: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:675:39: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1137:26: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1161:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1174:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1184:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1218:29: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1616:22: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1779:46: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1913:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1935:35: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:2079:21: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:2104:29: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:246:36: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:84:24: performance:inconclusive: Technically the member function '::Flags::parse_floats' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:126:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:183:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:211:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:212:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:126:27: portability: Casting from const float * to const unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:439:37: style: The comparison 'kModels > 1' is always false. [knownConditionTrueFalse] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:104:25: note: 'kModels' is assigned value '1' here. Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:439:37: note: The comparison 'kModels > 1' is always false. Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:545:25: style: The comparison 'kModels > 1' is always false. [knownConditionTrueFalse] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:104:25: note: 'kModels' is assigned value '1' here. Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:545:25: note: The comparison 'kModels > 1' is always false. Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:567:25: style: The comparison 'kModels > 1' is always false. [knownConditionTrueFalse] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:104:25: note: 'kModels' is assigned value '1' here. Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:567:25: note: The comparison 'kModels > 1' is always false. Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:472:31: style: The scope of the variable 'loss' can be reduced. [variableScope] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:253:19: style: Local variable 'best' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:167:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:253:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:479:34: style: Local variable 'it' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:458:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:479:34: note: Shadow variable Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:482:39: style: Variable 'sched' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:497:40: style: Variable 'sched' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:498:39: style: Variable 'ref' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:270:19: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/adams2019/retrain_cost_model.cpp:324:26: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/AutoSchedule.cpp:714:1: error: There is an unknown macro here somewhere. Configuration is required. If REGISTER_AUTOSCHEDULER is a macro then please configure it. [unknownMacro] Halide-17.0.1/src/autoschedulers/adams2019/test_function_dag.cpp:24:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/test_function_dag.cpp:26:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/test_function_dag.cpp:102:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/test_function_dag.cpp:106:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/test_function_dag.cpp:108:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/adams2019/test_function_dag.cpp:26:20: style: Variable 'in' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/autoschedulers/adams2019/test_function_dag.cpp:106:24: style: Variable 'in1' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/autoschedulers/adams2019/test_function_dag.cpp:108:24: style: Variable 'in2' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:293:5: warning: Member variable 'Span::min_' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:293:5: warning: Member variable 'Span::max_' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:293:5: warning: Member variable 'Span::constant_extent_' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:375:9: warning: Member variable 'Layout::total_size' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:375:9: warning: Member variable 'Layout::computed_offset' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:515:22: warning: Member variable 'Stage::node' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:515:22: warning: Member variable 'Stage::index' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:515:22: warning: Member variable 'Stage::vector_size' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:515:22: warning: Member variable 'Stage::id' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:515:22: warning: Member variable 'Stage::max_id' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.h:32:5: warning: Member variable 'DefaultCostModel::cursor' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.h:32:5: warning: Member variable 'DefaultCostModel::num_stages' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.h:32:5: warning: Member variable 'DefaultCostModel::num_cores' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/Featurization.h:26:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Featurization.h:30:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Featurization.h:177:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Featurization.h:181:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:70:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:341:50: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:413:78: style:inconclusive: Function 'make_default_cost_model' argument 2 names different: declaration 'weights_in_dir' definition 'weights_in_path'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.h:71:78: note: Function 'make_default_cost_model' argument 2 names different: declaration 'weights_in_dir' definition 'weights_in_path'. Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:413:78: note: Function 'make_default_cost_model' argument 2 names different: declaration 'weights_in_dir' definition 'weights_in_path'. Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:414:78: style:inconclusive: Function 'make_default_cost_model' argument 3 names different: declaration 'weights_out_dir' definition 'weights_out_path'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.h:72:78: note: Function 'make_default_cost_model' argument 3 names different: declaration 'weights_out_dir' definition 'weights_out_path'. Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:414:78: note: Function 'make_default_cost_model' argument 3 names different: declaration 'weights_out_dir' definition 'weights_out_path'. Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:169:26: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:136:13: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:169:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:56:9: style: Local variable 'num_stages' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.h:17:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:56:9: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:148:9: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:169:9: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/DefaultCostModel.cpp:59:24: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:80:21: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:81:21: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Halide-17.0.1/src/autoschedulers/anderson2021/ThreadInfo.h:33:5: warning: Member variable 'ThreadTileOption::max_idle_lane_wastage' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:296:13: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:288:13: note: First condition Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:296:13: note: Second condition Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:385:13: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:378:13: note: First condition Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:385:13: note: Second condition Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:375:13: style: Local variable 'sectors_accessed' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:402:62: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:375:13: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:193:13: style: Variable 'thread_ids' can be declared as const array [constVariable] Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:278:13: style: Variable 'thread_ids' can be declared as const array [constVariable] Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:234:40: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/GPUMemInfo.h:316:42: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:206:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/GPULoopInfo.cpp:24:33: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/GPULoopInfo.cpp:84:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:368:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:373:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:378:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:320:25: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.h:136:13: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:320:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:715:25: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:612:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:715:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:801:41: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:612:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:801:41: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:903:26: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:612:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:903:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:1000:28: style: Variable 's2' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:1012:16: style: Variable 'node' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:385:33: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.back()' causes access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:385:33: note: Access out of bounds Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:386:18: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.pop_back()' causes access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:386:18: note: Access out of bounds Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:181:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:502:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:1247:47: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:1273:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:1281:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/Simplify_Div.cpp:17:21: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify_Div.cpp:17:21: note: Shadow variable Halide-17.0.1/src/Simplify_Div.cpp:23:21: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify_Div.cpp:23:21: note: Shadow variable Halide-17.0.1/src/Simplify_Div.cpp:29:21: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify_Div.cpp:29:21: note: Shadow variable Halide-17.0.1/src/Simplify_Div.cpp:35:21: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify_Div.cpp:35:21: note: Shadow variable Halide-17.0.1/src/Simplify_Div.cpp:46:21: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify_Div.cpp:46:21: note: Shadow variable Halide-17.0.1/src/Simplify_Div.cpp:61:21: style: Local variable 'v' shadows outer variable [shadowVariable] Halide-17.0.1/src/Simplify_Internal.h:208:24: note: Shadowed declaration Halide-17.0.1/src/Simplify_Div.cpp:61:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.h:58:9: warning: Member variable 'ParallelTileOption::idle_core_wastage' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.h:58:9: warning: Member variable 'ParallelTileOption::min_parallelism' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.h:58:9: warning: Member variable 'ParallelTileOption::max_parallelism' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/autoschedulers/anderson2021/State.h:261:32: style:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::StateQueue::top' can be const. [functionConst] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.h:88:29: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::SearchSpace::generate_compute_root_serial_tilings' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:658:38: note: Technically the member function 'Halide::Internal::Autoscheduler::SearchSpace::generate_compute_root_serial_tilings' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.h:88:29: note: Technically the member function 'Halide::Internal::Autoscheduler::SearchSpace::generate_compute_root_serial_tilings' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNestParser.h:71:25: style: Local variable 'loop_nest' shadows outer argument [shadowArgument] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNestParser.h:18:48: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNestParser.h:71:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:31:16: style: Variable 'c' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:54:96: style: Parameter 'accept_child' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:190:104: style: Parameter 'loop_nests' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:212:87: style: Parameter 'accept_child' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:674:74: style: Parameter 'accept_child' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/autoschedulers/anderson2021/State.h:45:31: style: Parameter 'new_loop_nest' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:32:54: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:63:54: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:349:29: style: Variable 'must_inline' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:352:29: style: Variable 'must_inline' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:471:25: style: Variable 'num_children' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:529:33: style: Variable 'num_children' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/anderson2021/Tiling.cpp:10:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.h:95:10: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::State::compute_loop_nest_parents' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:22:13: note: Technically the member function 'Halide::Internal::Autoscheduler::State::compute_loop_nest_parents' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:95:10: note: Technically the member function 'Halide::Internal::Autoscheduler::State::compute_loop_nest_parents' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:164:13: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::State::get_shared_mem_alloc_size' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:638:16: note: Technically the member function 'Halide::Internal::Autoscheduler::State::get_shared_mem_alloc_size' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:164:13: note: Technically the member function 'Halide::Internal::Autoscheduler::State::get_shared_mem_alloc_size' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:190:10: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::State::fuse_gpu_blocks' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:830:13: note: Technically the member function 'Halide::Internal::Autoscheduler::State::fuse_gpu_blocks' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:190:10: note: Technically the member function 'Halide::Internal::Autoscheduler::State::fuse_gpu_blocks' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:196:10: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::State::mark_gpu_blocks' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:904:13: note: Technically the member function 'Halide::Internal::Autoscheduler::State::mark_gpu_blocks' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:196:10: note: Technically the member function 'Halide::Internal::Autoscheduler::State::mark_gpu_blocks' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:201:10: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::State::mark_gpu_threads' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:927:13: note: Technically the member function 'Halide::Internal::Autoscheduler::State::mark_gpu_threads' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:201:10: note: Technically the member function 'Halide::Internal::Autoscheduler::State::mark_gpu_threads' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:206:10: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::State::can_fuse_gpu' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1027:13: note: Technically the member function 'Halide::Internal::Autoscheduler::State::can_fuse_gpu' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.h:206:10: note: Technically the member function 'Halide::Internal::Autoscheduler::State::can_fuse_gpu' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:585:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:585:23: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:447:17: style: Local variable 'parent' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/State.h:78:31: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:447:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:867:21: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:847:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:867:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:896:17: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:847:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:896:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1104:27: style: Local variable 'vars' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1064:25: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1104:27: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1164:22: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1055:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1164:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1232:35: style: Local variable 'vars' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1064:25: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1232:35: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:763:19: style: Variable 'feat' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:866:16: style: Variable 'block_var_assignment' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1065:16: style: Variable 'p' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1281:16: style: Variable 'p' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:908:9: style: Variable 'max_blocks' can be declared as const array [constVariable] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:43:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:48:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:53:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:59:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:66:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:72:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:77:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:112:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:117:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:122:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:128:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:135:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:141:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:146:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:183:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/Weights.cpp:220:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:122:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:178:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:183:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:194:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:319:50: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:471:30: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:616:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:617:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:661:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:679:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:696:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1030:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1205:49: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1234:26: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:15:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:42:14: style: Redundant initialization for 'num_nans'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:41:18: note: num_nans is initialized Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:42:14: note: num_nans is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:44:14: style: Variable 'num_nans' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:42:14: note: num_nans is assigned Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:44:14: note: num_nans is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:45:14: style: Variable 'num_nans' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:44:14: note: num_nans is assigned Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:45:14: note: num_nans is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:47:14: style: Variable 'num_nans' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:45:14: note: num_nans is assigned Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:47:14: note: num_nans is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:48:14: style: Variable 'num_nans' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:47:14: note: num_nans is assigned Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:48:14: note: num_nans is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/check_weights.cpp:20:54: style: Parameter 'f' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:150:25: style: Local variable 'thread' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:139:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:150:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:151:25: style: Local variable 'thread_bounds_g' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:140:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:151:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:152:25: style: Local variable 'thread_bounds_h' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:141:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:152:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:245:25: style: Local variable 'thread' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:197:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:245:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:246:25: style: Local variable 'thread_bounds_g' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:198:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:246:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:250:25: style: Local variable 'thread_bounds_g_edge' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:232:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:250:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:254:25: style: Local variable 'thread_bounds_f_g_edge' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:238:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:254:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:306:25: style: Local variable 'thread' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:297:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:306:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:307:25: style: Local variable 'thread_bounds_g' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:298:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/bounds.cpp:307:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:115:25: style: Local variable 'thread' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:104:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:115:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:116:25: style: Local variable 'thread_bounds_g' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:105:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:116:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:117:25: style: Local variable 'thread_bounds_h' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:106:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/test/storage_strides.cpp:117:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/test/thread_info.cpp:18:30: style: Unused variable: loop_extents [unusedVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:241:19: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::get_gpu_memory_type' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:301:25: note: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::get_gpu_memory_type' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:241:19: note: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::get_gpu_memory_type' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:327:10: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::can_vectorize_access_for_innermost_dim' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:629:16: note: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::can_vectorize_access_for_innermost_dim' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:327:10: note: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::can_vectorize_access_for_innermost_dim' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:386:12: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::compute_local_mem_stride' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:734:18: note: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::compute_local_mem_stride' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:386:12: note: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::compute_local_mem_stride' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:393:33: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::get_block_and_serial_extents' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1318:39: note: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::get_block_and_serial_extents' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:393:33: note: Technically the member function 'Halide::Internal::Autoscheduler::LoopNest::get_block_and_serial_extents' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3562:16: style: Redundant initialization for 'extent'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3561:24: note: extent is initialized Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3562:16: note: extent is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3995:36: style: Redundant initialization for 'pure_var_tail_strategy'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3988:37: note: pure_var_tail_strategy is initialized Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3995:36: note: pure_var_tail_strategy is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:400:45: style:inconclusive: Function 'get_sites' argument 3 names different: declaration 'shared_mem_alloc_sizes' definition 'total_shared_mem_alloc_sizes'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:261:39: note: Function 'get_sites' argument 3 names different: declaration 'shared_mem_alloc_sizes' definition 'total_shared_mem_alloc_sizes'. Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:400:45: note: Function 'get_sites' argument 3 names different: declaration 'shared_mem_alloc_sizes' definition 'total_shared_mem_alloc_sizes'. Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1222:49: style:inconclusive: Function 'compute_mem_load_features < GlobalMem >' argument 8 names different: declaration 'serial_loop_extents' definition 'points_accessed_per_thread'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:383:43: note: Function 'compute_mem_load_features < GlobalMem >' argument 8 names different: declaration 'serial_loop_extents' definition 'points_accessed_per_thread'. Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1222:49: note: Function 'compute_mem_load_features < GlobalMem >' argument 8 names different: declaration 'serial_loop_extents' definition 'points_accessed_per_thread'. Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1222:49: style:inconclusive: Function 'compute_mem_load_features < SharedMem >' argument 8 names different: declaration 'serial_loop_extents' definition 'points_accessed_per_thread'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:383:43: note: Function 'compute_mem_load_features < SharedMem >' argument 8 names different: declaration 'serial_loop_extents' definition 'points_accessed_per_thread'. Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1222:49: note: Function 'compute_mem_load_features < SharedMem >' argument 8 names different: declaration 'serial_loop_extents' definition 'points_accessed_per_thread'. Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:464:16: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:464:16: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:469:26: style: Local variable 'stage' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:111:37: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:469:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:777:13: style: Local variable 'storage_stride' shadows outer function [shadowFunction] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:293:12: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:777:13: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1564:17: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1564:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1708:22: style: Local variable 'stage' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:111:37: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1708:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1727:17: style: Local variable 'vector_dim' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:123:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1727:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1795:22: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1795:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1841:17: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1841:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1911:22: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1911:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1913:21: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1913:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1983:37: style: Local variable 'stage' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:111:37: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1983:37: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2027:26: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2027:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2031:26: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2031:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2046:25: style: Local variable 'stage' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:111:37: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2046:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2047:25: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2047:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2074:29: style: Local variable 'p' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2059:25: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2074:29: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2152:25: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2152:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2212:25: style: Local variable 'site' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2179:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2212:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2218:21: style: Local variable 'vector_dim' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:123:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2218:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2255:21: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2255:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2290:22: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2290:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2291:15: style: Local variable 'feat' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2125:23: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2291:15: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2294:22: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2294:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2296:19: style: Local variable 'feat' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2125:23: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2296:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2302:19: style: Local variable 'feat' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2125:23: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2302:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2363:25: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2363:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2412:56: style: Local variable 'edge_chain' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2391:43: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2412:56: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2475:29: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2475:29: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2683:26: style: Local variable 'p' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2401:25: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2683:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3011:19: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3011:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3322:17: style: Local variable 'calls' shadows outer function [shadowFunction] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:507:10: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3322:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3344:17: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3344:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3356:19: style: Local variable 'node' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:108:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3356:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3385:14: style: Local variable 'all_ones' shadows outer function [shadowFunction] Halide-17.0.1/src/autoschedulers/anderson2021/Tiling.h:11:6: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3385:14: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3583:25: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3583:25: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3806:17: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3806:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3816:17: style: Local variable 'bounds' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.h:105:28: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3816:17: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4053:50: style: Local variable 'parent' shadows outer argument [shadowArgument] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3904:38: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4053:50: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4172:19: style: Local variable 's' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3963:15: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4172:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4191:23: style: Local variable 'state' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3960:15: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4191:23: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4209:23: style: Local variable 'state' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3960:15: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4209:23: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4230:52: style: Local variable 'edge_chain' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4219:44: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4230:52: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:199:20: style: Variable 'c' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:464:16: style: Variable 'node' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2028:19: style: Variable 'feat' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2291:15: style: Variable 'feat' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3763:48: style: Variable 'n' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3914:23: style: Variable 'state' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:89:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:347:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:506:120: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:530:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:538:74: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1357:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1371:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1710:21: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1733:29: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2203:21: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:2243:33: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3217:26: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3241:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3254:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3264:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3298:29: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3600:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3742:22: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3826:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3831:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:3848:24: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4039:46: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4173:23: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4203:35: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4271:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4278:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:1901:36: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] Halide-17.0.1/src/autoschedulers/anderson2021/test_function_dag.cpp:24:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/test_function_dag.cpp:26:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/test_function_dag.cpp:102:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/test_function_dag.cpp:106:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/test_function_dag.cpp:108:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/test_function_dag.cpp:26:20: style: Variable 'in' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/autoschedulers/anderson2021/test_function_dag.cpp:106:24: style: Variable 'in1' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/autoschedulers/anderson2021/test_function_dag.cpp:108:24: style: Variable 'in2' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:102:24: performance:inconclusive: Technically the member function '::Flags::parse_floats' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/common/featurization_to_sample.cpp:34:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/common/featurization_to_sample.cpp:35:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/common/featurization_to_sample.cpp:36:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/common/featurization_to_sample.cpp:34:15: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:148:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:207:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:237:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:238:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:148:27: portability: Casting from const float * to const unsigned int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:666:25: style: The comparison 'kModels > 1' is always false. [knownConditionTrueFalse] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:122:25: note: 'kModels' is assigned value '1' here. Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:666:25: note: The comparison 'kModels > 1' is always false. Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:692:25: style: The comparison 'kModels > 1' is always false. [knownConditionTrueFalse] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:122:25: note: 'kModels' is assigned value '1' here. Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:692:25: note: The comparison 'kModels > 1' is always false. Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:592:31: style: The scope of the variable 'loss' can be reduced. [variableScope] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:287:19: style: Local variable 'best' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:188:9: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:287:19: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:599:34: style: Local variable 'it' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:576:30: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:599:34: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:602:39: style: Variable 'sched' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:617:40: style: Variable 'sched' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:618:39: style: Variable 'ref' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:305:19: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:371:26: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:442:36: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/anderson2021/retrain_cost_model.cpp:446:31: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:116:10: performance:inconclusive: Technically the member function 'PerfectHashMap < Key , int , 4 , PerfectHashMapAsserter >::contains_empty' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:207:10: performance:inconclusive: Technically the member function 'PerfectHashMap < Key , int , 4 , PerfectHashMapAsserter >::check_key' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/common/test_perfect_hash_map.cpp:58:62: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:391:9: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:392:9: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:393:13: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:396:20: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:402:9: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:411:9: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:412:9: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:413:13: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:416:20: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:422:9: error:inconclusive: Invalid iterator 'it' used. [eraseDereference] Halide-17.0.1/src/autoschedulers/common/test_perfect_hash_map.cpp:50:50: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:394:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/autoschedulers/common/PerfectHashMap.h:414:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/src/runtime/cpu_features.h:17:24: performance:inconclusive: Technically the member function 'Halide::Runtime::Internal::CpuFeatures::set_known' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/cpu_features.h:21:24: performance:inconclusive: Technically the member function 'Halide::Runtime::Internal::CpuFeatures::set_available' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/cpu_features.h:25:24: performance:inconclusive: Technically the member function 'Halide::Runtime::Internal::CpuFeatures::test_known' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/cpu_features.h:29:24: performance:inconclusive: Technically the member function 'Halide::Runtime::Internal::CpuFeatures::test_available' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/allocation_cache.cpp:41:53: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/linux_clock.cpp:80:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Halide-17.0.1/src/runtime/linux_clock.cpp:79:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1110:11: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::merge_groups' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2069:33: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::merge_groups' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1110:11: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::merge_groups' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1146:15: style:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::get_bounds' can be const. [functionConst] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1789:24: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::get_bounds' can be const. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1146:15: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::get_bounds' can be const. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1153:23: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::bounds_to_estimates' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2259:32: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::bounds_to_estimates' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1153:23: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::bounds_to_estimates' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1157:31: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::generate_tile_configs' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1524:40: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::generate_tile_configs' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1157:31: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::generate_tile_configs' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1226:32: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::split_dim' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2343:41: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::split_dim' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1226:32: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::split_dim' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1242:10: performance:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::reorder_dims' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2512:19: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::reorder_dims' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1242:10: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::reorder_dims' can be static (but you may consider moving to unnamed namespace). Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1247:10: style:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_pipeline_bounds' can be const. [functionConst] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1279:19: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_pipeline_bounds' can be const. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1247:10: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_pipeline_bounds' can be const. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1248:10: style:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_pipeline_graph' can be const. [functionConst] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1262:19: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_pipeline_graph' can be const. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1248:10: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_pipeline_graph' can be const. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1249:10: style:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_grouping' can be const. [functionConst] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1252:19: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_grouping' can be const. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1249:10: note: Technically the member function 'Halide::Internal::Autoscheduler::::Partitioner::disp_grouping' can be const. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:3425:10: style:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::Mullapudi2016::operator()' can be const. [functionConst] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:366:36: style: Redundant condition: only_regions_computed. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2773:9: style: Condition 'nested_parallelism' is always true [knownConditionTrueFalse] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2772:31: note: Assignment 'nested_parallelism=true', assigned value is 1 Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2773:9: note: Condition 'nested_parallelism' is always true Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1789:49: style:inconclusive: Function 'get_bounds' argument 1 names different: declaration 'stg' definition 's'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1146:40: note: Function 'get_bounds' argument 1 names different: declaration 'stg' definition 's'. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1789:49: note: Function 'get_bounds' argument 1 names different: declaration 'stg' definition 's'. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1800:65: style:inconclusive: Function 'get_bounds_from_tile_sizes' argument 1 names different: declaration 'stg' definition 's'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1149:56: note: Function 'get_bounds_from_tile_sizes' argument 1 names different: declaration 'stg' definition 's'. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1800:65: note: Function 'get_bounds_from_tile_sizes' argument 1 names different: declaration 'stg' definition 's'. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2125:77: style:inconclusive: Function 'evaluate_choice' argument 1 names different: declaration 'group' definition 'choice'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1136:55: note: Function 'evaluate_choice' argument 1 names different: declaration 'group' definition 'choice'. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2125:77: note: Function 'evaluate_choice' argument 1 names different: declaration 'group' definition 'choice'. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2971:63: style:inconclusive: Function 'analyze_spatial_locality' argument 2 names different: declaration 'parent_bounds' definition 'allocation_bounds'. [funcArgNamesDifferent] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1195:52: note: Function 'analyze_spatial_locality' argument 2 names different: declaration 'parent_bounds' definition 'allocation_bounds'. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2971:63: note: Function 'analyze_spatial_locality' argument 2 names different: declaration 'parent_bounds' definition 'allocation_bounds'. Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:423:29: style: Local variable 'f' shadows outer argument [shadowArgument] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:393:54: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:423:29: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:425:22: style: Local variable 'stage_num' shadows outer argument [shadowArgument] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:393:61: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:425:22: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:428:29: style: Local variable 'iter' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:403:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:428:29: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:572:18: style: Local variable 'iter' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:403:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:572:18: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:667:16: style: Local variable 'f' shadows outer argument [shadowArgument] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:611:55: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:667:16: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1754:26: style: Local variable 'group' shadows outer function [shadowFunction] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1132:10: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1754:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2079:11: style: Local variable 'group' shadows outer function [shadowFunction] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1132:10: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2079:11: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2139:11: style: Local variable 'group' shadows outer function [shadowFunction] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1132:10: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2139:11: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:3339:21: style: Local variable 'costs' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:3304:17: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:3339:21: note: Shadow variable Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2335:29: performance: Function parameter 'name' should be passed by const reference. [passedByValue] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:356:48: style: Parameter 'curr_regions' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1719:20: style: Variable 'c' can be declared as reference to const [constVariableReference] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:91:15: style: Consider using std::replace_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1674:54: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1843:41: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1927:46: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2073:23: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2076:23: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2141:15: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2439:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2740:22: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2743:22: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2939:27: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:3434:30: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1634:22: style: Variable 'best_group' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:1657:24: style: Variable 'best_group' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/mullapudi2016/AutoSchedule.cpp:2639:12: style: Variable 'out_f_name' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:933:10: style:inconclusive: Technically the member function 'Halide::Internal::Autoscheduler::Li2018::operator()' can be const. [functionConst] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:645:35: style: Local variable 'target' shadows outer argument [shadowArgument] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:575:35: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:645:35: note: Shadow variable Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:80:42: style: Parameter 'schedule_source' can be declared as reference to const [constParameterReference] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:22:15: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:246:22: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:261:18: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:453:18: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:605:25: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:613:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:938:21: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:784:37: style: Variable 'checked_associative' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/runtime/printer.h:256:14: warning: Member variable 'StackPrinter::scratch' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/runtime/printer.h:174:14: performance:inconclusive: Technically the member function 'Halide::Runtime::Internal::::Printer::capacity' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/printer.h:189:17: performance:inconclusive: Technically the member function 'Halide::Runtime::Internal::::Printer::allocation_error' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/printer.h:57:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/printer.h:221:46: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/d3d12compute.cpp:6:0: error: #error Direct3D 12 Platform must be specified when compiling 'd3d12compute.cpp'. [preprocessorErrorDirective] Halide-17.0.1/src/runtime/cache.cpp:285:17: warning: Either the condition 'prev_hash_entry!=nullptr' is redundant or there is possible null pointer dereference: prev_hash_entry. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/cache.cpp:281:40: note: Assuming that condition 'prev_hash_entry!=nullptr' is not redundant Halide-17.0.1/src/runtime/cache.cpp:285:17: note: Null pointer dereference Halide-17.0.1/src/runtime/device_buffer_utils.h:58:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/device_buffer_utils.h:59:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cache.cpp:146:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cache.cpp:152:12: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cache.cpp:153:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cache.cpp:407:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cache.cpp:494:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cache.cpp:541:54: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cache.cpp:120:33: style:inconclusive: Function 'init' argument 7 names different: declaration 'has_eviction_key' definition 'has_eviction_key_arg'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/cache.cpp:92:20: note: Function 'init' argument 7 names different: declaration 'has_eviction_key' definition 'has_eviction_key_arg'. Halide-17.0.1/src/runtime/cache.cpp:120:33: note: Function 'init' argument 7 names different: declaration 'has_eviction_key' definition 'has_eviction_key_arg'. Halide-17.0.1/src/runtime/cache.cpp:120:64: style:inconclusive: Function 'init' argument 8 names different: declaration 'eviction_key' definition 'eviction_key_arg'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/cache.cpp:92:47: note: Function 'init' argument 8 names different: declaration 'eviction_key' definition 'eviction_key_arg'. Halide-17.0.1/src/runtime/cache.cpp:120:64: note: Function 'init' argument 8 names different: declaration 'eviction_key' definition 'eviction_key_arg'. Halide-17.0.1/src/runtime/cache.cpp:339:59: style:inconclusive: Function 'halide_memoization_cache_lookup' argument 4 names different: declaration 'realized_bounds' definition 'computed_bounds'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:957:68: note: Function 'halide_memoization_cache_lookup' argument 4 names different: declaration 'realized_bounds' definition 'computed_bounds'. Halide-17.0.1/src/runtime/cache.cpp:339:59: note: Function 'halide_memoization_cache_lookup' argument 4 names different: declaration 'realized_bounds' definition 'computed_bounds'. Halide-17.0.1/src/runtime/cache.cpp:429:58: style:inconclusive: Function 'halide_memoization_cache_store' argument 4 names different: declaration 'realized_bounds' definition 'computed_bounds'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:978:67: note: Function 'halide_memoization_cache_store' argument 4 names different: declaration 'realized_bounds' definition 'computed_bounds'. Halide-17.0.1/src/runtime/cache.cpp:429:58: note: Function 'halide_memoization_cache_store' argument 4 names different: declaration 'realized_bounds' definition 'computed_bounds'. Halide-17.0.1/src/runtime/cache.cpp:113:55: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/cache.cpp:464:38: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/cache.cpp:487:30: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/errors.cpp:31:41: style:inconclusive: Function 'halide_error_bad_type' argument 3 names different: declaration 'type_given' definition 'type_given_bits'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1267:43: note: Function 'halide_error_bad_type' argument 3 names different: declaration 'type_given' definition 'type_given_bits'. Halide-17.0.1/src/runtime/errors.cpp:31:41: note: Function 'halide_error_bad_type' argument 3 names different: declaration 'type_given' definition 'type_given_bits'. Halide-17.0.1/src/runtime/errors.cpp:31:67: style:inconclusive: Function 'halide_error_bad_type' argument 4 names different: declaration 'correct_type' definition 'correct_type_bits'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1267:64: note: Function 'halide_error_bad_type' argument 4 names different: declaration 'correct_type' definition 'correct_type_bits'. Halide-17.0.1/src/runtime/errors.cpp:31:67: note: Function 'halide_error_bad_type' argument 4 names different: declaration 'correct_type' definition 'correct_type_bits'. Halide-17.0.1/src/runtime/errors.cpp:187:74: style:inconclusive: Function 'halide_error_unaligned_host_ptr' argument 2 names different: declaration 'func_name' definition 'func'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1300:76: note: Function 'halide_error_unaligned_host_ptr' argument 2 names different: declaration 'func_name' definition 'func'. Halide-17.0.1/src/runtime/errors.cpp:187:74: note: Function 'halide_error_unaligned_host_ptr' argument 2 names different: declaration 'func_name' definition 'func'. Halide-17.0.1/src/runtime/errors.cpp:196:91: style:inconclusive: Function 'halide_error_device_dirty_with_no_device_support' argument 2 names different: declaration 'buffer_name' definition 'func'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1315:93: note: Function 'halide_error_device_dirty_with_no_device_support' argument 2 names different: declaration 'buffer_name' definition 'func'. Halide-17.0.1/src/runtime/errors.cpp:196:91: note: Function 'halide_error_device_dirty_with_no_device_support' argument 2 names different: declaration 'buffer_name' definition 'func'. Halide-17.0.1/src/runtime/errors.cpp:204:68: style:inconclusive: Function 'halide_error_host_is_null' argument 2 names different: declaration 'func_name' definition 'func'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1301:70: note: Function 'halide_error_host_is_null' argument 2 names different: declaration 'func_name' definition 'func'. Halide-17.0.1/src/runtime/errors.cpp:204:68: note: Function 'halide_error_host_is_null' argument 2 names different: declaration 'func_name' definition 'func'. Halide-17.0.1/src/runtime/device_interface.cpp:416:57: style: Condition 'buf->device==0' is always true [knownConditionTrueFalse] Halide-17.0.1/src/runtime/device_interface.cpp:412:25: note: Assuming that condition 'buf->device!=0' is not redundant Halide-17.0.1/src/runtime/device_interface.cpp:416:57: note: Condition 'buf->device==0' is always true Halide-17.0.1/src/runtime/device_interface.cpp:293:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/device_interface.cpp:354:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/device_interface.cpp:456:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/device_interface.cpp:471:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/device_interface.cpp:266:14: style: Local variable 'result' shadows outer variable [shadowVariable] Halide-17.0.1/src/runtime/device_interface.cpp:252:10: note: Shadowed declaration Halide-17.0.1/src/runtime/device_interface.cpp:266:14: note: Shadow variable Halide-17.0.1/src/runtime/device_interface.cpp:281:18: style: Local variable 'result' shadows outer variable [shadowVariable] Halide-17.0.1/src/runtime/device_interface.cpp:274:10: note: Shadowed declaration Halide-17.0.1/src/runtime/device_interface.cpp:281:18: note: Shadow variable Halide-17.0.1/src/runtime/device_interface.cpp:317:14: style: Local variable 'result' shadows outer variable [shadowVariable] Halide-17.0.1/src/runtime/device_interface.cpp:303:10: note: Shadowed declaration Halide-17.0.1/src/runtime/device_interface.cpp:317:14: note: Shadow variable Halide-17.0.1/src/runtime/device_interface.cpp:333:18: style: Local variable 'result' shadows outer variable [shadowVariable] Halide-17.0.1/src/runtime/device_interface.cpp:326:10: note: Shadowed declaration Halide-17.0.1/src/runtime/device_interface.cpp:333:18: note: Shadow variable Halide-17.0.1/src/runtime/device_interface.cpp:396:14: style: Local variable 'result' shadows outer variable [shadowVariable] Halide-17.0.1/src/runtime/device_interface.cpp:384:10: note: Shadowed declaration Halide-17.0.1/src/runtime/device_interface.cpp:396:14: note: Shadow variable Halide-17.0.1/src/runtime/device_interface.cpp:409:18: style: Local variable 'result' shadows outer variable [shadowVariable] Halide-17.0.1/src/runtime/device_interface.cpp:403:10: note: Shadowed declaration Halide-17.0.1/src/runtime/device_interface.cpp:409:18: note: Shadow variable Halide-17.0.1/src/runtime/device_interface.cpp:461:45: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/device_interface.cpp:461:65: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/device_interface.cpp:464:81: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/device_interface.cpp:466:61: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/device_interface.cpp:705:69: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/device_interface.cpp:18:14: style: struct member 'device_handle_wrapper::device_handle' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/device_interface.cpp:19:38: style: struct member 'device_handle_wrapper::interface' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/fake_get_symbol.cpp:15:52: style: Parameter 'lib' can be declared as pointer to const. However it seems that 'halide_default_get_library_symbol' is a callback function, if 'lib' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/fake_get_symbol.cpp:28:62: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/fake_get_symbol.cpp:15:52: note: Parameter 'lib' can be declared as pointer to const Halide-17.0.1/src/runtime/gpu_context_common.h:20:5: warning: Member variable 'GPUCompilationCache < CUcontext , CUmodule >::mutex' is not initialized. [uninitMemberVarPrivate] Halide-17.0.1/src/runtime/cuda.cpp:158:50: style: Condition '&context!=nullptr' is always true [knownConditionTrueFalse] Halide-17.0.1/src/runtime/cuda.cpp:663:9: style: Condition 'result' is always false [knownConditionTrueFalse] Halide-17.0.1/src/runtime/cuda.cpp:662:42: note: Calling function 'validate_device_pointer' returns 0 Halide-17.0.1/src/runtime/cuda.cpp:662:42: note: Assignment 'result=validate_device_pointer(user_context,buf)', assigned value is 0 Halide-17.0.1/src/runtime/cuda.cpp:663:9: note: Condition 'result' is always false Halide-17.0.1/src/runtime/cuda.cpp:870:17: style: Condition 'result' is always false [knownConditionTrueFalse] Halide-17.0.1/src/runtime/cuda.cpp:869:72: note: Calling function 'halide_cuda_release_unused_device_allocations' returns 0 Halide-17.0.1/src/runtime/cuda.cpp:869:72: note: Assignment 'result=halide_cuda_release_unused_device_allocations(user_context)', assigned value is 0 Halide-17.0.1/src/runtime/cuda.cpp:870:17: note: Condition 'result' is always false Halide-17.0.1/src/runtime/cuda.cpp:682:17: error: Memory leak: item [memleak] Halide-17.0.1/src/runtime/cuda.cpp:231:48: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:251:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:527:72: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:539:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:548:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:562:45: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:604:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:669:76: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:671:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:694:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:878:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:905:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:907:55: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:910:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:912:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:915:55: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:918:59: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:920:54: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:923:55: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:931:49: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:935:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:1161:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:1168:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:1169:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:1173:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:1176:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:65:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/gpu_context_common.h:98:44: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/gpu_context_common.h:191:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/cuda.cpp:758:21: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/src/runtime/cuda.cpp:757:21: note: err is assigned Halide-17.0.1/src/runtime/cuda.cpp:758:21: note: err is overwritten Halide-17.0.1/src/runtime/cuda.cpp:559:91: style:inconclusive: Function 'halide_cuda_initialize_kernels' argument 3 names different: declaration 'src' definition 'ptx_src'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeCuda.h:27:55: note: Function 'halide_cuda_initialize_kernels' argument 3 names different: declaration 'src' definition 'ptx_src'. Halide-17.0.1/src/runtime/cuda.cpp:559:91: note: Function 'halide_cuda_initialize_kernels' argument 3 names different: declaration 'src' definition 'ptx_src'. Halide-17.0.1/src/runtime/cuda.cpp:1325:47: style:inconclusive: Function 'get_cuda_error_name' argument 1 names different: declaration 'error' definition 'err'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/cuda.cpp:106:47: note: Function 'get_cuda_error_name' argument 1 names different: declaration 'error' definition 'err'. Halide-17.0.1/src/runtime/cuda.cpp:1325:47: note: Function 'get_cuda_error_name' argument 1 names different: declaration 'error' definition 'err'. Halide-17.0.1/src/runtime/cuda.cpp:52:16: style: Variable 'lib_name' can be declared as pointer to const [constVariableReference] Halide-17.0.1/src/runtime/cuda.cpp:195:52: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'halide_default_cuda_release_context' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/cuda.cpp:220:85: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/cuda.cpp:195:52: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/src/runtime/cuda.cpp:509:40: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/cuda.cpp:509:71: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/cuda.cpp:535:11: style: Variable 'regs' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/cuda.cpp:1064:86: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'halide_cuda_device_release_crop' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/cuda.cpp:1457:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/cuda.cpp:1064:86: note: Parameter 'dst' can be declared as pointer to const Halide-17.0.1/src/runtime/cuda.cpp:1122:33: style: Parameter 'arg_sizes' can be declared as const array [constParameter] Halide-17.0.1/src/runtime/cuda.cpp:1124:33: style: Parameter 'arg_is_buffer' can be declared as const array [constParameter] Halide-17.0.1/src/runtime/cuda.cpp:1259:87: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/cuda.cpp:1277:15: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:148:43: style:inconclusive: Function 'halide_do_loop_task' argument 4 names different: declaration 'extent' definition 'size'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:325:87: note: Function 'halide_do_loop_task' argument 4 names different: declaration 'extent' definition 'size'. Halide-17.0.1/src/runtime/fake_thread_pool.cpp:148:43: note: Function 'halide_do_loop_task' argument 4 names different: declaration 'extent' definition 'size'. Halide-17.0.1/src/runtime/fake_thread_pool.cpp:158:69: style:inconclusive: Function 'halide_semaphore_init' argument 2 names different: declaration 'n' definition 'count'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:236:67: note: Function 'halide_semaphore_init' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/fake_thread_pool.cpp:158:69: note: Function 'halide_semaphore_init' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/fake_thread_pool.cpp:162:72: style:inconclusive: Function 'halide_semaphore_release' argument 2 names different: declaration 'n' definition 'count'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:237:70: note: Function 'halide_semaphore_release' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/fake_thread_pool.cpp:162:72: note: Function 'halide_semaphore_release' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/fake_thread_pool.cpp:166:77: style:inconclusive: Function 'halide_semaphore_try_acquire' argument 2 names different: declaration 'n' definition 'count'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:238:75: note: Function 'halide_semaphore_try_acquire' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/fake_thread_pool.cpp:166:77: note: Function 'halide_semaphore_try_acquire' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/fake_thread_pool.cpp:41:60: style: Parameter 's' can be declared as pointer to const. However it seems that 'halide_default_semaphore_init' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:66:54: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/fake_thread_pool.cpp:41:60: note: Parameter 's' can be declared as pointer to const Halide-17.0.1/src/runtime/fake_thread_pool.cpp:46:63: style: Parameter 's' can be declared as pointer to const. However it seems that 'halide_default_semaphore_release' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:68:60: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/fake_thread_pool.cpp:46:63: note: Parameter 's' can be declared as pointer to const Halide-17.0.1/src/runtime/fake_thread_pool.cpp:51:68: style: Parameter 's' can be declared as pointer to const. However it seems that 'halide_default_semaphore_try_acquire' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:67:68: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/fake_thread_pool.cpp:51:68: note: Parameter 's' can be declared as pointer to const Halide-17.0.1/src/runtime/fake_thread_pool.cpp:77:48: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:77:66: style: Parameter 'closure' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:83:45: style: Parameter 'thread_arg' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:88:43: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:91:45: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:103:44: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:103:64: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:107:54: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:111:56: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:9:19: style: struct member 'halide_mutex_array::mutex' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/fuchsia_clock.cpp:17:35: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/fuchsia_clock.cpp:33:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/force_include_types.cpp:12:24: style: struct member 'AllTheTypes::d' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/gpu_device_selection.cpp:22:37: style:inconclusive: Function 'halide_set_gpu_device' argument 1 names different: declaration 'n' definition 'd'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:922:39: note: Function 'halide_set_gpu_device' argument 1 names different: declaration 'n' definition 'd'. Halide-17.0.1/src/runtime/gpu_device_selection.cpp:22:37: note: Function 'halide_set_gpu_device' argument 1 names different: declaration 'n' definition 'd'. Halide-17.0.1/src/runtime/halide_buffer_t.cpp:104:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/halide_buffer_t.cpp:178:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/halide_buffer_t.cpp:217:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/halide_buffer_t.cpp:177:9: style: The scope of the variable 'result' can be reduced. [variableScope] Halide-17.0.1/src/runtime/halide_buffer_t.cpp:80:63: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/halide_buffer_t.cpp:102:58: style: Parameter 'shape' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:87:20: style: Redundant initialization for 'new_weight'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:61:28: note: new_weight is initialized Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:87:20: note: new_weight is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:72:23: style: Redundant initialization for 'loss_gradient'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:67:31: note: loss_gradient is initialized Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:72:23: note: loss_gradient is overwritten Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:578:26: style: Local variable 'w' shadows outer variable [shadowVariable] Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:212:21: note: Shadowed declaration Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:578:26: note: Shadow variable Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:574:21: style: Variable 'weights' can be declared as const array [constVariable] Halide-17.0.1/src/runtime/hexagon_cache_allocator.cpp:88:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_cache_allocator.cpp:92:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_cache_allocator.cpp:104:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/autoschedulers/anderson2021/cost_model_generator.cpp:52:15: style: Consider using std::generate algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/runtime/hexagon_cache_allocator.cpp:137:13: style: Variable 'err' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:228:13: error: Resource leak: lib [resourceLeak] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:233:5: error: Resource leak: lib [resourceLeak] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:240:13: error: Resource leak: lib [resourceLeak] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:347:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:375:37: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:48:12: style: struct member 'ion_allocation_data::len' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:49:12: style: struct member 'ion_allocation_data::align' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:50:18: style: struct member 'ion_allocation_data::heap_id_mask' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:51:18: style: struct member 'ion_allocation_data::flags' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:56:14: style: struct member 'ion_allocation_data_newer::len' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:57:14: style: struct member 'ion_allocation_data_newer::heap_id_mask' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:58:14: style: struct member 'ion_allocation_data_newer::flags' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:60:14: style: struct member 'ion_allocation_data_newer::unused' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:64:23: style: struct member 'ion_fd_data::handle' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_malloc.cpp:69:23: style: struct member 'ion_handle_data::handle' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/host_shim.cpp:19:37: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/hexagon_remote/android/host_shim.cpp:19:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/android/libadsprpc_shim.cpp:48:11: style: struct member 'remote_buf::ptr' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/libadsprpc_shim.cpp:49:12: style: struct member 'remote_buf::size' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/libadsprpc_shim.cpp:53:16: style: union member 'remote_arg::buf' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/libadsprpc_shim.cpp:54:19: style: union member 'remote_arg::handle' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/android/libadsprpc_shim.cpp:55:21: style: union member 'remote_arg::handle64' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:50:57: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:68:72: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:85:57: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:110:57: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:135:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:160:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:81:59: style: Parameter 'dma_engine' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:167:24: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/runtime/hexagon_dma_pool.cpp:174:37: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/src/runtime/hexagon_host.cpp:443:26: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/hexagon_host.cpp:729:21: style: Condition 'buf->device!=0' is always false [knownConditionTrueFalse] Halide-17.0.1/src/runtime/hexagon_host.cpp:728:5: note: Assuming that condition 'buf->device==0' is not redundant Halide-17.0.1/src/runtime/hexagon_host.cpp:729:21: note: Condition 'buf->device!=0' is always false Halide-17.0.1/src/runtime/hexagon_host.cpp:115:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:306:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:309:75: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:312:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:315:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:339:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:342:67: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:377:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:393:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:416:51: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:443:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:618:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:733:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:786:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:846:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:847:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:852:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:880:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_host.cpp:353:49: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_host.cpp:353:69: style: Parameter 'state_ptr' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_host.cpp:759:89: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_host.cpp:764:24: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_host.cpp:768:90: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_host.cpp:773:24: style: Variable 'handle' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_dma.cpp:620:21: style: Condition 'buf->device!=0' is always false [knownConditionTrueFalse] Halide-17.0.1/src/runtime/hexagon_dma.cpp:619:5: note: Assuming that condition 'buf->device==0' is not redundant Halide-17.0.1/src/runtime/hexagon_dma.cpp:620:21: note: Condition 'buf->device!=0' is always false Halide-17.0.1/src/runtime/hexagon_dma.cpp:39:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:99:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:105:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:111:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:206:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:397:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:561:40: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:599:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:650:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_dma.cpp:331:10: style: Redundant initialization for 'nRet'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/src/runtime/hexagon_dma.cpp:246:14: note: nRet is initialized Halide-17.0.1/src/runtime/hexagon_dma.cpp:331:10: note: nRet is overwritten Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:115:7: style: Consider using memcpy instead of loop. [useStandardLibrary] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:548:43: style: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:545:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:548:43: note: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:556:43: style: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:553:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:556:43: note: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:570:31: style: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:561:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:570:31: note: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:571:35: style: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:563:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:571:35: note: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:586:31: style: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:577:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:586:31: note: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:587:35: style: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:579:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:587:35: note: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_dma.cpp:128:46: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_dma.cpp:397:24: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_dma.cpp:485:83: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_dma.cpp:534:81: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'halide_hexagon_dma_copy_to_device' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/hexagon_dma.cpp:739:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/hexagon_dma.cpp:534:81: note: Parameter 'buf' can be declared as pointer to const Halide-17.0.1/src/runtime/hexagon_dma.cpp:543:86: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'halide_hexagon_dma_copy_to_host' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/hexagon_dma.cpp:738:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/hexagon_dma.cpp:543:86: note: Parameter 'buf' can be declared as pointer to const Halide-17.0.1/src/runtime/hexagon_dma.cpp:582:96: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'halide_hexagon_dma_device_slice' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/hexagon_dma.cpp:744:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/hexagon_dma.cpp:582:96: note: Parameter 'dst' can be declared as pointer to const Halide-17.0.1/src/runtime/hexagon_dma.cpp:605:85: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'halide_hexagon_dma_device_sync' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/hexagon_dma.cpp:736:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/hexagon_dma.cpp:605:85: note: Parameter 'buf' can be declared as pointer to const Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:442:16: style: Variable '_praEnd' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:456:16: style: Variable '_praEnd' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:484:16: style: Variable '_praEnd' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:502:16: style: Variable '_praEnd' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:530:16: style: Variable '_praEnd' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:545:16: style: Variable '_praROutPostStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:553:16: style: Variable '_praROutPostStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:561:16: style: Variable '_praInStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:563:16: style: Variable '_praROutStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:577:16: style: Variable '_praInStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:579:16: style: Variable '_praROutStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:672:16: style: Variable '_praEnd' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:681:16: style: Variable '_praEnd' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:709:16: style: Variable '_praEnd' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:318:4: style: struct member 'Type::nativeSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:318:4: style: struct member 'Type::param' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:318:4: style: struct member 'Type::type' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:318:4: style: struct member 'Type::nativeAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:322:25: style: struct member 'SequenceType::seqType' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:323:27: style: struct member 'SequenceType::nMaxLen' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:324:27: style: struct member 'SequenceType::inSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:325:27: style: struct member 'SequenceType::routSizePrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:326:27: style: struct member 'SequenceType::routSizePrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:338:21: style: union member 'CaseValuePtr::value8s' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:339:21: style: union member 'CaseValuePtr::value16s' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:340:21: style: union member 'CaseValuePtr::value32s' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:341:21: style: union member 'CaseValuePtr::value64s' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:348:26: style: struct member 'UnionType::descriptor' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:349:27: style: struct member 'UnionType::nCases' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:350:25: style: struct member 'UnionType::caseValues' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:351:26: style: struct member 'UnionType::cases' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:352:26: style: struct member 'UnionType::inSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:353:26: style: struct member 'UnionType::routSizePrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:354:26: style: struct member 'UnionType::routSizePrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:355:27: style: struct member 'UnionType::inAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:356:27: style: struct member 'UnionType::routAlignmentPrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:357:27: style: struct member 'UnionType::routAlignmentPrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:358:27: style: struct member 'UnionType::inCaseAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:359:27: style: struct member 'UnionType::routCaseAlignmentPrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:360:27: style: struct member 'UnionType::routCaseAlignmentPrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:361:27: style: struct member 'UnionType::nativeCaseAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:362:25: style: struct member 'UnionType::bDefaultCase' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:366:27: style: struct member 'StructType::nMembers' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:367:26: style: struct member 'StructType::members' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:368:26: style: struct member 'StructType::inSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:369:26: style: struct member 'StructType::routSizePrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:370:26: style: struct member 'StructType::routSizePrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:371:27: style: struct member 'StructType::inAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:372:27: style: struct member 'StructType::routAlignmentPrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:373:27: style: struct member 'StructType::routAlignmentPrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:378:4: style: struct member 'Parameter::nativeSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:378:4: style: struct member 'Parameter::param' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:378:4: style: struct member 'Parameter::type' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:378:4: style: struct member 'Parameter::nativeAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:379:15: style: struct member 'Parameter::mode' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:380:13: style: struct member 'Parameter::bNotNil' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:388:32: style: struct member 'Method::uScalars' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:389:32: style: struct member 'Method::primInSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:390:32: style: struct member 'Method::primROutSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:391:32: style: struct member 'Method::maxArgs' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:392:32: style: struct member 'Method::numParams' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:393:33: style: struct member 'Method::params' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:394:34: style: struct member 'Method::primInAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:395:34: style: struct member 'Method::primROutAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/qurt/log.cpp:19:5: style: Class 'Log' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/runtime/hexagon_remote/qurt/log.cpp:22:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:371:25: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:372:45: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:84:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:332:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:368:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:369:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:371:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/halide_remote.cpp:372:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:83:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:84:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:85:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:86:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:87:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:88:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:89:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:90:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:91:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:92:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:93:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:94:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:95:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:96:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:98:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:99:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:100:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:101:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:102:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:103:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:104:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:106:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:107:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:108:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:109:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:110:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:112:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:113:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:114:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:115:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:116:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:117:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:118:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:119:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:120:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:121:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:122:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:123:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:124:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:125:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:126:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:127:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:128:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:129:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:130:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:131:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:132:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:133:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:134:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:135:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:136:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:137:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:138:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:139:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:140:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:141:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:142:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:143:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:144:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:145:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:146:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:147:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:148:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:149:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:150:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:151:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:152:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:153:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:154:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:155:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:156:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:157:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:158:23: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:159:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:160:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:161:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:162:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:163:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:164:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:11:33: style:inconclusive: Function 'lookup_symbol' argument 1 names different: declaration 'sym' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.h:12:33: note: Function 'lookup_symbol' argument 1 names different: declaration 'sym' definition 'name'. Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:11:33: note: Function 'lookup_symbol' argument 1 names different: declaration 'sym' definition 'name'. Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:81:36: style:inconclusive: Function 'get_known_symbol' argument 1 names different: declaration 'sym' definition 'name'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.h:15:36: note: Function 'get_known_symbol' argument 1 names different: declaration 'sym' definition 'name'. Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:81:36: note: Function 'get_known_symbol' argument 1 names different: declaration 'sym' definition 'name'. Halide-17.0.1/src/runtime/hexagon_remote/qurt/known_symbols.cpp:82:25: style: Variable 'known_syms' can be declared as const array [constVariable] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_remote.cpp:124:28: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_remote.cpp:125:65: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_remote.cpp:29:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_remote.cpp:35:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_remote.cpp:92:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_qurt_vtcm.cpp:22:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_remote.cpp:124:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_qurt_vtcm.cpp:115:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_remote.cpp:125:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_qurt_vtcm.cpp:128:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_qurt_vtcm.cpp:98:14: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] Halide-17.0.1/src/runtime/hexagon_remote/qurt/sim_qurt_vtcm.cpp:77:40: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_remote/sim_host.cpp:300:5: style: Class 'remote_buffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/runtime/hexagon_remote/sim_host.cpp:319:5: style: Class 'remote_buffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/src/runtime/hexagon_remote/sim_host.cpp:497:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/sim_host.cpp:503:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/hexagon_remote/sim_host.cpp:75:11: style: Variable 'traces' can be declared as const array [constVariable] Halide-17.0.1/src/runtime/objc_support.h:44:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/objc_support.h:52:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/objc_support.h:58:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/objc_support.h:64:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/objc_support.h:71:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/objc_support.h:73:45: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/HalideRuntime.h:539:40: performance:inconclusive: Technically the member function 'halide_type_t::bytes' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideRuntime.h:1539:31: performance:inconclusive: Technically the member function 'halide_buffer_t::get_flag' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideRuntime.h:1543:31: performance:inconclusive: Technically the member function 'halide_buffer_t::set_flag' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/HalideRuntime.h:1649:31: performance:inconclusive: Technically the member function 'halide_buffer_t::is_bounds_query' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/src/runtime/metal_objc_platform_dependent.cpp:47:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/msan_stubs.cpp:13:87: style:inconclusive: Function 'halide_msan_check_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1029:96: note: Function 'halide_msan_check_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan_stubs.cpp:13:87: note: Function 'halide_msan_check_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan_stubs.cpp:17:90: style:inconclusive: Function 'halide_msan_annotate_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1051:99: note: Function 'halide_msan_annotate_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan_stubs.cpp:17:90: note: Function 'halide_msan_annotate_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan_stubs.cpp:21:94: style:inconclusive: Function 'halide_msan_annotate_buffer_is_initialized_as_destructor' argument 2 names different: declaration 'buffer' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1052:96: note: Function 'halide_msan_annotate_buffer_is_initialized_as_destructor' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan_stubs.cpp:21:94: note: Function 'halide_msan_annotate_buffer_is_initialized_as_destructor' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan_stubs.cpp:5:59: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/msan_stubs.cpp:9:56: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/msan_stubs.cpp:13:56: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/msan_stubs.cpp:13:87: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/msan_stubs.cpp:17:59: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/msan_stubs.cpp:17:90: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/msan_stubs.cpp:21:74: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/msan_stubs.cpp:21:94: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:113:7: style: Consider using memcpy instead of loop. [useStandardLibrary] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:624:43: style: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:621:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:624:43: note: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:632:43: style: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:629:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:632:43: note: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:646:31: style: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:637:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:646:31: note: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:662:35: style: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:654:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:662:35: note: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:621:16: style: Variable '_praROutPostStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:629:16: style: Variable '_praROutPostStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:635:275: style: Parameter '_rout0' can be declared as const array [constParameter] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:637:16: style: Variable '_praInStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:654:16: style: Variable '_praROutStart' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:794:80: style: Parameter '_rout0' can be declared as const array [constParameter] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:316:4: style: struct member 'Type::nativeSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:316:4: style: struct member 'Type::param' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:316:4: style: struct member 'Type::type' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:316:4: style: struct member 'Type::nativeAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:320:25: style: struct member 'SequenceType::seqType' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:321:27: style: struct member 'SequenceType::nMaxLen' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:322:27: style: struct member 'SequenceType::inSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:323:27: style: struct member 'SequenceType::routSizePrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:324:27: style: struct member 'SequenceType::routSizePrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:336:21: style: union member 'CaseValuePtr::value8s' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:337:21: style: union member 'CaseValuePtr::value16s' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:338:21: style: union member 'CaseValuePtr::value32s' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:339:21: style: union member 'CaseValuePtr::value64s' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:346:26: style: struct member 'UnionType::descriptor' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:347:27: style: struct member 'UnionType::nCases' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:348:25: style: struct member 'UnionType::caseValues' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:349:26: style: struct member 'UnionType::cases' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:350:26: style: struct member 'UnionType::inSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:351:26: style: struct member 'UnionType::routSizePrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:352:26: style: struct member 'UnionType::routSizePrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:353:27: style: struct member 'UnionType::inAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:354:27: style: struct member 'UnionType::routAlignmentPrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:355:27: style: struct member 'UnionType::routAlignmentPrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:356:27: style: struct member 'UnionType::inCaseAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:357:27: style: struct member 'UnionType::routCaseAlignmentPrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:358:27: style: struct member 'UnionType::routCaseAlignmentPrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:359:27: style: struct member 'UnionType::nativeCaseAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:360:25: style: struct member 'UnionType::bDefaultCase' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:364:27: style: struct member 'StructType::nMembers' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:365:26: style: struct member 'StructType::members' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:366:26: style: struct member 'StructType::inSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:367:26: style: struct member 'StructType::routSizePrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:368:26: style: struct member 'StructType::routSizePrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:369:27: style: struct member 'StructType::inAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:370:27: style: struct member 'StructType::routAlignmentPrimIn' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:371:27: style: struct member 'StructType::routAlignmentPrimROut' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:376:4: style: struct member 'Parameter::nativeSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:376:4: style: struct member 'Parameter::param' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:376:4: style: struct member 'Parameter::type' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:376:4: style: struct member 'Parameter::nativeAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:377:15: style: struct member 'Parameter::mode' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:378:13: style: struct member 'Parameter::bNotNil' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:386:32: style: struct member 'Method::uScalars' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:387:32: style: struct member 'Method::primInSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:388:32: style: struct member 'Method::primROutSize' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:389:32: style: struct member 'Method::maxArgs' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:390:32: style: struct member 'Method::numParams' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:391:33: style: struct member 'Method::params' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:392:34: style: struct member 'Method::primInAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:393:34: style: struct member 'Method::primROutAlignment' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/msan.cpp:36:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/msan.cpp:52:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/msan.cpp:92:69: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/msan.cpp:100:65: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/msan.cpp:101:65: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/msan.cpp:70:90: style:inconclusive: Function 'halide_msan_annotate_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1051:99: note: Function 'halide_msan_annotate_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan.cpp:70:90: note: Function 'halide_msan_annotate_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan.cpp:91:94: style:inconclusive: Function 'halide_msan_annotate_buffer_is_initialized_as_destructor' argument 2 names different: declaration 'buffer' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1052:96: note: Function 'halide_msan_annotate_buffer_is_initialized_as_destructor' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan.cpp:91:94: note: Function 'halide_msan_annotate_buffer_is_initialized_as_destructor' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan.cpp:95:87: style:inconclusive: Function 'halide_msan_check_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:1029:96: note: Function 'halide_msan_check_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan.cpp:95:87: note: Function 'halide_msan_check_buffer_is_initialized' argument 2 names different: declaration 'buffer' definition 'b'. Halide-17.0.1/src/runtime/msan.cpp:70:90: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/opengl_glx_context.cpp:119:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opengl_glx_context.cpp:98:9: style: Variable 'attribs' can be declared as const array [constVariable] Halide-17.0.1/src/runtime/opengl_glx_context.cpp:140:9: style: Variable 'pbuffer_attribs' can be declared as const array [constVariable] Halide-17.0.1/src/runtime/gpu_context_common.h:20:5: warning: Member variable 'GPUCompilationCache < halide_metal_device * , mtl_library * >::mutex' is not initialized. [uninitMemberVarPrivate] Halide-17.0.1/src/runtime/metal.cpp:37:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:44:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:52:40: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:56:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:65:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:71:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:77:45: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:83:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:91:48: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:103:59: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:109:48: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:115:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:126:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:132:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:138:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:142:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:155:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:162:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:168:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:178:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:183:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:187:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:204:44: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:213:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:221:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:229:51: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:236:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:242:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:248:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:254:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:263:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:271:50: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:274:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:303:44: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:304:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:486:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:524:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:525:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:583:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:663:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:664:56: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:666:68: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:714:40: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:834:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:842:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:866:56: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:910:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:911:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:913:44: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:982:70: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:983:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:992:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1001:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1003:66: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1043:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1049:23: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1050:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1051:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1088:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1106:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1111:19: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1130:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1140:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:1148:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/metal.cpp:544:92: style:inconclusive: Function 'halide_metal_initialize_kernels' argument 3 names different: declaration 'src' definition 'source'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeMetal.h:27:56: note: Function 'halide_metal_initialize_kernels' argument 3 names different: declaration 'src' definition 'source'. Halide-17.0.1/src/runtime/metal.cpp:544:92: note: Function 'halide_metal_initialize_kernels' argument 3 names different: declaration 'src' definition 'source'. Halide-17.0.1/src/runtime/metal.cpp:544:104: style:inconclusive: Function 'halide_metal_initialize_kernels' argument 4 names different: declaration 'size' definition 'source_size'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeMetal.h:27:65: note: Function 'halide_metal_initialize_kernels' argument 4 names different: declaration 'size' definition 'source_size'. Halide-17.0.1/src/runtime/metal.cpp:544:104: note: Function 'halide_metal_initialize_kernels' argument 4 names different: declaration 'size' definition 'source_size'. Halide-17.0.1/src/runtime/metal.cpp:263:17: style: Local variable 'device' shadows outer variable [shadowVariable] Halide-17.0.1/src/runtime/metal.cpp:284:18: note: Shadowed declaration Halide-17.0.1/src/runtime/metal.cpp:263:17: note: Shadow variable Halide-17.0.1/src/runtime/metal.cpp:1135:46: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/metal.cpp:1143:50: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/metal.cpp:413:19: style: struct member 'command_buffer_completed_handler_block_descriptor_1::reserved' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/metal.cpp:414:19: style: struct member 'command_buffer_completed_handler_block_descriptor_1::block_size' is never used. [unusedStructMember] Halide-17.0.1/src/runtime/osx_clock.cpp:49:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Halide-17.0.1/src/runtime/osx_clock.cpp:48:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/osx_opengl_context.cpp:76:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/osx_opengl_context.cpp:80:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/osx_opengl_context.cpp:84:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/osx_opengl_context.cpp:88:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/posix_aligned_alloc.cpp:34:17: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/posix_aligned_alloc.cpp:35:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/posix_aligned_alloc.cpp:40:13: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/posix_clock.cpp:43:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Halide-17.0.1/src/runtime/posix_clock.cpp:42:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/posix_io.cpp:5:38: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/openglcompute.cpp:284:25: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/openglcompute.cpp:303:9: note: Assuming that condition '!buf' is not redundant Halide-17.0.1/src/runtime/openglcompute.cpp:284:25: note: Null pointer dereference Halide-17.0.1/src/runtime/openglcompute.cpp:289:43: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/openglcompute.cpp:303:9: note: Assuming that condition '!buf' is not redundant Halide-17.0.1/src/runtime/openglcompute.cpp:289:43: note: Null pointer dereference Halide-17.0.1/src/runtime/openglcompute.cpp:290:28: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/openglcompute.cpp:303:9: note: Assuming that condition '!buf' is not redundant Halide-17.0.1/src/runtime/openglcompute.cpp:290:28: note: Null pointer dereference Halide-17.0.1/src/runtime/openglcompute.cpp:291:28: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/openglcompute.cpp:303:9: note: Assuming that condition '!buf' is not redundant Halide-17.0.1/src/runtime/openglcompute.cpp:291:28: note: Null pointer dereference Halide-17.0.1/src/runtime/openglcompute.cpp:292:43: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/openglcompute.cpp:303:9: note: Assuming that condition '!buf' is not redundant Halide-17.0.1/src/runtime/openglcompute.cpp:292:43: note: Null pointer dereference Halide-17.0.1/src/runtime/openglcompute.cpp:293:28: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/openglcompute.cpp:303:9: note: Assuming that condition '!buf' is not redundant Halide-17.0.1/src/runtime/openglcompute.cpp:293:28: note: Null pointer dereference Halide-17.0.1/src/runtime/openglcompute.cpp:294:28: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/openglcompute.cpp:303:9: note: Assuming that condition '!buf' is not redundant Halide-17.0.1/src/runtime/openglcompute.cpp:294:28: note: Null pointer dereference Halide-17.0.1/src/runtime/openglcompute.cpp:295:41: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] Halide-17.0.1/src/runtime/openglcompute.cpp:303:9: note: Assuming that condition '!buf' is not redundant Halide-17.0.1/src/runtime/openglcompute.cpp:295:41: note: Null pointer dereference Halide-17.0.1/src/runtime/openglcompute.cpp:209:5: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:626:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:650:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:656:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:658:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:660:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:674:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:676:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:678:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:691:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:706:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:759:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:781:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:784:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:815:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:852:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:884:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:390:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:391:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/openglcompute.cpp:609:42: style:inconclusive: Function 'halide_openglcompute_run' argument 13 names different: declaration 'is_buffer' definition 'arg_is_buffer'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeOpenGLCompute.h:50:44: note: Function 'halide_openglcompute_run' argument 13 names different: declaration 'is_buffer' definition 'arg_is_buffer'. Halide-17.0.1/src/runtime/openglcompute.cpp:609:42: note: Function 'halide_openglcompute_run' argument 13 names different: declaration 'is_buffer' definition 'arg_is_buffer'. Halide-17.0.1/src/runtime/openglcompute.cpp:406:83: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'halide_openglcompute_copy_to_device' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/openglcompute.cpp:956:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/openglcompute.cpp:406:83: note: Parameter 'buf' can be declared as pointer to const Halide-17.0.1/src/runtime/openglcompute.cpp:501:81: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'halide_openglcompute_copy_to_host' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/openglcompute.cpp:955:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/openglcompute.cpp:501:81: note: Parameter 'buf' can be declared as pointer to const Halide-17.0.1/src/runtime/openglcompute.cpp:608:71: style: Parameter 'arg_types' can be declared as const array [constParameter] Halide-17.0.1/src/runtime/openglcompute.cpp:609:42: style: Parameter 'arg_is_buffer' can be declared as const array [constParameter] Halide-17.0.1/src/runtime/openglcompute.cpp:626:18: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/openglcompute.cpp:926:55: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/openglcompute.cpp:926:75: style: Parameter 'state_ptr' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/thread_pool_common.h:642:26: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/posix_threads.cpp:50:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/posix_threads.cpp:64:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/posix_threads.cpp:73:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:204:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:246:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:830:48: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:843:51: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:858:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:876:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:882:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:888:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:894:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:900:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:902:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:914:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:920:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/synchronization_common.h:932:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:150:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:151:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:162:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:163:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:442:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:642:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:657:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:665:50: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:723:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:729:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:746:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/thread_pool_common.h:815:69: style:inconclusive: Function 'halide_semaphore_init' argument 2 names different: declaration 'n' definition 'count'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:236:67: note: Function 'halide_semaphore_init' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/thread_pool_common.h:815:69: note: Function 'halide_semaphore_init' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/thread_pool_common.h:819:72: style:inconclusive: Function 'halide_semaphore_release' argument 2 names different: declaration 'n' definition 'count'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:237:70: note: Function 'halide_semaphore_release' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/thread_pool_common.h:819:72: note: Function 'halide_semaphore_release' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/thread_pool_common.h:823:77: style:inconclusive: Function 'halide_semaphore_try_acquire' argument 2 names different: declaration 'n' definition 'count'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:238:75: note: Function 'halide_semaphore_try_acquire' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/thread_pool_common.h:823:77: note: Function 'halide_semaphore_try_acquire' argument 2 names different: declaration 'n' definition 'count'. Halide-17.0.1/src/runtime/thread_pool_common.h:85:11: style: Variable 'threads_str' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/thread_pool_common.h:163:15: style: Variable 'limit' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/thread_pool_common.h:640:74: style: Parameter 'tasks' can be declared as pointer to const. However it seems that 'halide_default_do_parallel_tasks' is a callback function, if 'tasks' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/thread_pool_common.h:577:60: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/thread_pool_common.h:640:74: note: Parameter 'tasks' can be declared as pointer to const Halide-17.0.1/src/runtime/thread_pool_common.h:155:9: warning: Conversion of string literal "Logic error in thread pool work queue initialization.\n" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/runtime/thread_pool_common.h:525:9: warning: Conversion of string literal "Logic error: thread over commit.\n" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/runtime/posix_timer_profiler.cpp:50:32: style: Variable 's' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/gpu_context_common.h:20:5: warning: Member variable 'GPUCompilationCache < _cl_context * , _cl_program * >::mutex' is not initialized. [uninitMemberVarPrivate] Halide-17.0.1/src/runtime/opencl.cpp:626:19: warning: Struct 'Alloc' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] Halide-17.0.1/src/runtime/opencl.cpp:626:19: warning: Struct 'Alloc' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] Halide-17.0.1/src/runtime/opencl.cpp:231:54: style: Condition '&thread_lock!=nullptr' is always true [knownConditionTrueFalse] Halide-17.0.1/src/runtime/opencl.cpp:236:50: style: Condition '&context!=nullptr' is always true [knownConditionTrueFalse] Halide-17.0.1/src/runtime/opencl.cpp:237:56: style: Condition '&command_queue!=nullptr' is always true [knownConditionTrueFalse] Halide-17.0.1/src/runtime/opencl.cpp:1862:9: error: Memory leak: dev_handle [memleak] Halide-17.0.1/src/runtime/opencl.cpp:339:23: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:340:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:345:71: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:348:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:616:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:619:53: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:638:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:672:23: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:673:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:692:57: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:693:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:696:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:761:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:893:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:908:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:917:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:946:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:947:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:950:55: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:951:60: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:954:56: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:955:61: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:958:55: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:959:50: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:965:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1123:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1131:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1142:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1149:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1150:51: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1153:62: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1160:68: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1208:55: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1210:62: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1237:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1241:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1265:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1278:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1286:13: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1302:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1308:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1309:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1310:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1339:23: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1343:75: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1358:57: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1360:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1361:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1586:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1663:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1676:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1686:46: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1755:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1756:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1779:54: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1799:55: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1847:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1854:41: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1858:104: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:1865:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:57:10: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/opencl.cpp:830:9: style: The scope of the variable 'err' can be reduced. [variableScope] Halide-17.0.1/src/runtime/opencl.cpp:1730:9: style: The scope of the variable 'err' can be reduced. [variableScope] Halide-17.0.1/src/runtime/opencl.cpp:1231:94: style:inconclusive: Function 'halide_opencl_wrap_cl_mem' argument 3 names different: declaration 'device_ptr' definition 'mem'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeOpenCL.h:89:96: note: Function 'halide_opencl_wrap_cl_mem' argument 3 names different: declaration 'device_ptr' definition 'mem'. Halide-17.0.1/src/runtime/opencl.cpp:1231:94: note: Function 'halide_opencl_wrap_cl_mem' argument 3 names different: declaration 'device_ptr' definition 'mem'. Halide-17.0.1/src/runtime/opencl.cpp:1841:100: style:inconclusive: Function 'halide_opencl_image_wrap_cl_mem' argument 3 names different: declaration 'device_ptr' definition 'mem'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeOpenCL.h:94:102: note: Function 'halide_opencl_image_wrap_cl_mem' argument 3 names different: declaration 'device_ptr' definition 'mem'. Halide-17.0.1/src/runtime/opencl.cpp:1841:100: note: Function 'halide_opencl_image_wrap_cl_mem' argument 3 names different: declaration 'device_ptr' definition 'mem'. Halide-17.0.1/src/runtime/opencl.cpp:1145:16: style: Local variable 'err' shadows outer variable [shadowVariable] Halide-17.0.1/src/runtime/opencl.cpp:1084:12: note: Shadowed declaration Halide-17.0.1/src/runtime/opencl.cpp:1145:16: note: Shadow variable Halide-17.0.1/src/runtime/opencl.cpp:44:16: style: Variable 'lib_name' can be declared as pointer to const [constVariableReference] Halide-17.0.1/src/runtime/opencl.cpp:718:15: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/opencl.cpp:1885:66: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'halide_opencl_image_device_crop' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/opencl.cpp:1928:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/opencl.cpp:1885:66: note: Parameter 'dst' can be declared as pointer to const Halide-17.0.1/src/runtime/opencl.cpp:673:90: warning: Conversion of string literal "halide_opencl_device_free on buffer obtained from halide_device_crop" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/runtime/profiler_inlined.cpp:6:109: style: Parameter 'sampling_token' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/pseudostack.cpp:25:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:395:83: warning: Obsolete function 'alloca' called. [allocaCalled] Halide-17.0.1/src/runtime/profiler_common.cpp:51:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:61:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:78:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:85:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:102:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:106:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:202:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:246:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:275:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:313:47: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:362:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:395:52: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:605:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:678:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:342:60: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/profiler_common.cpp:342:91: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/profiler_common.cpp:347:60: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/profiler_common.cpp:347:91: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/profiler_common.cpp:385:45: style: Variable 'fs' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/qurt_hvx_vtcm.cpp:10:37: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/profiler_common.cpp:225:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:638:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/profiler_common.cpp:646:21: style: Variable 's->current_func' is reassigned a value before the old one has been used. [redundantAssignment] Halide-17.0.1/src/runtime/profiler_common.cpp:632:21: note: s->current_func is assigned Halide-17.0.1/src/runtime/profiler_common.cpp:646:21: note: s->current_func is overwritten Halide-17.0.1/src/runtime/profiler_common.cpp:638:22: style: Variable 'storage' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/to_string.cpp:206:15: style: Variable 'buf_end' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/qurt_threads.cpp:20:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/qurt_threads.cpp:53:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/qurt_threads.cpp:68:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:12:0: error: #error "HALIDE_RUNTIME_WEBGPU_NATIVE_API must be defined" [preprocessorErrorDirective] Halide-17.0.1/src/runtime/tracing.cpp:163:5: warning: Member variable 'TraceBuffer::buf' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/runtime/tracing.cpp:213:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:216:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:218:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:219:16: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:288:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:290:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:292:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:294:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:298:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:300:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:302:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:304:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:309:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:311:53: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:313:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:316:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:375:39: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/tracing.cpp:178:83: style:inconclusive: Function 'halide_default_trace' argument 2 names different: declaration 'event' definition 'e'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:655:92: note: Function 'halide_default_trace' argument 2 names different: declaration 'event' definition 'e'. Halide-17.0.1/src/runtime/tracing.cpp:178:83: note: Function 'halide_default_trace' argument 2 names different: declaration 'event' definition 'e'. Halide-17.0.1/src/runtime/tracing.cpp:385:75: style:inconclusive: Function 'halide_trace' argument 2 names different: declaration 'event' definition 'e'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntime.h:654:84: note: Function 'halide_trace' argument 2 names different: declaration 'event' definition 'e'. Halide-17.0.1/src/runtime/tracing.cpp:385:75: note: Function 'halide_trace' argument 2 names different: declaration 'event' definition 'e'. Halide-17.0.1/src/runtime/tracing.cpp:131:56: warning: Conversion of string literal "Could not write to trace file" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/runtime/tracing.cpp:238:65: warning: Conversion of string literal "Tracing bad type" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/runtime/tracing.cpp:307:77: warning: Conversion of string literal "Tracing a bad type" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/runtime/tracing.cpp:371:57: warning: Conversion of string literal "Failed to open trace file\n" to bool always evaluates to true. [incorrectStringBooleanError] Halide-17.0.1/src/runtime/mini_vulkan.h:88:1: debug: Failed to parse 'typedef struct VkInstance_T * ( VkInstance ) ;'. The checking continues anyway. [simplifyTypedef] Halide-17.0.1/src/runtime/mini_vulkan.h:89:1: debug: Failed to parse 'typedef struct VkPhysicalDevice_T * ( VkPhysicalDevice ) ;'. The checking continues anyway. [simplifyTypedef] Halide-17.0.1/src/runtime/mini_vulkan.h:90:1: debug: Failed to parse 'typedef struct VkDevice_T * ( VkDevice ) ;'. The checking continues anyway. [simplifyTypedef] Halide-17.0.1/src/runtime/mini_vulkan.h:91:1: debug: Failed to parse 'typedef struct VkQueue_T * ( VkQueue ) ;'. The checking continues anyway. [simplifyTypedef] Halide-17.0.1/src/runtime/mini_vulkan.h:93:1: debug: Failed to parse 'typedef struct VkCommandBuffer_T * ( VkCommandBuffer ) ;'. The checking continues anyway. [simplifyTypedef] Halide-17.0.1/src/runtime/windows_clock.cpp:40:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/vulkan_resources.h:607:67: error: Syntax Error: AST broken, 'write_descriptor_set' doesn't have a parent. [internalAstError] Halide-17.0.1/src/runtime/windows_get_symbol.cpp:37:27: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:347:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] Halide-17.0.1/src/runtime/webgpu.cpp:155:19: warning: Member variable 'ErrorScope::error_code' is not initialized in the constructor. [uninitMemberVar] Halide-17.0.1/src/runtime/gpu_context_common.h:20:5: warning: Member variable 'GPUCompilationCache < WGPUDeviceImpl * , WGPUShaderModuleImpl * >::mutex' is not initialized. [uninitMemberVarPrivate] Halide-17.0.1/src/runtime/webgpu.cpp:83:55: style: Condition '&context_lock!=nullptr' is always true [knownConditionTrueFalse] Halide-17.0.1/src/runtime/webgpu.cpp:418:9: error: Memory leak: device_handle [memleak] Halide-17.0.1/src/runtime/webgpu.cpp:209:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:412:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:426:48: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:436:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:475:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:586:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:622:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:623:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:627:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:628:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:633:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:639:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:757:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:761:9: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:790:32: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:827:29: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:847:43: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:955:14: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:959:44: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:960:44: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1003:13: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1021:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1027:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1030:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1034:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1038:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1050:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1053:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1057:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1061:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/webgpu.cpp:1030:41: style: Variable '*(int32_t*)arg_out' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] Halide-17.0.1/src/runtime/webgpu.cpp:1027:41: note: $symbol is assigned Halide-17.0.1/src/runtime/webgpu.cpp:1030:41: note: $symbol is overwritten Halide-17.0.1/src/runtime/webgpu.cpp:1053:42: style: Variable '*(uint32_t*)arg_out' is reassigned a value before the old one has been used. 'break;' missing? [redundantAssignInSwitch] Halide-17.0.1/src/runtime/webgpu.cpp:1050:42: note: $symbol is assigned Halide-17.0.1/src/runtime/webgpu.cpp:1053:42: note: $symbol is overwritten Halide-17.0.1/src/runtime/webgpu.cpp:880:32: style:inconclusive: Function 'halide_webgpu_run' argument 4 names different: declaration 'blocksX' definition 'groupsX'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeWebGPU.h:31:34: note: Function 'halide_webgpu_run' argument 4 names different: declaration 'blocksX' definition 'groupsX'. Halide-17.0.1/src/runtime/webgpu.cpp:880:32: note: Function 'halide_webgpu_run' argument 4 names different: declaration 'blocksX' definition 'groupsX'. Halide-17.0.1/src/runtime/webgpu.cpp:880:45: style:inconclusive: Function 'halide_webgpu_run' argument 5 names different: declaration 'blocksY' definition 'groupsY'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeWebGPU.h:31:47: note: Function 'halide_webgpu_run' argument 5 names different: declaration 'blocksY' definition 'groupsY'. Halide-17.0.1/src/runtime/webgpu.cpp:880:45: note: Function 'halide_webgpu_run' argument 5 names different: declaration 'blocksY' definition 'groupsY'. Halide-17.0.1/src/runtime/webgpu.cpp:880:58: style:inconclusive: Function 'halide_webgpu_run' argument 6 names different: declaration 'blocksZ' definition 'groupsZ'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeWebGPU.h:31:60: note: Function 'halide_webgpu_run' argument 6 names different: declaration 'blocksZ' definition 'groupsZ'. Halide-17.0.1/src/runtime/webgpu.cpp:880:58: note: Function 'halide_webgpu_run' argument 6 names different: declaration 'blocksZ' definition 'groupsZ'. Halide-17.0.1/src/runtime/webgpu.cpp:882:32: style:inconclusive: Function 'halide_webgpu_run' argument 10 names different: declaration 'shared_mem_bytes' definition 'workgroup_mem_bytes'. [funcArgNamesDifferent] Halide-17.0.1/src/runtime/HalideRuntimeWebGPU.h:33:34: note: Function 'halide_webgpu_run' argument 10 names different: declaration 'shared_mem_bytes' definition 'workgroup_mem_bytes'. Halide-17.0.1/src/runtime/webgpu.cpp:882:32: note: Function 'halide_webgpu_run' argument 10 names different: declaration 'shared_mem_bytes' definition 'workgroup_mem_bytes'. Halide-17.0.1/src/runtime/webgpu.cpp:602:21: style: Local variable 'src' shadows outer argument [shadowArgument] Halide-17.0.1/src/runtime/webgpu.cpp:556:32: note: Shadowed declaration Halide-17.0.1/src/runtime/webgpu.cpp:602:21: note: Shadow variable Halide-17.0.1/src/runtime/webgpu.cpp:885:35: style: Parameter 'arg_is_buffer' can be declared as const array [constParameter] Halide-17.0.1/src/runtime/windows_io.cpp:5:38: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/src/runtime/windows_threads.cpp:43:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/windows_threads.cpp:65:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/windows_threads.cpp:73:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/windows_threads.cpp:56:11: style: Variable 'num_cores' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:136:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:23:13: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:136:17: note: Shadow variable Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:136:20: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:23:21: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:136:20: note: Shadow variable Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:157:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:23:13: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:157:17: note: Shadow variable Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:157:20: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:23:21: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:157:20: note: Shadow variable Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:200:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:23:13: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:200:17: note: Shadow variable Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:200:20: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:23:21: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:200:20: note: Shadow variable Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:230:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:23:13: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/anderson2021/test.cpp:230:17: note: Shadow variable Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:277:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:70:9: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:277:17: note: Shadow variable Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:277:20: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:70:17: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:277:20: note: Shadow variable Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:311:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:70:9: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:311:17: note: Shadow variable Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:311:20: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:70:17: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:311:20: note: Shadow variable Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:348:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:70:9: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:348:17: note: Shadow variable Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:413:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:70:9: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:413:17: note: Shadow variable Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:413:20: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:70:17: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:413:20: note: Shadow variable Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:456:17: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:70:9: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/adams2019/test.cpp:456:17: note: Shadow variable Halide-17.0.1/src/runtime/write_debug_image.cpp:188:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/write_debug_image.cpp:225:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/write_debug_image.cpp:233:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/write_debug_image.cpp:240:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/write_debug_image.cpp:333:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/write_debug_image.cpp:356:38: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/write_debug_image.cpp:365:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/src/runtime/write_debug_image.cpp:349:25: style: Variable 'idx' can be declared as const array [constVariable] Halide-17.0.1/src/runtime/write_debug_image.cpp:350:30: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/src/runtime/write_debug_image.cpp:52:16: style: union member 'Anonymous2::i8' is never used. [unusedStructMember] Halide-17.0.1/test/autoschedulers/mullapudi2016/max_filter.cpp:46:43: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] Halide-17.0.1/test/correctness/assertion_failure_in_parallel_for.cpp:9:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/assertion_failure_in_parallel_for.cpp:38:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/assertion_failure_in_parallel_for.cpp:9:35: note: Parameter 'ctx' can be declared as pointer to const Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:58:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:51:17: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:58:14: note: Shadow variable Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:59:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:51:9: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:59:18: note: Shadow variable Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:60:22: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:51:33: note: Shadowed declaration Halide-17.0.1/test/autoschedulers/mullapudi2016/reorder.cpp:60:22: note: Shadow variable Halide-17.0.1/test/correctness/align_bounds.cpp:17:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/align_bounds.cpp:165:41: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/align_bounds.cpp:17:30: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/async_copy_chain.cpp:17:26: style: Parameter 'A' can be declared as reference to const [constParameterReference] Halide-17.0.1/test/correctness/async_copy_chain.cpp:17:35: style: Parameter 'B' can be declared as reference to const [constParameterReference] Halide-17.0.1/test/correctness/async.cpp:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] Halide-17.0.1/test/correctness/async.cpp:8:23: warning: Invalid sqrtf() argument nr 1. The value is -0.8360218615 but the valid values are '0.0:'. [invalidFunctionArg] Halide-17.0.1/test/correctness/async.cpp:6:16: note: Assignment 'f=3.0f', assigned value is 3.0 Halide-17.0.1/test/correctness/async.cpp:8:23: note: Invalid argument Halide-17.0.1/test/correctness/async_device_copy.cpp:62:22: style: Condition 'i==3' is always true [knownConditionTrueFalse] Halide-17.0.1/test/correctness/async_device_copy.cpp:55:22: note: Assuming that condition 'i==2' is not redundant Halide-17.0.1/test/correctness/async_device_copy.cpp:38:23: note: Assuming that condition 'i<4' is not redundant Halide-17.0.1/test/correctness/async_device_copy.cpp:62:22: note: Condition 'i==3' is always true Halide-17.0.1/test/correctness/async_device_copy.cpp:89:16: style: Local variable 't' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/async_device_copy.cpp:34:15: note: Shadowed declaration Halide-17.0.1/test/correctness/async_device_copy.cpp:89:16: note: Shadow variable Halide-17.0.1/test/correctness/async_device_copy.cpp:73:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/async_device_copy.cpp:34:12: note: Shadowed declaration Halide-17.0.1/test/correctness/async_device_copy.cpp:73:18: note: Shadow variable Halide-17.0.1/test/correctness/async_device_copy.cpp:74:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/async_device_copy.cpp:34:9: note: Shadowed declaration Halide-17.0.1/test/correctness/async_device_copy.cpp:74:22: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:45:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:28:16: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:45:18: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:46:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:28:13: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:46:22: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:80:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:64:16: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:80:18: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:81:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:64:13: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:81:22: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:118:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:99:16: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:118:18: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:119:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:99:13: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:119:22: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:158:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:137:16: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:158:18: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:159:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:137:13: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:159:22: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:205:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:177:16: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:205:18: note: Shadow variable Halide-17.0.1/test/correctness/atomic_tuples.cpp:206:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomic_tuples.cpp:177:13: note: Shadowed declaration Halide-17.0.1/test/correctness/atomic_tuples.cpp:206:22: note: Shadow variable Halide-17.0.1/test/correctness/bad_likely.cpp:13:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bad_likely.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bad_likely.cpp:13:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:18:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:18:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:31:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:31:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:44:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:44:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:57:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:57:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:70:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:70:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:83:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:83:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:96:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:96:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:111:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:111:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:126:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:126:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:144:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:144:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:159:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:159:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:174:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:174:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:189:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:189:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:204:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:204:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:219:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:219:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:234:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:234:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:249:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:249:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:263:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:263:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:285:14: style: Local variable 'a' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:107:10: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:285:14: note: Shadow variable Halide-17.0.1/test/correctness/bitwise_ops.cpp:286:14: style: Local variable 'b' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bitwise_ops.cpp:108:10: note: Shadowed declaration Halide-17.0.1/test/correctness/bitwise_ops.cpp:286:14: note: Shadow variable Halide-17.0.1/test/correctness/bound.cpp:25:22: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bound.cpp:7:15: note: Shadowed declaration Halide-17.0.1/test/correctness/bound.cpp:25:22: note: Shadow variable Halide-17.0.1/test/correctness/bound_storage.cpp:51:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bound_storage.cpp:34:21: note: Shadowed declaration Halide-17.0.1/test/correctness/bound_storage.cpp:51:18: note: Shadow variable Halide-17.0.1/test/correctness/bound_storage.cpp:52:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bound_storage.cpp:34:13: note: Shadowed declaration Halide-17.0.1/test/correctness/bound_storage.cpp:52:22: note: Shadow variable Halide-17.0.1/test/correctness/bound_storage.cpp:91:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bound_storage.cpp:65:21: note: Shadowed declaration Halide-17.0.1/test/correctness/bound_storage.cpp:91:18: note: Shadow variable Halide-17.0.1/test/correctness/bound_storage.cpp:92:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bound_storage.cpp:65:13: note: Shadowed declaration Halide-17.0.1/test/correctness/bound_storage.cpp:92:22: note: Shadow variable Halide-17.0.1/test/correctness/bound_storage.cpp:119:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bound_storage.cpp:106:21: note: Shadowed declaration Halide-17.0.1/test/correctness/bound_storage.cpp:119:18: note: Shadow variable Halide-17.0.1/test/correctness/bound_storage.cpp:120:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bound_storage.cpp:106:13: note: Shadowed declaration Halide-17.0.1/test/correctness/bound_storage.cpp:120:22: note: Shadow variable Halide-17.0.1/test/correctness/bounds_inference.cpp:31:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bounds_inference.cpp:8:17: note: Shadowed declaration Halide-17.0.1/test/correctness/bounds_inference.cpp:31:14: note: Shadow variable Halide-17.0.1/test/correctness/bounds_inference.cpp:32:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bounds_inference.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bounds_inference.cpp:32:18: note: Shadow variable Halide-17.0.1/test/correctness/bounds_inference_chunk.cpp:22:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bounds_inference_chunk.cpp:9:12: note: Shadowed declaration Halide-17.0.1/test/correctness/bounds_inference_chunk.cpp:22:14: note: Shadow variable Halide-17.0.1/test/correctness/bounds_inference_chunk.cpp:23:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bounds_inference_chunk.cpp:9:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bounds_inference_chunk.cpp:23:18: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:54:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:13: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:54:18: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:55:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:5: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:55:22: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:80:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:13: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:80:18: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:81:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:5: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:81:22: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:104:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:13: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:104:18: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:105:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:5: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:105:22: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:136:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:13: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:136:18: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:137:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:5: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:137:22: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:168:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:13: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:168:18: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:169:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:5: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:169:22: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:193:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:13: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:193:18: note: Shadow variable Halide-17.0.1/test/correctness/boundary_conditions.cpp:194:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/boundary_conditions.cpp:10:5: note: Shadowed declaration Halide-17.0.1/test/correctness/boundary_conditions.cpp:194:22: note: Shadow variable Halide-17.0.1/test/correctness/autodiff.cpp:27:14: style: Local variable 'func' shadows outer argument [shadowArgument] Halide-17.0.1/test/correctness/autodiff.cpp:22:38: note: Shadowed declaration Halide-17.0.1/test/correctness/autodiff.cpp:27:14: note: Shadow variable Halide-17.0.1/test/correctness/autodiff.cpp:285:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/autodiff.cpp:260:17: note: Shadowed declaration Halide-17.0.1/test/correctness/autodiff.cpp:285:14: note: Shadow variable Halide-17.0.1/test/correctness/autodiff.cpp:286:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/autodiff.cpp:260:9: note: Shadowed declaration Halide-17.0.1/test/correctness/autodiff.cpp:286:18: note: Shadow variable Halide-17.0.1/test/correctness/autodiff.cpp:295:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/autodiff.cpp:260:17: note: Shadowed declaration Halide-17.0.1/test/correctness/autodiff.cpp:295:14: note: Shadow variable Halide-17.0.1/test/correctness/autodiff.cpp:296:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/autodiff.cpp:260:9: note: Shadowed declaration Halide-17.0.1/test/correctness/autodiff.cpp:296:18: note: Shadow variable Halide-17.0.1/test/correctness/autodiff.cpp:314:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/autodiff.cpp:260:17: note: Shadowed declaration Halide-17.0.1/test/correctness/autodiff.cpp:314:14: note: Shadow variable Halide-17.0.1/test/correctness/autodiff.cpp:315:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/autodiff.cpp:260:9: note: Shadowed declaration Halide-17.0.1/test/correctness/autodiff.cpp:315:18: note: Shadow variable Halide-17.0.1/test/correctness/autodiff.cpp:476:15: style: Local variable 'd' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/autodiff.cpp:458:16: note: Shadowed declaration Halide-17.0.1/test/correctness/autodiff.cpp:476:15: note: Shadow variable Halide-17.0.1/test/correctness/bounds_query.cpp:44:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bounds_query.cpp:8:12: note: Shadowed declaration Halide-17.0.1/test/correctness/bounds_query.cpp:44:14: note: Shadow variable Halide-17.0.1/test/correctness/bounds_query.cpp:45:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/bounds_query.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/bounds_query.cpp:45:18: note: Shadow variable Halide-17.0.1/test/correctness/buffer_t.cpp:18:5: style: Same value in both branches of ternary operator. [duplicateValueTernary] Halide-17.0.1/test/correctness/buffer_t.cpp:19:5: style: Same value in both branches of ternary operator. [duplicateValueTernary] Halide-17.0.1/test/correctness/callable.cpp:20:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/callable.cpp:26:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/callable.cpp:171:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/callable.cpp:147:13: note: Shadowed declaration Halide-17.0.1/test/correctness/callable.cpp:171:18: note: Shadow variable Halide-17.0.1/test/correctness/callable.cpp:19:36: error: Memory is allocated but not initialized: orig [uninitdata] Halide-17.0.1/test/correctness/callable_errors.cpp:10:31: style: Parameter 'ucon' can be declared as pointer to const. However it seems that 'my_error' is a callback function, if 'ucon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/callable_errors.cpp:194:41: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/callable_errors.cpp:10:31: note: Parameter 'ucon' can be declared as pointer to const Halide-17.0.1/test/correctness/callable_generator.cpp:20:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/callable_generator.cpp:26:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/callable_generator.cpp:19:36: error: Memory is allocated but not initialized: orig [uninitdata] Halide-17.0.1/test/correctness/callable_typed.cpp:20:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/callable_typed.cpp:26:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/callable_typed.cpp:170:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/callable_typed.cpp:144:13: note: Shadowed declaration Halide-17.0.1/test/correctness/callable_typed.cpp:170:18: note: Shadow variable Halide-17.0.1/test/correctness/callable_typed.cpp:19:36: error: Memory is allocated but not initialized: orig [uninitdata] Halide-17.0.1/test/correctness/cast_handle.cpp:30:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/cast_handle.cpp:13:9: note: Shadowed declaration Halide-17.0.1/test/correctness/cast_handle.cpp:30:14: note: Shadow variable Halide-17.0.1/test/correctness/chunk.cpp:19:13: style: Local variable 'xo' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk.cpp:19:13: note: Shadow variable Halide-17.0.1/test/correctness/chunk.cpp:19:17: style: Local variable 'yo' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk.cpp:8:17: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk.cpp:19:17: note: Shadow variable Halide-17.0.1/test/correctness/chunk.cpp:19:21: style: Local variable 'xi' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk.cpp:8:13: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk.cpp:19:21: note: Shadow variable Halide-17.0.1/test/correctness/chunk.cpp:19:25: style: Local variable 'yi' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk.cpp:8:21: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk.cpp:19:25: note: Shadow variable Halide-17.0.1/test/correctness/chunk_sharing.cpp:25:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk_sharing.cpp:7:17: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk_sharing.cpp:25:14: note: Shadow variable Halide-17.0.1/test/correctness/chunk_sharing.cpp:26:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk_sharing.cpp:7:9: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk_sharing.cpp:26:18: note: Shadow variable Halide-17.0.1/test/correctness/chunk_sharing.cpp:27:17: style: Local variable 'a' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk_sharing.cpp:8:10: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk_sharing.cpp:27:17: note: Shadow variable Halide-17.0.1/test/correctness/chunk_sharing.cpp:28:17: style: Local variable 'b' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk_sharing.cpp:8:18: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk_sharing.cpp:28:17: note: Shadow variable Halide-17.0.1/test/correctness/chunk_sharing.cpp:29:17: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk_sharing.cpp:8:26: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk_sharing.cpp:29:17: note: Shadow variable Halide-17.0.1/test/correctness/chunk_sharing.cpp:30:17: style: Local variable 'd' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/chunk_sharing.cpp:8:34: note: Shadowed declaration Halide-17.0.1/test/correctness/chunk_sharing.cpp:30:17: note: Shadow variable Halide-17.0.1/test/correctness/circular_reference_leak.cpp:15:14: style: Variable 'f(r)' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/test/correctness/compare_vars.cpp:13:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/compare_vars.cpp:8:12: note: Shadowed declaration Halide-17.0.1/test/correctness/compare_vars.cpp:13:14: note: Shadow variable Halide-17.0.1/test/correctness/compare_vars.cpp:14:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/compare_vars.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/compare_vars.cpp:14:18: note: Shadow variable Halide-17.0.1/test/correctness/compute_outermost.cpp:39:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/compute_outermost.cpp:22:12: note: Shadowed declaration Halide-17.0.1/test/correctness/compute_outermost.cpp:39:14: note: Shadow variable Halide-17.0.1/test/correctness/compute_outermost.cpp:40:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/compute_outermost.cpp:22:9: note: Shadowed declaration Halide-17.0.1/test/correctness/compute_outermost.cpp:40:18: note: Shadow variable Halide-17.0.1/test/correctness/compile_to_multitarget.cpp:64:15: performance: Range variable 's' should be declared as const reference. [iterateByValue] Halide-17.0.1/test/correctness/compile_to_multitarget.cpp:96:15: performance: Range variable 's' should be declared as const reference. [iterateByValue] Halide-17.0.1/test/correctness/compile_to_multitarget.cpp:57:17: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/test/correctness/compile_to_multitarget.cpp:65:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/test/correctness/compile_to_multitarget.cpp:90:17: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/test/correctness/compile_to_multitarget.cpp:97:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/test/correctness/compile_to_multitarget.cpp:121:17: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/test/correctness/compile_to_multitarget.cpp:151:17: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/test/correctness/constraints.cpp:10:39: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_error_handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/constraints.cpp:200:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/constraints.cpp:10:39: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/convolution_multiple_kernels.cpp:51:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/convolution_multiple_kernels.cpp:18:17: note: Shadowed declaration Halide-17.0.1/test/correctness/convolution_multiple_kernels.cpp:51:14: note: Shadow variable Halide-17.0.1/test/correctness/convolution_multiple_kernels.cpp:52:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/convolution_multiple_kernels.cpp:18:9: note: Shadowed declaration Halide-17.0.1/test/correctness/convolution_multiple_kernels.cpp:52:18: note: Shadow variable Halide-17.0.1/test/correctness/convolution.cpp:102:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/convolution.cpp:18:17: note: Shadowed declaration Halide-17.0.1/test/correctness/convolution.cpp:102:14: note: Shadow variable Halide-17.0.1/test/correctness/convolution.cpp:103:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/convolution.cpp:18:9: note: Shadowed declaration Halide-17.0.1/test/correctness/convolution.cpp:103:18: note: Shadow variable Halide-17.0.1/test/correctness/cse_name_collision.cpp:40:21: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/custom_allocator.cpp:15:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/custom_allocator.cpp:21:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/custom_allocator.cpp:14:36: error: Memory is allocated but not initialized: orig [uninitdata] Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:59:37: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:40:22: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:17:20: note: Shadowed declaration Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:40:22: note: Shadow variable Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:41:26: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:17:17: note: Shadowed declaration Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:41:26: note: Shadow variable Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:43:30: style: Local variable 'r' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:26:18: note: Shadowed declaration Halide-17.0.1/test/correctness/cuda_8_bit_dot_product.cpp:43:30: note: Shadow variable Halide-17.0.1/test/correctness/compute_with.cpp:2021:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/compute_with.cpp:2007:12: note: Shadowed declaration Halide-17.0.1/test/correctness/compute_with.cpp:2021:14: note: Shadow variable Halide-17.0.1/test/correctness/compute_with.cpp:2022:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/compute_with.cpp:2007:9: note: Shadowed declaration Halide-17.0.1/test/correctness/compute_with.cpp:2022:18: note: Shadow variable Halide-17.0.1/test/correctness/compute_with.cpp:51:31: performance: Function parameter 'event' should be passed by const reference. [passedByValue] Halide-17.0.1/test/correctness/compute_with.cpp:51:45: performance: Function parameter 'fname' should be passed by const reference. [passedByValue] Halide-17.0.1/test/correctness/custom_cuda_context.cpp:17:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/custom_cuda_context.cpp:24:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/custom_cuda_context.cpp:30:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/custom_cuda_context.cpp:161:23: style: The scope of the variable 'correct' can be reduced. [variableScope] Halide-17.0.1/test/correctness/custom_cuda_context.cpp:159:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/custom_cuda_context.cpp:150:16: note: Shadowed declaration Halide-17.0.1/test/correctness/custom_cuda_context.cpp:159:18: note: Shadow variable Halide-17.0.1/test/correctness/custom_cuda_context.cpp:160:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/custom_cuda_context.cpp:150:9: note: Shadowed declaration Halide-17.0.1/test/correctness/custom_cuda_context.cpp:160:22: note: Shadow variable Halide-17.0.1/test/correctness/custom_jit_context.cpp:10:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/custom_jit_context.cpp:14:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/custom_jit_context.cpp:18:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/custom_jit_context.cpp:22:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_multiple_outputs.cpp:54:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_multiple_outputs.cpp:63:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_multiple_outputs.cpp:76:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_multiple_outputs.cpp:85:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_multiple_outputs.cpp:99:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_multiple_outputs.cpp:108:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/deferred_loop_level.cpp:59:9: performance: Variable 'inner' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] Halide-17.0.1/test/correctness/deferred_loop_level.cpp:73:25: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/deferred_loop_level.cpp:47:21: note: Shadowed declaration Halide-17.0.1/test/correctness/deferred_loop_level.cpp:73:25: note: Shadow variable Halide-17.0.1/test/correctness/debug_to_file_reorder.cpp:57:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_reorder.cpp:66:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_reorder.cpp:79:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_reorder.cpp:88:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_reorder.cpp:102:26: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/debug_to_file_reorder.cpp:111:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/deinterleave4.cpp:32:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/deinterleave4.cpp:6:5: note: Shadowed declaration Halide-17.0.1/test/correctness/deinterleave4.cpp:32:14: note: Shadow variable Halide-17.0.1/test/correctness/device_buffer_copies_with_profile.cpp:31:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/device_buffer_copies_with_profile.cpp:14:12: note: Shadowed declaration Halide-17.0.1/test/correctness/device_buffer_copies_with_profile.cpp:31:14: note: Shadow variable Halide-17.0.1/test/correctness/device_buffer_copies_with_profile.cpp:32:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/device_buffer_copies_with_profile.cpp:14:9: note: Shadowed declaration Halide-17.0.1/test/correctness/device_buffer_copies_with_profile.cpp:32:18: note: Shadow variable Halide-17.0.1/test/correctness/device_copy_at_inner_loop.cpp:34:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/device_copy_at_inner_loop.cpp:21:12: note: Shadowed declaration Halide-17.0.1/test/correctness/device_copy_at_inner_loop.cpp:34:14: note: Shadow variable Halide-17.0.1/test/correctness/device_copy_at_inner_loop.cpp:35:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/device_copy_at_inner_loop.cpp:21:9: note: Shadowed declaration Halide-17.0.1/test/correctness/device_copy_at_inner_loop.cpp:35:18: note: Shadow variable Halide-17.0.1/test/correctness/dilate3x3.cpp:42:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/dilate3x3.cpp:16:17: note: Shadowed declaration Halide-17.0.1/test/correctness/dilate3x3.cpp:42:14: note: Shadow variable Halide-17.0.1/test/correctness/dilate3x3.cpp:43:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/dilate3x3.cpp:16:9: note: Shadowed declaration Halide-17.0.1/test/correctness/dilate3x3.cpp:43:18: note: Shadow variable Halide-17.0.1/test/correctness/dynamic_allocation_in_gpu_kernel.cpp:46:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/dynamic_allocation_in_gpu_kernel.cpp:13:12: note: Shadowed declaration Halide-17.0.1/test/correctness/dynamic_allocation_in_gpu_kernel.cpp:46:18: note: Shadow variable Halide-17.0.1/test/correctness/dynamic_allocation_in_gpu_kernel.cpp:47:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/dynamic_allocation_in_gpu_kernel.cpp:13:9: note: Shadowed declaration Halide-17.0.1/test/correctness/dynamic_allocation_in_gpu_kernel.cpp:47:22: note: Shadow variable Halide-17.0.1/test/correctness/div_round_to_zero.cpp:24:18: style: Local variable 'd' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/div_round_to_zero.cpp:13:14: note: Shadowed declaration Halide-17.0.1/test/correctness/div_round_to_zero.cpp:24:18: note: Shadow variable Halide-17.0.1/test/correctness/div_round_to_zero.cpp:28:22: style: Local variable 'n' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/div_round_to_zero.cpp:14:14: note: Shadowed declaration Halide-17.0.1/test/correctness/div_round_to_zero.cpp:28:22: note: Shadow variable Halide-17.0.1/test/correctness/erf.cpp:33:15: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/erf.cpp:23:9: note: Shadowed declaration Halide-17.0.1/test/correctness/erf.cpp:33:15: note: Shadow variable Halide-17.0.1/test/correctness/extern_consumer.cpp:21:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_consumer.cpp:21:14: style: Variable 'base' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/test/correctness/extern_error.cpp:7:66: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/test/correctness/extern_error.cpp:7:97: style: Parameter 'out' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/test/correctness/extern_error.cpp:13:70: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_halide_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/extern_error.cpp:29:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/extern_error.cpp:13:70: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/extern_consumer_tiled.cpp:26:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_consumer_tiled.cpp:55:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/extern_consumer_tiled.cpp:36:12: note: Shadowed declaration Halide-17.0.1/test/correctness/extern_consumer_tiled.cpp:55:14: note: Shadow variable Halide-17.0.1/test/correctness/extern_consumer_tiled.cpp:56:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/extern_consumer_tiled.cpp:36:9: note: Shadowed declaration Halide-17.0.1/test/correctness/extern_consumer_tiled.cpp:56:18: note: Shadow variable Halide-17.0.1/test/correctness/extern_output_expansion.cpp:25:30: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_output_expansion.cpp:26:31: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_output_expansion.cpp:60:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/extern_output_expansion.cpp:39:14: note: Shadowed declaration Halide-17.0.1/test/correctness/extern_output_expansion.cpp:60:18: note: Shadow variable Halide-17.0.1/test/correctness/extern_output_expansion.cpp:25:18: style: Variable 'in_origin' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/test/correctness/extern_partial.cpp:26:18: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_partial.cpp:54:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/extern_partial.cpp:38:16: note: Shadowed declaration Halide-17.0.1/test/correctness/extern_partial.cpp:54:18: note: Shadow variable Halide-17.0.1/test/correctness/extern_partial.cpp:55:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/extern_partial.cpp:38:13: note: Shadowed declaration Halide-17.0.1/test/correctness/extern_partial.cpp:55:22: note: Shadow variable Halide-17.0.1/test/correctness/extern_producer.cpp:57:20: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_producer.cpp:85:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_producer.cpp:86:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_sort.cpp:14:28: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_sort.cpp:36:25: error: Iterators of different containers 'reference(0)' and 'reference(100)' are used together. [mismatchingContainers] Halide-17.0.1/test/correctness/extern_stage.cpp:48:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_stage.cpp:49:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_stage.cpp:50:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/extern_stage.cpp:49:18: style: Variable 'src1' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/test/correctness/extern_stage.cpp:50:14: style: Variable 'src2' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/test/correctness/fast_trigonometric.cpp:24:21: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/fast_trigonometric.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/fast_trigonometric.cpp:24:21: note: Shadow variable Halide-17.0.1/test/correctness/extract_concat_bits.cpp:69:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/fit_function.cpp:74:27: style: Local variable 'd' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/fit_function.cpp:37:10: note: Shadowed declaration Halide-17.0.1/test/correctness/fit_function.cpp:74:27: note: Shadow variable Halide-17.0.1/test/correctness/fit_function.cpp:64:10: style: Variable 'fs' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/float16_t_constants.cpp:141:15: style: Variable 'tests' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/float16_t.cpp:149:23: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/float16_t.cpp:63:9: note: Shadowed declaration Halide-17.0.1/test/correctness/float16_t.cpp:149:23: note: Shadow variable Halide-17.0.1/test/correctness/float16_t.cpp:171:23: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/float16_t.cpp:63:9: note: Shadowed declaration Halide-17.0.1/test/correctness/float16_t.cpp:171:23: note: Shadow variable Halide-17.0.1/test/correctness/float16_t.cpp:193:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/float16_t.cpp:63:9: note: Shadowed declaration Halide-17.0.1/test/correctness/float16_t.cpp:193:13: note: Shadow variable Halide-17.0.1/test/correctness/float16_t.cpp:215:21: style: Local variable 'r' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/float16_t.cpp:98:10: note: Shadowed declaration Halide-17.0.1/test/correctness/float16_t.cpp:215:21: note: Shadow variable Halide-17.0.1/test/correctness/float16_t.cpp:208:19: style: Local variable 'f' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/float16_t.cpp:91:10: note: Shadowed declaration Halide-17.0.1/test/correctness/float16_t.cpp:208:19: note: Shadow variable Halide-17.0.1/test/correctness/float16_t.cpp:234:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/float16_t.cpp:63:9: note: Shadowed declaration Halide-17.0.1/test/correctness/float16_t.cpp:234:13: note: Shadow variable Halide-17.0.1/test/correctness/float16_t.cpp:249:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/float16_t.cpp:234:16: note: Shadowed declaration Halide-17.0.1/test/correctness/float16_t.cpp:249:18: note: Shadow variable Halide-17.0.1/test/correctness/float16_t.cpp:250:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/float16_t.cpp:234:13: note: Shadowed declaration Halide-17.0.1/test/correctness/float16_t.cpp:250:22: note: Shadow variable Halide-17.0.1/test/correctness/float16_t.cpp:290:30: style: Variable 'test_cases' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/force_onto_stack.cpp:4:33: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_malloc' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/force_onto_stack.cpp:82:42: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/force_onto_stack.cpp:4:33: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/force_onto_stack.cpp:10:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_free' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/force_onto_stack.cpp:83:40: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/force_onto_stack.cpp:10:30: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/force_onto_stack.cpp:10:50: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'my_free' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/force_onto_stack.cpp:83:40: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/force_onto_stack.cpp:10:50: note: Parameter 'ptr' can be declared as pointer to const Halide-17.0.1/test/correctness/func_clone.cpp:365:32: style: Condition 'clone_reduction_test()!=0' is always false [knownConditionTrueFalse] Halide-17.0.1/test/correctness/func_clone.cpp:365:29: note: Calling function 'clone_reduction_test' returns 0 Halide-17.0.1/test/correctness/func_clone.cpp:365:32: note: Condition 'clone_reduction_test()!=0' is always false Halide-17.0.1/test/correctness/func_clone.cpp:174:21: style: Local variable 'im' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/func_clone.cpp:163:17: note: Shadowed declaration Halide-17.0.1/test/correctness/func_clone.cpp:174:21: note: Shadow variable Halide-17.0.1/test/correctness/func_clone.cpp:175:14: style: Local variable 'func' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/func_clone.cpp:164:10: note: Shadowed declaration Halide-17.0.1/test/correctness/func_clone.cpp:175:14: note: Shadow variable Halide-17.0.1/test/correctness/func_clone.cpp:41:17: style: Variable 'h(x,y)' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/test/correctness/func_wrapper.cpp:603:33: style: Condition 'lots_of_wrappers_test()!=0' is always false [knownConditionTrueFalse] Halide-17.0.1/test/correctness/func_wrapper.cpp:603:30: note: Calling function 'lots_of_wrappers_test' returns 0 Halide-17.0.1/test/correctness/func_wrapper.cpp:603:33: note: Condition 'lots_of_wrappers_test()!=0' is always false Halide-17.0.1/test/correctness/func_wrapper.cpp:56:17: style: Variable 'h(x,y)' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/test/correctness/gameoflife.cpp:128:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gameoflife.cpp:93:16: note: Shadowed declaration Halide-17.0.1/test/correctness/gameoflife.cpp:128:18: note: Shadow variable Halide-17.0.1/test/correctness/gameoflife.cpp:129:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gameoflife.cpp:93:13: note: Shadowed declaration Halide-17.0.1/test/correctness/gameoflife.cpp:129:22: note: Shadow variable Halide-17.0.1/test/correctness/gather.cpp:73:17: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/gather.cpp:67:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gather.cpp:31:12: note: Shadowed declaration Halide-17.0.1/test/correctness/gather.cpp:67:14: note: Shadow variable Halide-17.0.1/test/correctness/gather.cpp:68:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gather.cpp:31:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gather.cpp:68:18: note: Shadow variable Halide-17.0.1/test/correctness/gather.cpp:69:17: style: Local variable 'xCoord' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gather.cpp:36:10: note: Shadowed declaration Halide-17.0.1/test/correctness/gather.cpp:69:17: note: Shadow variable Halide-17.0.1/test/correctness/gather.cpp:70:17: style: Local variable 'yCoord' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gather.cpp:37:10: note: Shadowed declaration Halide-17.0.1/test/correctness/gather.cpp:70:17: note: Shadow variable Halide-17.0.1/test/correctness/gpu_cpu_simultaneous_read.cpp:39:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_cpu_simultaneous_read.cpp:13:12: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_cpu_simultaneous_read.cpp:39:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_cpu_simultaneous_read.cpp:40:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_cpu_simultaneous_read.cpp:13:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_cpu_simultaneous_read.cpp:40:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_data_flows.cpp:50:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_data_flows.cpp:29:13: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_data_flows.cpp:50:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_data_flows.cpp:83:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_data_flows.cpp:63:13: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_data_flows.cpp:83:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_error_1.cpp:14:23: style: Variable 'm' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/test/correctness/gpu_dynamic_shared.cpp:54:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_dynamic_shared.cpp:38:17: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_dynamic_shared.cpp:54:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:40:14: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:14:25: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:40:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:41:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:14:17: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:41:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:42:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:14:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_mixed_dimensionality.cpp:42:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_mixed_shared_mem_types.cpp:11:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/gpu_mixed_shared_mem_types.cpp:11:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/gpu_mixed_shared_mem_types.cpp:11:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/gpu_multi_device.cpp:65:10: performance:inconclusive: Technically the member function 'MultiDevicePipeline::verify' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/test/correctness/gpu_multi_device.cpp:11:5: style: Struct 'MultiDevicePipeline' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:18:34: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/gpu_object_lifetime_1.cpp:40:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_object_lifetime_1.cpp:29:14: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_object_lifetime_1.cpp:40:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:61:14: style: Local variable 'w' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:9:18: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:61:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:62:18: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:9:15: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:62:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:63:22: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:9:12: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:63:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:64:26: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:9:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_non_contiguous_copy.cpp:64:26: note: Shadow variable Halide-17.0.1/test/correctness/gpu_specialize.cpp:59:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_specialize.cpp:19:21: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_specialize.cpp:59:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_specialize.cpp:60:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_specialize.cpp:19:13: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_specialize.cpp:60:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_specialize.cpp:95:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_specialize.cpp:78:21: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_specialize.cpp:95:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_specialize.cpp:96:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_specialize.cpp:78:13: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_specialize.cpp:96:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_store_in_register_with_no_lanes_loop.cpp:43:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_store_in_register_with_no_lanes_loop.cpp:13:12: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_store_in_register_with_no_lanes_loop.cpp:43:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_store_in_register_with_no_lanes_loop.cpp:44:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_store_in_register_with_no_lanes_loop.cpp:13:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_store_in_register_with_no_lanes_loop.cpp:44:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:31:14: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:7:15: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:31:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:32:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:7:12: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:32:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:33:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:7:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:33:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:75:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:52:12: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:75:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:76:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:52:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:76:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:124:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:94:12: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:124:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:125:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:94:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:125:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:155:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:140:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_reuse_shared_memory.cpp:155:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_thread_barrier.cpp:30:5: style: Class 'CheckBarrierCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/gpu_thread_barrier.cpp:90:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_thread_barrier.cpp:56:16: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_thread_barrier.cpp:90:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_thread_barrier.cpp:91:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_thread_barrier.cpp:56:13: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_thread_barrier.cpp:91:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_texture.cpp:48:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_texture.cpp:36:17: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_texture.cpp:48:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_texture.cpp:77:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_texture.cpp:65:17: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_texture.cpp:77:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_texture.cpp:107:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_texture.cpp:94:17: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_texture.cpp:107:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_texture.cpp:140:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_texture.cpp:125:17: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_texture.cpp:140:22: note: Shadow variable Halide-17.0.1/test/correctness/gpu_transpose.cpp:44:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_transpose.cpp:14:12: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_transpose.cpp:44:14: note: Shadow variable Halide-17.0.1/test/correctness/gpu_transpose.cpp:45:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_transpose.cpp:14:9: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_transpose.cpp:45:18: note: Shadow variable Halide-17.0.1/test/correctness/gpu_vectorized_shared_memory.cpp:29:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/gpu_vectorized_shared_memory.cpp:11:13: note: Shadowed declaration Halide-17.0.1/test/correctness/gpu_vectorized_shared_memory.cpp:29:18: note: Shadow variable Halide-17.0.1/test/correctness/half_native_interleave.cpp:45:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/half_native_interleave.cpp:14:9: note: Shadowed declaration Halide-17.0.1/test/correctness/half_native_interleave.cpp:45:14: note: Shadow variable Halide-17.0.1/test/correctness/halide_buffer.cpp:231:72: style: Parameter 'a' can be declared as reference to const [constParameterReference] Halide-17.0.1/test/correctness/halide_buffer.cpp:231:96: style: Parameter 'b' can be declared as reference to const [constParameterReference] Halide-17.0.1/test/correctness/heap_cleanup.cpp:16:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/heap_cleanup.cpp:22:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/heap_cleanup.cpp:26:39: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_error_handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/heap_cleanup.cpp:54:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/heap_cleanup.cpp:26:39: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/heap_cleanup.cpp:15:36: error: Memory is allocated but not initialized: orig [uninitdata] Halide-17.0.1/test/correctness/hexagon_scatter.cpp:86:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/hexagon_scatter.cpp:48:12: note: Shadowed declaration Halide-17.0.1/test/correctness/hexagon_scatter.cpp:86:14: note: Shadow variable Halide-17.0.1/test/correctness/hexagon_scatter.cpp:87:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/hexagon_scatter.cpp:48:9: note: Shadowed declaration Halide-17.0.1/test/correctness/hexagon_scatter.cpp:87:18: note: Shadow variable Halide-17.0.1/test/correctness/hexagon_scatter.cpp:5:28: style: Parameter 'buf' can be declared as reference to const [constParameterReference] Halide-17.0.1/test/correctness/atomics.cpp:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] Halide-17.0.1/test/correctness/histogram_equalize.cpp:46:14: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/histogram_equalize.cpp:23:15: note: Shadowed declaration Halide-17.0.1/test/correctness/histogram_equalize.cpp:46:14: note: Shadow variable Halide-17.0.1/test/correctness/histogram_equalize.cpp:49:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/histogram_equalize.cpp:23:12: note: Shadowed declaration Halide-17.0.1/test/correctness/histogram_equalize.cpp:49:14: note: Shadow variable Halide-17.0.1/test/correctness/histogram_equalize.cpp:50:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/histogram_equalize.cpp:23:9: note: Shadowed declaration Halide-17.0.1/test/correctness/histogram_equalize.cpp:50:18: note: Shadow variable Halide-17.0.1/test/correctness/histogram_equalize.cpp:55:14: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/histogram_equalize.cpp:23:15: note: Shadowed declaration Halide-17.0.1/test/correctness/histogram_equalize.cpp:55:14: note: Shadow variable Halide-17.0.1/test/correctness/host_alignment.cpp:53:5: style: Class 'CountHostAlignmentAsserts' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/host_alignment.cpp:53:53: performance: Function parameter 'm' should be passed by const reference. [passedByValue] Halide-17.0.1/test/correctness/host_alignment.cpp:97:64: performance: Function parameter 'm' should be passed by const reference. [passedByValue] Halide-17.0.1/test/correctness/hoist_storage.cpp:13:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/hoist_storage.cpp:18:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/hoist_storage.cpp:12:36: error: Memory is allocated but not initialized: orig [uninitdata] Halide-17.0.1/test/correctness/atomics.cpp:1060:23: warning: Invalid sqrtf() argument nr 1. The value is -0.8360218615 but the valid values are '0.0:'. [invalidFunctionArg] Halide-17.0.1/test/correctness/atomics.cpp:1058:16: note: Assignment 'f=3.0f', assigned value is 3.0 Halide-17.0.1/test/correctness/atomics.cpp:1060:23: note: Invalid argument Halide-17.0.1/test/correctness/image_of_lists.cpp:48:82: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] Halide-17.0.1/test/correctness/image_io.cpp:43:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/image_io.cpp:137:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/image_io.cpp:112:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/image_io.cpp:87:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/image_io.cpp:64:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/image_io.cpp:250:13: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/image_io.cpp:10:49: performance: Function parameter 'format' should be passed by const reference. [passedByValue] Halide-17.0.1/test/correctness/image_io.cpp:195:22: performance: Range variable 'format' should be declared as const reference. [iterateByValue] Halide-17.0.1/test/correctness/image_wrapper.cpp:55:17: style: Variable 'h(x,y)' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/test/correctness/implicit_args.cpp:32:26: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/implicit_args.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/implicit_args.cpp:32:26: note: Shadow variable Halide-17.0.1/test/correctness/in_place.cpp:61:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/in_place.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/in_place.cpp:61:14: note: Shadow variable Halide-17.0.1/test/correctness/atomics.cpp:386:11: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomics.cpp:305:9: note: Shadowed declaration Halide-17.0.1/test/correctness/atomics.cpp:386:11: note: Shadow variable Halide-17.0.1/test/correctness/atomics.cpp:401:11: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomics.cpp:305:9: note: Shadowed declaration Halide-17.0.1/test/correctness/atomics.cpp:401:11: note: Shadow variable Halide-17.0.1/test/correctness/atomics.cpp:234:11: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/atomics.cpp:166:9: note: Shadowed declaration Halide-17.0.1/test/correctness/atomics.cpp:234:11: note: Shadow variable Halide-17.0.1/test/correctness/float16_t_neon_op_check.cpp:196:43: error: Invalid select() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/test/correctness/simd_op_check.h:151:10: performance:inconclusive: Technically the member function 'Halide::SimdOpCheckTest::wildcard_match' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/test/correctness/float16_t_neon_op_check.cpp:47:22: debug: CheckClass::isMemberVar found used member variable 'in_f64' with varid 0 [varid0] Halide-17.0.1/test/correctness/float16_t_neon_op_check.cpp:297:12: performance:inconclusive: Technically the member function '::SimdOpCheck::suffix_of_st' can be static (but you may consider moving to unnamed namespace). [functionStatic] Halide-17.0.1/test/correctness/float16_t_neon_op_check.cpp:17:5: style: Class 'SimdOpCheck' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/inline_reduction.cpp:23:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/inline_reduction.cpp:13:12: note: Shadowed declaration Halide-17.0.1/test/correctness/inline_reduction.cpp:23:14: note: Shadow variable Halide-17.0.1/test/correctness/inline_reduction.cpp:24:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/inline_reduction.cpp:13:9: note: Shadowed declaration Halide-17.0.1/test/correctness/inline_reduction.cpp:24:18: note: Shadow variable Halide-17.0.1/test/correctness/inline_reduction.cpp:25:19: style: Local variable 'local_mean' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/inline_reduction.cpp:18:10: note: Shadowed declaration Halide-17.0.1/test/correctness/inline_reduction.cpp:25:19: note: Shadow variable Halide-17.0.1/test/correctness/inline_reduction.cpp:26:19: style: Local variable 'local_variance' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/inline_reduction.cpp:16:10: note: Shadowed declaration Halide-17.0.1/test/correctness/inline_reduction.cpp:26:19: note: Shadow variable Halide-17.0.1/test/correctness/inline_reduction.cpp:36:19: style: Local variable 'r' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/inline_reduction.cpp:9:10: note: Shadowed declaration Halide-17.0.1/test/correctness/inline_reduction.cpp:36:19: note: Shadow variable Halide-17.0.1/test/correctness/inline_reduction.cpp:74:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/inline_reduction.cpp:13:12: note: Shadowed declaration Halide-17.0.1/test/correctness/inline_reduction.cpp:74:14: note: Shadow variable Halide-17.0.1/test/correctness/inline_reduction.cpp:75:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/inline_reduction.cpp:13:9: note: Shadowed declaration Halide-17.0.1/test/correctness/inline_reduction.cpp:75:18: note: Shadow variable Halide-17.0.1/test/correctness/simd_op_check.h:277:42: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/simd_op_check.h:278:33: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/simd_op_check.h:287:20: style: Local variable 'e' shadows outer argument [shadowArgument] Halide-17.0.1/test/correctness/simd_op_check.h:197:97: note: Shadowed declaration Halide-17.0.1/test/correctness/simd_op_check.h:287:20: note: Shadow variable Halide-17.0.1/test/correctness/float16_t_neon_op_check.cpp:78:20: style: Variable 'test_param' can be declared as reference to const [constVariableReference] Halide-17.0.1/test/correctness/float16_t_neon_op_check.cpp:87:24: style: Variable 'vl_param' can be declared as reference to const [constVariableReference] Halide-17.0.1/test/correctness/float16_t_neon_op_check.cpp:72:20: style: Variable 'test_params' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/input_larger_than_two_gigs.cpp:8:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/input_larger_than_two_gigs.cpp:28:47: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/input_larger_than_two_gigs.cpp:8:35: note: Parameter 'ctx' can be declared as pointer to const Halide-17.0.1/test/correctness/interleave_x.cpp:25:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave_x.cpp:8:17: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave_x.cpp:25:14: note: Shadow variable Halide-17.0.1/test/correctness/interleave_x.cpp:26:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave_x.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave_x.cpp:26:18: note: Shadow variable Halide-17.0.1/test/correctness/interleave_rgb.cpp:96:21: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/interleave_rgb.cpp:51:21: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/interleave_rgb.cpp:91:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave_rgb.cpp:62:17: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave_rgb.cpp:91:14: note: Shadow variable Halide-17.0.1/test/correctness/interleave_rgb.cpp:92:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave_rgb.cpp:62:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave_rgb.cpp:92:18: note: Shadow variable Halide-17.0.1/test/correctness/interleave_rgb.cpp:93:22: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave_rgb.cpp:62:25: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave_rgb.cpp:93:22: note: Shadow variable Halide-17.0.1/test/correctness/interleave_rgb.cpp:46:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave_rgb.cpp:8:17: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave_rgb.cpp:46:14: note: Shadow variable Halide-17.0.1/test/correctness/interleave_rgb.cpp:47:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave_rgb.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave_rgb.cpp:47:18: note: Shadow variable Halide-17.0.1/test/correctness/interleave_rgb.cpp:48:22: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave_rgb.cpp:8:25: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave_rgb.cpp:48:22: note: Shadow variable Halide-17.0.1/test/correctness/interpreter.cpp:163:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interpreter.cpp:50:12: note: Shadowed declaration Halide-17.0.1/test/correctness/interpreter.cpp:163:18: note: Shadow variable Halide-17.0.1/test/correctness/interpreter.cpp:164:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interpreter.cpp:50:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interpreter.cpp:164:22: note: Shadow variable Halide-17.0.1/test/correctness/interpreter.cpp:181:19: style: Local variable 'W' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interpreter.cpp:140:15: note: Shadowed declaration Halide-17.0.1/test/correctness/interpreter.cpp:181:19: note: Shadow variable Halide-17.0.1/test/correctness/interpreter.cpp:181:28: style: Local variable 'H' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interpreter.cpp:140:24: note: Shadowed declaration Halide-17.0.1/test/correctness/interpreter.cpp:181:28: note: Shadow variable Halide-17.0.1/test/correctness/interpreter.cpp:190:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interpreter.cpp:50:12: note: Shadowed declaration Halide-17.0.1/test/correctness/interpreter.cpp:190:18: note: Shadow variable Halide-17.0.1/test/correctness/interpreter.cpp:191:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interpreter.cpp:50:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interpreter.cpp:191:22: note: Shadow variable Halide-17.0.1/test/correctness/introspection.cpp:76:10: style:inconclusive: Technically the member function 'Foo::::Bar::check_bar' can be const. [functionConst] Halide-17.0.1/test/correctness/introspection.cpp:80:9: style:inconclusive: Technically the member function 'Foo::::Bar::get' can be const. [functionConst] Halide-17.0.1/test/correctness/introspection.cpp:71:5: style: Struct 'Bar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/iterate_over_circle.cpp:35:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/iterate_over_circle.cpp:17:12: note: Shadowed declaration Halide-17.0.1/test/correctness/iterate_over_circle.cpp:35:14: note: Shadow variable Halide-17.0.1/test/correctness/iterate_over_circle.cpp:36:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/iterate_over_circle.cpp:17:9: note: Shadowed declaration Halide-17.0.1/test/correctness/iterate_over_circle.cpp:36:18: note: Shadow variable Halide-17.0.1/test/correctness/iterate_over_circle.cpp:7:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/iterate_over_circle.cpp:31:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/iterate_over_circle.cpp:7:30: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/lambda.cpp:19:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/lambda.cpp:9:12: note: Shadowed declaration Halide-17.0.1/test/correctness/lambda.cpp:19:14: note: Shadow variable Halide-17.0.1/test/correctness/lambda.cpp:20:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/lambda.cpp:9:9: note: Shadowed declaration Halide-17.0.1/test/correctness/lambda.cpp:20:18: note: Shadow variable Halide-17.0.1/test/correctness/lambda.cpp:36:14: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/lambda.cpp:9:15: note: Shadowed declaration Halide-17.0.1/test/correctness/lambda.cpp:36:14: note: Shadow variable Halide-17.0.1/test/correctness/lambda.cpp:37:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/lambda.cpp:9:12: note: Shadowed declaration Halide-17.0.1/test/correctness/lambda.cpp:37:18: note: Shadow variable Halide-17.0.1/test/correctness/lambda.cpp:38:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/lambda.cpp:9:9: note: Shadowed declaration Halide-17.0.1/test/correctness/lambda.cpp:38:22: note: Shadow variable Halide-17.0.1/test/correctness/legal_race_condition.cpp:59:23: error: Iterators of different containers 'out(0)' and 'out(256)' are used together. [mismatchingContainers] Halide-17.0.1/test/correctness/likely.cpp:32:5: style: Class 'Counter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/likely.cpp:54:5: style: Class 'CheckSinCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/likely.cpp:283:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/likely.cpp:97:9: note: Shadowed declaration Halide-17.0.1/test/correctness/likely.cpp:283:13: note: Shadow variable Halide-17.0.1/test/correctness/likely.cpp:298:14: style: Local variable 'f' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/likely.cpp:96:10: note: Shadowed declaration Halide-17.0.1/test/correctness/likely.cpp:298:14: note: Shadow variable Halide-17.0.1/test/correctness/likely.cpp:299:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/likely.cpp:97:9: note: Shadowed declaration Halide-17.0.1/test/correctness/likely.cpp:299:13: note: Shadow variable Halide-17.0.1/test/correctness/load_library.cpp:50:40: style: Parameter 'lib' can be declared as pointer to const. However it seems that 'my_get_library_symbol_impl' is a callback function, if 'lib' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/load_library.cpp:80:42: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/load_library.cpp:50:40: note: Parameter 'lib' can be declared as pointer to const Halide-17.0.1/test/correctness/intrinsics.cpp:331:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/intrinsics.cpp:116:5: note: Shadowed declaration Halide-17.0.1/test/correctness/intrinsics.cpp:331:13: note: Shadow variable Halide-17.0.1/test/correctness/intrinsics.cpp:71:38: style: Variable 'intrinsics_with_reference_answer' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/intrinsics.cpp:90:38: style: Variable 'multiply_intrinsics_with_reference_answer' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/logical.cpp:45:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:12: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:45:18: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:46:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:9: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:46:22: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:81:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:12: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:81:18: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:82:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:9: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:82:22: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:83:22: style: Local variable 'common_cond' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:62:14: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:83:22: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:115:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:12: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:115:18: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:116:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:9: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:116:22: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:147:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:12: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:147:18: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:148:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:9: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:148:22: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:210:22: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:12: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:210:22: note: Shadow variable Halide-17.0.1/test/correctness/logical.cpp:211:26: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/logical.cpp:24:9: note: Shadowed declaration Halide-17.0.1/test/correctness/logical.cpp:211:26: note: Shadow variable Halide-17.0.1/test/correctness/loop_invariant_extern_calls.cpp:47:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/loop_invariant_extern_calls.cpp:35:12: note: Shadowed declaration Halide-17.0.1/test/correctness/loop_invariant_extern_calls.cpp:47:14: note: Shadow variable Halide-17.0.1/test/correctness/loop_invariant_extern_calls.cpp:48:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/loop_invariant_extern_calls.cpp:35:9: note: Shadowed declaration Halide-17.0.1/test/correctness/loop_invariant_extern_calls.cpp:48:18: note: Shadow variable Halide-17.0.1/test/correctness/low_bit_depth_noise.cpp:40:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/low_bit_depth_noise.cpp:40:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Halide-17.0.1/test/correctness/low_bit_depth_noise.cpp:39:45: error: Division by zero. [zerodiv] Halide-17.0.1/test/correctness/low_bit_depth_noise.cpp:32:37: note: Assignment 'correct_sum=0', assigned value is 0 Halide-17.0.1/test/correctness/low_bit_depth_noise.cpp:33:23: note: Assuming condition is false Halide-17.0.1/test/correctness/low_bit_depth_noise.cpp:39:45: note: Division by zero Halide-17.0.1/test/correctness/make_struct.cpp:14:60: style: Parameter 's' can be declared as pointer to const. However it seems that 'check_struct' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/make_struct.cpp:25:21: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/make_struct.cpp:14:60: note: Parameter 's' can be declared as pointer to const Halide-17.0.1/test/correctness/interleave.cpp:116:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:116:22: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:161:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:161:18: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:162:22: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:12: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:162:22: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:209:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:209:18: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:210:22: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:12: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:210:22: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:249:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:249:18: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:250:22: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:12: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:250:22: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:313:22: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:293:18: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:313:22: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:340:30: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:12: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:340:30: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:341:34: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:341:34: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:391:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:9: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:391:22: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:392:26: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/interleave.cpp:75:12: note: Shadowed declaration Halide-17.0.1/test/correctness/interleave.cpp:392:26: note: Shadow variable Halide-17.0.1/test/correctness/interleave.cpp:31:25: style: Unused variable: submodules [unusedVariable] Halide-17.0.1/test/correctness/many_small_extern_stages.cpp:64:21: style: The scope of the variable 'correct' can be reduced. [variableScope] Halide-17.0.1/test/correctness/many_small_extern_stages.cpp:62:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/many_small_extern_stages.cpp:47:12: note: Shadowed declaration Halide-17.0.1/test/correctness/many_small_extern_stages.cpp:62:14: note: Shadow variable Halide-17.0.1/test/correctness/many_small_extern_stages.cpp:63:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/many_small_extern_stages.cpp:47:9: note: Shadowed declaration Halide-17.0.1/test/correctness/many_small_extern_stages.cpp:63:18: note: Shadow variable Halide-17.0.1/test/correctness/many_small_extern_stages.cpp:4:41: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/test/correctness/median3x3.cpp:59:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/median3x3.cpp:25:17: note: Shadowed declaration Halide-17.0.1/test/correctness/median3x3.cpp:59:14: note: Shadow variable Halide-17.0.1/test/correctness/median3x3.cpp:60:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/median3x3.cpp:25:9: note: Shadowed declaration Halide-17.0.1/test/correctness/median3x3.cpp:60:18: note: Shadow variable Halide-17.0.1/test/correctness/min_extent.cpp:39:9: style: Variable 'expected' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/multi_output_pipeline_with_bad_sizes.cpp:7:35: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/multi_output_pipeline_with_bad_sizes.cpp:21:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/multi_output_pipeline_with_bad_sizes.cpp:7:35: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:134:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:7:12: note: Shadowed declaration Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:134:18: note: Shadow variable Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:135:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:7:9: note: Shadowed declaration Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:135:22: note: Shadow variable Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:139:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:7:12: note: Shadowed declaration Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:139:18: note: Shadow variable Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:140:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:7:9: note: Shadowed declaration Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:140:22: note: Shadow variable Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:146:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:7:12: note: Shadowed declaration Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:146:18: note: Shadow variable Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:147:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:7:9: note: Shadowed declaration Halide-17.0.1/test/correctness/multi_pass_reduction.cpp:147:22: note: Shadow variable Halide-17.0.1/test/correctness/multiple_outputs.cpp:81:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_outputs.cpp:62:13: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_outputs.cpp:81:18: note: Shadow variable Halide-17.0.1/test/correctness/multiple_outputs.cpp:87:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_outputs.cpp:62:13: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_outputs.cpp:87:18: note: Shadow variable Halide-17.0.1/test/correctness/multiple_outputs.cpp:112:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_outputs.cpp:98:13: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_outputs.cpp:112:18: note: Shadow variable Halide-17.0.1/test/correctness/multiple_outputs.cpp:118:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_outputs.cpp:98:13: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_outputs.cpp:118:18: note: Shadow variable Halide-17.0.1/test/correctness/multiple_outputs.cpp:125:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_outputs.cpp:98:13: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_outputs.cpp:125:18: note: Shadow variable Halide-17.0.1/test/correctness/multiple_outputs.cpp:164:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_outputs.cpp:136:13: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_outputs.cpp:164:18: note: Shadow variable Halide-17.0.1/test/correctness/multiple_outputs.cpp:179:26: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_outputs.cpp:136:16: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_outputs.cpp:179:26: note: Shadow variable Halide-17.0.1/test/correctness/multiple_outputs_extern.cpp:46:24: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/multiple_outputs_extern.cpp:47:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/multiple_outputs_extern.cpp:48:21: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/multiple_outputs_extern.cpp:47:18: style: Variable 'src1' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/test/correctness/multiple_outputs_extern.cpp:48:14: style: Variable 'src2' can be declared as pointer to const [constVariablePointer] Halide-17.0.1/test/correctness/multiple_scatter.cpp:71:13: style: Local variable 'min_idx' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:48:10: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:71:13: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:72:13: style: Local variable 'max_idx' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:49:10: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:72:13: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:106:25: style: Local variable 'input' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:34:17: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:106:25: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:113:14: style: Local variable 'r' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:43:10: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:113:14: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:127:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:39:12: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:127:18: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:128:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:39:9: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:128:22: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:143:25: style: Local variable 'input' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:34:17: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:143:25: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:148:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:39:9: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:148:13: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:149:14: style: Local variable 'r' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:43:10: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:149:14: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:180:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:39:9: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:180:13: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:180:16: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:39:12: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:180:16: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:184:14: style: Local variable 'r' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:43:10: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:184:14: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:214:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:39:9: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:214:13: note: Shadow variable Halide-17.0.1/test/correctness/multiple_scatter.cpp:234:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/multiple_scatter.cpp:39:9: note: Shadowed declaration Halide-17.0.1/test/correctness/multiple_scatter.cpp:234:13: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:716:15: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/mux.cpp:9:13: style: Variable 'correct' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/memoize.cpp:87:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:87:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:107:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:107:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:144:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:144:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:243:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:243:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:269:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:269:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:297:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:297:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:328:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:328:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:369:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:369:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:404:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:404:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:461:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:461:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:602:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:602:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:666:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:666:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:701:14: style: Local variable 'count_calls' shadows outer function [shadowFunction] Halide-17.0.1/test/correctness/memoize.cpp:13:37: note: Shadowed declaration Halide-17.0.1/test/correctness/memoize.cpp:701:14: note: Shadow variable Halide-17.0.1/test/correctness/memoize.cpp:52:59: style: Parameter 'in' can be declared as reference to const [constParameterReference] Halide-17.0.1/test/correctness/memoize.cpp:79:35: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'record_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/memoize.cpp:615:44: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/memoize.cpp:79:35: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/non_vector_aligned_embeded_buffer.cpp:10:25: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/nested_tail_strategies.cpp:11:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/nested_tail_strategies.cpp:16:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/nested_tail_strategies.cpp:83:18: style: Variable 'tails' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/nested_tail_strategies.cpp:90:18: style: Variable 'innermost_tails' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/nested_tail_strategies.cpp:10:36: error: Memory is allocated but not initialized: orig [uninitdata] Halide-17.0.1/test/correctness/oddly_sized_output.cpp:20:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/oddly_sized_output.cpp:11:12: note: Shadowed declaration Halide-17.0.1/test/correctness/oddly_sized_output.cpp:20:14: note: Shadow variable Halide-17.0.1/test/correctness/oddly_sized_output.cpp:21:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/oddly_sized_output.cpp:11:9: note: Shadowed declaration Halide-17.0.1/test/correctness/oddly_sized_output.cpp:21:18: note: Shadow variable Halide-17.0.1/test/correctness/out_of_memory.cpp:35:41: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/out_of_memory.cpp:62:59: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/out_of_memory.cpp:35:41: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/output_larger_than_two_gigs.cpp:8:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/output_larger_than_two_gigs.cpp:26:50: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/output_larger_than_two_gigs.cpp:8:35: note: Parameter 'ctx' can be declared as pointer to const Halide-17.0.1/test/correctness/parallel_alloc.cpp:21:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_alloc.cpp:9:13: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_alloc.cpp:21:18: note: Shadow variable Halide-17.0.1/test/correctness/parallel_alloc.cpp:22:22: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_alloc.cpp:9:16: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_alloc.cpp:22:22: note: Shadow variable Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:30:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:30:14: note: Shadow variable Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:31:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:8:12: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:31:18: note: Shadow variable Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:32:22: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:8:15: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_gpu_nested.cpp:32:22: note: Shadow variable Halide-17.0.1/test/correctness/parallel_nested.cpp:21:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_nested.cpp:7:9: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_nested.cpp:21:14: note: Shadow variable Halide-17.0.1/test/correctness/parallel_nested.cpp:22:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_nested.cpp:7:12: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_nested.cpp:22:18: note: Shadow variable Halide-17.0.1/test/correctness/parallel_nested.cpp:23:22: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_nested.cpp:7:15: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_nested.cpp:23:22: note: Shadow variable Halide-17.0.1/test/correctness/parallel_nested_1.cpp:31:14: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_nested_1.cpp:7:9: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_nested_1.cpp:31:14: note: Shadow variable Halide-17.0.1/test/correctness/parallel_nested_1.cpp:32:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_nested_1.cpp:7:12: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_nested_1.cpp:32:18: note: Shadow variable Halide-17.0.1/test/correctness/parallel_nested_1.cpp:33:22: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_nested_1.cpp:7:15: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_nested_1.cpp:33:22: note: Shadow variable Halide-17.0.1/test/correctness/parallel_reductions.cpp:41:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_reductions.cpp:37:13: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_reductions.cpp:41:18: note: Shadow variable Halide-17.0.1/test/correctness/parallel_reductions.cpp:76:18: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/parallel_reductions.cpp:37:13: note: Shadowed declaration Halide-17.0.1/test/correctness/parallel_reductions.cpp:76:18: note: Shadow variable Halide-17.0.1/test/correctness/parameter_constraints.cpp:7:39: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_error_handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/parameter_constraints.cpp:58:41: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/parameter_constraints.cpp:7:39: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/param.cpp:46:26: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/param.cpp:43:18: note: Shadowed declaration Halide-17.0.1/test/correctness/param.cpp:46:26: note: Shadow variable Halide-17.0.1/test/correctness/param.cpp:96:26: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/param.cpp:93:18: note: Shadowed declaration Halide-17.0.1/test/correctness/param.cpp:96:26: note: Shadow variable Halide-17.0.1/test/correctness/partial_application.cpp:25:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/partial_application.cpp:7:12: note: Shadowed declaration Halide-17.0.1/test/correctness/partial_application.cpp:25:14: note: Shadow variable Halide-17.0.1/test/correctness/partial_application.cpp:26:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/partial_application.cpp:7:9: note: Shadowed declaration Halide-17.0.1/test/correctness/partial_application.cpp:26:18: note: Shadow variable Halide-17.0.1/test/correctness/partition_loops.cpp:37:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/partition_loops.cpp:17:21: note: Shadowed declaration Halide-17.0.1/test/correctness/partition_loops.cpp:37:18: note: Shadow variable Halide-17.0.1/test/correctness/partition_loops.cpp:38:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/partition_loops.cpp:17:13: note: Shadowed declaration Halide-17.0.1/test/correctness/partition_loops.cpp:38:22: note: Shadow variable Halide-17.0.1/test/correctness/partition_loops.cpp:39:26: style: Local variable 'c' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/partition_loops.cpp:17:29: note: Shadowed declaration Halide-17.0.1/test/correctness/partition_loops.cpp:39:26: note: Shadow variable Halide-17.0.1/test/correctness/partial_realization.cpp:54:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/partial_realization.cpp:33:16: note: Shadowed declaration Halide-17.0.1/test/correctness/partial_realization.cpp:54:18: note: Shadow variable Halide-17.0.1/test/correctness/partial_realization.cpp:55:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/partial_realization.cpp:33:13: note: Shadowed declaration Halide-17.0.1/test/correctness/partial_realization.cpp:55:22: note: Shadow variable Halide-17.0.1/test/correctness/prefetch.cpp:478:5: debug: Failed to parse 'using Fn = int ( * ) ( const Target & t ) ;'. The checking continues anyway. [simplifyUsing] Halide-17.0.1/test/correctness/popc_clz_ctz_bounds.cpp:64:22: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/popc_clz_ctz_bounds.cpp:40:9: note: Shadowed declaration Halide-17.0.1/test/correctness/popc_clz_ctz_bounds.cpp:64:22: note: Shadow variable Halide-17.0.1/test/correctness/popc_clz_ctz_bounds.cpp:74:22: style: Local variable 'i' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/popc_clz_ctz_bounds.cpp:40:9: note: Shadowed declaration Halide-17.0.1/test/correctness/popc_clz_ctz_bounds.cpp:74:22: note: Shadow variable Halide-17.0.1/test/correctness/predicated_store_load.cpp:528:48: style: Condition 'vectorized_predicated_load_lut_test(t)!=0' is always false [knownConditionTrueFalse] Halide-17.0.1/test/correctness/predicated_store_load.cpp:528:44: note: Calling function 'vectorized_predicated_load_lut_test' returns 0 Halide-17.0.1/test/correctness/predicated_store_load.cpp:528:48: note: Condition 'vectorized_predicated_load_lut_test(t)!=0' is always false Halide-17.0.1/test/correctness/process_some_tiles.cpp:86:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/process_some_tiles.cpp:25:17: note: Shadowed declaration Halide-17.0.1/test/correctness/process_some_tiles.cpp:86:14: note: Shadow variable Halide-17.0.1/test/correctness/process_some_tiles.cpp:87:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/process_some_tiles.cpp:25:9: note: Shadowed declaration Halide-17.0.1/test/correctness/process_some_tiles.cpp:87:18: note: Shadow variable Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:37:12: style: Redundant initialization for 'result'. The initialized value is overwritten before it is read. [redundantInitialization] Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:31:28: note: result is initialized Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:37:12: note: result is overwritten Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:8:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:23:47: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:8:35: note: Parameter 'ctx' can be declared as pointer to const Halide-17.0.1/test/correctness/pseudostack_shares_slots.cpp:12:6: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/pseudostack_shares_slots.cpp:17:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/test/correctness/pseudostack_shares_slots.cpp:11:36: error: Memory is allocated but not initialized: orig [uninitdata] Halide-17.0.1/test/correctness/reduction_schedule.cpp:35:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_schedule.cpp:8:12: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_schedule.cpp:35:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_schedule.cpp:36:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_schedule.cpp:8:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_schedule.cpp:36:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_schedule.cpp:37:17: style: Local variable 'xm' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_schedule.cpp:26:10: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_schedule.cpp:37:17: note: Shadow variable Halide-17.0.1/test/correctness/reduction_schedule.cpp:38:17: style: Local variable 'xp' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_schedule.cpp:26:32: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_schedule.cpp:38:17: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:37:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:17:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:37:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:38:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:17:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:38:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:82:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:53:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:82:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:83:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:53:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:83:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:131:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:101:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:131:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:132:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:101:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:132:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:173:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:148:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:173:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:174:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:148:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:174:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:211:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:189:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:211:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:212:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:189:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:212:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:241:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:227:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:241:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:242:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:227:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:242:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:305:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:257:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:305:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:306:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:257:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:306:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:363:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:322:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:363:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:364:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:322:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:364:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:423:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:382:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:423:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:424:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:382:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:424:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:483:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:446:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:483:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:484:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:446:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:484:22: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:528:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:499:16: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:528:18: note: Shadow variable Halide-17.0.1/test/correctness/register_shuffle.cpp:530:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/register_shuffle.cpp:499:13: note: Shadowed declaration Halide-17.0.1/test/correctness/register_shuffle.cpp:530:22: note: Shadow variable Halide-17.0.1/test/correctness/reorder_storage.cpp:10:33: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_malloc' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/reorder_storage.cpp:42:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/reorder_storage.cpp:10:33: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/reschedule.cpp:9:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/reschedule.cpp:26:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/reschedule.cpp:9:30: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/require.cpp:8:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/require.cpp:71:44: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/require.cpp:8:35: note: Parameter 'ctx' can be declared as pointer to const Halide-17.0.1/test/correctness/round.cpp:9:87: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/test/correctness/round.cpp:55:15: style: Variable 'inputdata' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/round.cpp:147:16: style: Variable 'inputdata' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/rfactor.cpp:486:25: style: Local variable 'im' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/rfactor.cpp:470:21: note: Shadowed declaration Halide-17.0.1/test/correctness/rfactor.cpp:486:25: note: Shadow variable Halide-17.0.1/test/correctness/rfactor.cpp:870:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/rfactor.cpp:864:9: note: Shadowed declaration Halide-17.0.1/test/correctness/rfactor.cpp:870:18: note: Shadow variable Halide-17.0.1/test/correctness/set_custom_trace.cpp:42:49: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'allocation_bound_test_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/set_custom_trace.cpp:56:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/set_custom_trace.cpp:42:49: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:94:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:85:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:94:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:95:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:85:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:95:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:127:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:114:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:127:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:128:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:114:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:128:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:155:14: style: Local variable 'z' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:147:25: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:155:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:156:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:147:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:156:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:157:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:147:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:157:22: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:199:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:177:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:199:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:200:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:177:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:200:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:238:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:225:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:238:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:239:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:225:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:239:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:286:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:258:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:286:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:287:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:258:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:287:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:333:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:311:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:333:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:334:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:311:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:334:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:378:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:353:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:378:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:379:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:353:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:379:22: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:405:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:353:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:405:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:406:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:353:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:406:22: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:450:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:428:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:450:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:451:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:428:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:451:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:504:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:477:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:504:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:505:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:477:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:505:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:545:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:530:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:545:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:546:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:530:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:546:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:560:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:530:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:560:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:561:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:530:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:561:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:595:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:580:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:595:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:596:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:580:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:596:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:631:21: style: Local variable 'r' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:622:10: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:631:21: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:635:19: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:618:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:635:19: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:669:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:657:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:669:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:670:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:657:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:670:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:701:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:689:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:701:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:702:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:689:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:702:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:750:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:721:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:750:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:751:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:721:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:751:22: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:772:18: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:721:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:772:18: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:773:22: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:721:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:773:22: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:805:14: style: Local variable 'y' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:791:17: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:805:14: note: Shadow variable Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:806:18: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:791:9: note: Shadowed declaration Halide-17.0.1/test/correctness/reduction_non_rectangular.cpp:806:18: note: Shadow variable Halide-17.0.1/test/correctness/shared_self_references.cpp:15:18: style: Variable 'f(1)' is assigned a value that is never used. [unreadVariable] Halide-17.0.1/test/correctness/side_effects.cpp:45:5: style: Class 'Complex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/side_effects.cpp:48:5: style: Class 'Complex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/saturating_casts.cpp:168:58: debug: Failed to instantiate template "safe_cast". The checking continues anyway. [templateInstantiation] Halide-17.0.1/test/correctness/mul_div_mod.cpp:410:26: style: Comparing expression of type 'unsigned char' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] Halide-17.0.1/test/correctness/mul_div_mod.cpp:410:26: style: Comparing expression of type 'unsigned short' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] Halide-17.0.1/test/correctness/mul_div_mod.cpp:410:28: style: Unsigned expression 'ri' can't be negative so it is unnecessary to test it. [unsignedPositive] Halide-17.0.1/test/correctness/simd_op_check_hvx.cpp:23:5: style: Class 'SimdOpCheckHVX' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/simd_op_check_riscv.cpp:31:20: debug: CheckClass::isMemberVar found used member variable 'in_u8' with varid 0 [varid0] Halide-17.0.1/test/correctness/simd_op_check_riscv.cpp:49:20: debug: CheckClass::isMemberVar found used member variable 'in_i8' with varid 0 [varid0] Halide-17.0.1/test/correctness/simd_op_check_riscv.cpp:119:33: debug: CheckClass::isMemberVar found used member variable 'target' with varid 0 [varid0] Halide-17.0.1/test/correctness/simd_op_check_riscv.cpp:17:5: style: Class 'SimdOpCheckRISCV' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/simd_op_check_powerpc.cpp:29:22: debug: CheckClass::isMemberVar found used member variable 'in_f32' with varid 0 [varid0] Halide-17.0.1/test/correctness/simd_op_check_powerpc.cpp:16:5: style: Class 'SimdOpCheckPowerPC' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/simd_op_check_wasm.cpp:30:22: debug: CheckClass::isMemberVar found used member variable 'in_f64' with varid 0 [varid0] Halide-17.0.1/test/correctness/simd_op_check_wasm.cpp:16:5: style: Class 'SimdOpCheckWASM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/simd_op_check_x86.cpp:49:22: debug: CheckClass::isMemberVar found used member variable 'in_f64' with varid 0 [varid0] Halide-17.0.1/test/correctness/simd_op_check_x86.cpp:18:5: style: Class 'SimdOpCheckX86' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/simd_op_check_x86.cpp:579:13: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/test/correctness/simd_op_check_x86.cpp:563:13: note: First condition Halide-17.0.1/test/correctness/simd_op_check_x86.cpp:579:13: note: Second condition Halide-17.0.1/test/correctness/skip_stages.cpp:20:9: style: Variable 'correct' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/skip_stages_external_array_functions.cpp:30:9: style: Variable 'correct' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/skip_stages_external_array_functions.cpp:40:9: style: Variable 'correct' can be declared as const array [constVariable] Halide-17.0.1/test/correctness/sliding_window.cpp:259:13: style: Local variable 'x' shadows outer variable [shadowVariable] Halide-17.0.1/test/correctness/sliding_window.cpp:19:9: note: Shadowed declaration Halide-17.0.1/test/correctness/sliding_window.cpp:259:13: note: Shadow variable Halide-17.0.1/test/correctness/simplify.cpp:1424:18: warning: Logical disjunction always evaluates to true: x < 20 || x > 19. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1425:18: warning: Logical disjunction always evaluates to true: x > 19 || x < 20. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1441:19: warning: Logical disjunction always evaluates to true: x <= 20 || x > 19. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1442:18: warning: Logical disjunction always evaluates to true: x > 19 || x <= 20. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1445:19: warning: Logical conjunction always evaluates to false: x <= 18 && x > 19. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1446:18: warning: Logical conjunction always evaluates to false: x > 19 && x <= 18. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1450:18: warning: Logical disjunction always evaluates to true: x < 20 || x >= 19. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1451:19: warning: Logical disjunction always evaluates to true: x >= 19 || x < 20. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1454:18: warning: Logical conjunction always evaluates to false: x < 18 && x >= 19. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1455:19: warning: Logical conjunction always evaluates to false: x >= 19 && x < 18. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1463:19: warning: Logical conjunction always evaluates to false: x <= 18 && x >= 19. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1464:19: warning: Logical conjunction always evaluates to false: x >= 19 && x <= 18. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1483:18: warning: Logical disjunction always evaluates to true: x == y || y != x. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1484:18: warning: Logical disjunction always evaluates to true: x == y || x != y. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1485:18: warning: Logical conjunction always evaluates to false: x == y && x != y. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1486:18: warning: Logical conjunction always evaluates to false: x == y && y != x. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1487:17: warning: Logical disjunction always evaluates to true: x < y || x >= y. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1488:18: warning: Logical disjunction always evaluates to true: x <= y || x > y. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1489:17: warning: Logical conjunction always evaluates to false: x < y && x >= y. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1490:18: warning: Logical conjunction always evaluates to false: x <= y && x > y. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1527:19: style: Redundant condition: The condition 'y > 1' is redundant since 'y > 2' is sufficient. [redundantCondition] Halide-17.0.1/test/correctness/simplify.cpp:1647:17: warning: Logical conjunction always evaluates to false: x < y && y < x. [incorrectLogicOperator] Halide-17.0.1/test/correctness/simplify.cpp:1825:20: style: Redundant condition: b[0]. 'b[0] || (b[0] && b[1])' is equivalent to 'b[0]' [redundantCondition] Halide-17.0.1/test/correctness/simplify.cpp:1827:20: style: Redundant condition: b[0]. 'b[0] && (b[0] || b[1])' is equivalent to 'b[0]' [redundantCondition] Halide-17.0.1/test/correctness/simplify.cpp:1337:17: style: Condition 'x*0==y*0' is always true [knownConditionTrueFalse] Halide-17.0.1/test/correctness/simplify.cpp:1350:17: style: Condition 'x*0::operator()' can be const. [functionConst] Halide-17.0.1/tools/RunGen.h:232:10: style:inconclusive: Technically the member function 'ScalarParser < uint8_t >::operator()' can be const. [functionConst] Halide-17.0.1/tools/RunGen.h:232:10: style:inconclusive: Technically the member function 'ScalarParser < bool >::operator()' can be const. [functionConst] Halide-17.0.1/tools/RunGen.h:232:10: style:inconclusive: Technically the member function 'ScalarParser < void * >::operator()' can be const. [functionConst] Halide-17.0.1/tools/halide_image_io.h:634:11: warning: Struct 'FileOpener' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] Halide-17.0.1/tools/halide_image_io.h:634:11: warning: Struct 'FileOpener' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] Halide-17.0.1/tools/halide_image_io.h:1767:5: style: Struct 'ElemWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/tools/halide_image_io.h:2307:5: style: Class 'load_image' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/tools/halide_image_io.h:2330:5: style: Class 'load_and_convert_image' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/tools/halide_image_io.h:1184:11: style: C-style pointer casting [cstyleCast] Halide-17.0.1/tools/halide_image_io.h:1608:7: style: C-style pointer casting [cstyleCast] Halide-17.0.1/tools/halide_image_io.h:1865:22: style: C-style pointer casting [cstyleCast] Halide-17.0.1/tools/RunGen.h:292:35: style: C-style pointer casting [cstyleCast] Halide-17.0.1/tools/RunGen.h:235:36: style: C-style pointer casting [cstyleCast] Halide-17.0.1/tools/halide_image_io.h:2020:16: style: Local variable 'it' shadows outer variable [shadowVariable] Halide-17.0.1/tools/halide_image_io.h:2013:10: note: Shadowed declaration Halide-17.0.1/tools/halide_image_io.h:2020:16: note: Shadow variable Halide-17.0.1/tools/RunGen.h:905:25: style: Local variable 'name' shadows outer function [shadowFunction] Halide-17.0.1/tools/RunGen.h:1382:17: note: Shadowed declaration Halide-17.0.1/tools/RunGen.h:905:25: note: Shadow variable Halide-17.0.1/tools/RunGenMain.cpp:371:24: style: Local variable 'rf' shadows outer variable [shadowVariable] Halide-17.0.1/tools/RunGenMain.cpp:365:11: note: Shadowed declaration Halide-17.0.1/tools/RunGenMain.cpp:371:24: note: Shadow variable Halide-17.0.1/tools/RunGenMain.cpp:386:24: style: Local variable 'rf' shadows outer variable [shadowVariable] Halide-17.0.1/tools/RunGenMain.cpp:365:11: note: Shadowed declaration Halide-17.0.1/tools/RunGenMain.cpp:386:24: note: Shadow variable Halide-17.0.1/tools/halide_image_io.h:2020:16: style: Variable 'it' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:62:16: style: Variable 'd' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:499:31: style: Parameter 'b_dynamic' can be declared as reference to const [constParameterReference] Halide-17.0.1/tools/RunGen.h:573:31: style: Parameter 'b_dynamic' can be declared as reference to const [constParameterReference] Halide-17.0.1/tools/RunGen.h:636:16: style: Variable 'f' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1057:23: style: Variable 'arg' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1059:27: style: Variable 'arg_name' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1098:23: style: Variable 'arg' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1100:27: style: Variable 'arg_name' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1255:19: style: Variable 'arg' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1328:20: style: Variable 'arg_pair' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1352:19: style: Variable 'a' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1428:19: style: Variable 'arg_name' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1429:19: style: Variable 'arg' can be declared as reference to const [constVariableReference] Halide-17.0.1/tools/RunGen.h:1395:43: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'rungen_ignore_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/tools/RunGen.h:1422:64: note: You might need to cast the function pointer here Halide-17.0.1/tools/RunGen.h:1395:43: note: Parameter 'user_context' can be declared as pointer to const Halide-17.0.1/tools/RunGen.h:1453:49: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/tools/halide_image_io.h:1691:56: style: Parameter 'im' can be declared as pointer to const [constParameterPointer] Halide-17.0.1/tools/RunGen.h:908:24: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] Halide-17.0.1/tools/halide_image_io.h:1594:15: style: Consider using std::replace_if algorithm instead of a raw loop. [useStlAlgorithm] Halide-17.0.1/tools/RunGen.h:1344:27: warning: Either the condition 'it==args.end()' is redundant or there is possible dereference of an invalid iterator: it. [derefInvalidIteratorRedundantCheck] Halide-17.0.1/tools/RunGen.h:1341:16: note: Assuming that condition 'it==args.end()' is not redundant Halide-17.0.1/tools/RunGen.h:1344:27: note: Dereference of an invalid iterator Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:1077:47: error: Invalid select() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:29:22: debug: CheckClass::isMemberVar found used member variable 'in_f64' with varid 0 [varid0] Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:18:5: style: Class 'SimdOpCheckARM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:384:27: style: Condition 'arm32' is always false [knownConditionTrueFalse] Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:383:21: note: Assuming that condition '!arm32' is not redundant Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:384:27: note: Condition 'arm32' is always false Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:399:27: style: Condition 'arm32' is always false [knownConditionTrueFalse] Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:398:21: note: Assuming that condition '!arm32' is not redundant Halide-17.0.1/test/correctness/simd_op_check_arm.cpp:399:27: note: Condition 'arm32' is always false diff: head Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:42:13: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:68:13: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/apps/HelloAndroidCamera2/jni/AndroidBufferUtilities.cpp:82:13: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] 2.13.0 Halide-17.0.1/apps/fft/complex.h:145:8: error: syntax error [syntaxError] head Halide-17.0.1/apps/fft/complex.h:146:30: error: syntax error [syntaxError] head Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:1748:41: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:520:41: style: Parameter 'context' can be declared as pointer to const. However it seems that 'FreeImpl' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:494:18: note: You might need to cast the function pointer here Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:520:41: note: Parameter 'context' can be declared as pointer to const head Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:710:59: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:797:57: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/apps/hannk/delegate/hannk_delegate.cpp:853:65: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/apps/hannk/interpreter/ops.cpp:294:32: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/apps/hannk/interpreter/stubs.cpp:15:35: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/apps/hannk/interpreter/stubs.cpp:7:25: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:111:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] 2.13.0 Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:111:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:154:13: portability: %d in format string (no. 2) requires 'int' but the argument type is 'uint32 {aka unsigned int}'. [invalidPrintfArgType_sint] 2.13.0 Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:154:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head Halide-17.0.1/apps/hexagon_dma/mock_dma_implementation.cpp:307:76: style: Parameter 'pStRoiSize' can be declared as pointer to const [constParameterPointer] 2.13.0 Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:223:5: style: Variable 'y' can be declared as pointer to const [constVariablePointer] 2.13.0 Halide-17.0.1/apps/linear_algebra/tests/test_halide_blas.cpp:270:5: style: Variable 'y' can be declared as pointer to const [constVariablePointer] head Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:68:24: style: Parameter 'tester' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/apps/openglcompute/jni/oglc_run.cpp:76:24: style: Parameter 'tester' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:23:33: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyCallable.cpp:65:45: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:202:45: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:207:40: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:208:40: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:209:40: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:211:38: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:212:38: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:213:38: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:222:43: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:223:43: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyFunc.cpp:224:43: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:104:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:16:35: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:18:35: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:20:35: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:22:35: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:25:29: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:27:29: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:30:28: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:36:32: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:39:38: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:42:39: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:48:27: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:50:27: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:52:27: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:54:27: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:56:30: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:61:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:62:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:64:32: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:65:32: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:67:33: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:68:33: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:69:33: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:71:26: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:72:26: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:73:26: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:75:34: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:76:34: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:77:34: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:78:40: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:80:32: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:82:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:84:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:86:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:88:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:90:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/src/halide/halide_/PyScheduleMethods.h:91:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/python_bindings/stub/PyStubImpl.cpp:43:41: style: Parameter 'm' can be declared as reference to const [constParameterReference] 2.13.0 Halide-17.0.1/src/AllocationBoundsInference.cpp:62:27: style: Consider using std::any_of, std::all_of, std::none_of algorithm instead of a raw loop. [useStlAlgorithm] head Halide-17.0.1/src/AssociativeOpsTable.cpp:164:99: style: Parameter 'table' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/AssociativeOpsTable.cpp:168:102: style: Parameter 'table' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/AssociativeOpsTable.cpp:179:99: style: Parameter 'table' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/AssociativeOpsTable.cpp:201:102: style: Parameter 'table' can be declared as reference to const [constParameterReference] 2.13.0 Halide-17.0.1/src/Bounds.cpp:2990:21: style: Condition 'then_unreachable' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Bounds.cpp:2948:37: note: Assignment 'then_unreachable=false', assigned value is 0 Halide-17.0.1/src/Bounds.cpp:2950:23: note: Assignment 'then_unreachable,in_unreachable', assigned value is 0 Halide-17.0.1/src/Bounds.cpp:2953:41: note: Assignment 'then_unreachable,in_unreachable', assigned value is 0 Halide-17.0.1/src/Bounds.cpp:2967:47: note: Assuming container is not empty Halide-17.0.1/src/Bounds.cpp:2972:47: note: Assuming container is not empty Halide-17.0.1/src/Bounds.cpp:2990:21: note: Condition 'then_unreachable' is always false head Halide-17.0.1/src/Deserialization.cpp:1589:45: style: Parameter 'in' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/Deserialization.cpp:1604:71: style: Parameter 'in' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/DeviceInterface.cpp:54:48: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] 2.13.0 Halide-17.0.1/src/Elf.cpp:321:5: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:322:5: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:333:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:343:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:345:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:348:5: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:367:17: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:379:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:383:17: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:401:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:404:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:405:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:407:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:413:17: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:638:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:652:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:655:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:842:17: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Elf.cpp:873:5: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/FuseGPUThreadLoops.cpp:1360:92: style: Parameter 'ra' can be declared as reference to const [constParameterReference] 2.13.0 Halide-17.0.1/src/Generator.h:2666:10: warning: The class 'GeneratorOutput_Buffer' defines member function with name 'operator[]' also defined in its parent class 'GeneratorOutputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:2440:22: note: Parent function 'GeneratorOutputImpl::operator[]' Halide-17.0.1/src/Generator.h:2666:10: note: Derived function 'GeneratorOutput_Buffer::operator[]' 2.13.0 Halide-17.0.1/src/Generator.h:2737:11: warning: The class 'GeneratorOutput_Func' defines member function with name 'operator[]' also defined in its parent class 'GeneratorOutputImpl'. [duplInheritedMember] Halide-17.0.1/src/Generator.h:2440:22: note: Parent function 'GeneratorOutputImpl::operator[]' Halide-17.0.1/src/Generator.h:2737:11: note: Derived function 'GeneratorOutput_Func::operator[]' 2.13.0 Halide-17.0.1/src/Generator.h:2912:9: style: Instance of 'Halide::Internal::ErrorReport' object is destroyed immediately. [unusedScopedObject] 2.13.0 Halide-17.0.1/src/Generator.h:2917:9: style: Instance of 'Halide::Internal::ErrorReport' object is destroyed immediately. [unusedScopedObject] 2.13.0 Halide-17.0.1/src/Generator.h:2922:9: style: Instance of 'Halide::Internal::ErrorReport' object is destroyed immediately. [unusedScopedObject] 2.13.0 Halide-17.0.1/src/Generator.h:2951:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Generator.h:2962:13: style: Instance of 'Halide::Internal::ErrorReport' object is destroyed immediately. [unusedScopedObject] 2.13.0 Halide-17.0.1/src/Generator.h:738:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Generator.h:755:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Generator.h:815:13: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Generator.h:852:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/HexagonAlignment.h:40:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] head Halide-17.0.1/src/IRMatch.cpp:418:28: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:419:28: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:443:18: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:445:18: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:447:18: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:449:18: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:454:24: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:459:24: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:461:18: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:493:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:495:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:496:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:497:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:499:19: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:500:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:502:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:503:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:505:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:507:19: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:508:19: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:509:19: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:510:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:512:19: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:513:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:514:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:516:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:517:32: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:524:19: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.cpp:525:25: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:1044:71: style: Parameter 't' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:1073:71: style: Parameter 't' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:1095:71: style: Parameter 't' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:1117:71: style: Parameter 't' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:1292:70: style: Parameter 't' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:1318:71: style: Parameter 't' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:1391:26: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:1630:26: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:1691:29: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:1754:36: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:1828:27: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:1890:39: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:1972:26: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:2054:27: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:2102:29: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:222:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:2254:27: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:2259:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:2267:89: style: Parameter 'state' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:544:29: style: Parameter 'state' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:551:89: style: Parameter 'state' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/IRMatch.h:661:25: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IRMatch.h:771:25: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/IROperator.h:335:78: style: Parameter 'args' can be declared as reference to const [constParameterReference] 2.13.0 Halide-17.0.1/src/InjectHostDevBufferCopies.cpp:643:37: style: Consider using std::any_of, std::all_of, std::none_of algorithm instead of a raw loop. [useStlAlgorithm] head Halide-17.0.1/src/Introspection.cpp:2390:35: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/Introspection.cpp:2391:35: style: Parameter 'test_a' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/Introspection.cpp:2392:35: style: Parameter 'calib' can be declared as pointer to const [constParameterPointer] 2.13.0 Halide-17.0.1/src/Param.h:138:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Param.h:153:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Param.h:35:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Param.h:53:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] head Halide-17.0.1/src/Pipeline.h:511:35: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] 2.13.0 Halide-17.0.1/src/Scope.h:196:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] head Halide-17.0.1/src/Serialization.cpp:1583:73: style: Parameter 'data' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/Serialization.cpp:1587:113: style: Parameter 'params' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/Serialization.cpp:1587:73: style: Parameter 'data' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/Serialization.cpp:1595:114: style: Parameter 'params' can be declared as reference to const [constParameterReference] 2.13.0 Halide-17.0.1/src/Simplify_Call.cpp:722:71: debug: Function::addArguments found argument 'a' with varid 0. [varid0] 2.13.0 Halide-17.0.1/src/Simplify_Let.cpp:68:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] head Halide-17.0.1/src/Solve.cpp:476:13: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:444:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:448:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:476:13: note: Condition 'a_uses_var' is always false 2.13.0 Halide-17.0.1/src/Solve.cpp:476:27: style: Condition '!b_uses_var' is always true [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:451:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:454:27: note: Assignment 'b_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:476:27: note: Condition '!b_uses_var' is always true head Halide-17.0.1/src/Solve.cpp:481:20: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:444:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:448:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:481:20: note: Condition 'a_uses_var' is always false head Halide-17.0.1/src/Solve.cpp:585:13: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:559:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:563:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:585:13: note: Condition 'a_uses_var' is always false 2.13.0 Halide-17.0.1/src/Solve.cpp:585:27: style: Condition '!b_uses_var' is always true [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:566:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:569:27: note: Assignment 'b_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:585:27: note: Condition '!b_uses_var' is always true head Halide-17.0.1/src/Solve.cpp:590:20: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:559:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:563:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:590:20: note: Condition 'a_uses_var' is always false head Halide-17.0.1/src/Solve.cpp:664:13: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:631:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:635:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:664:13: note: Condition 'a_uses_var' is always false 2.13.0 Halide-17.0.1/src/Solve.cpp:664:27: style: Condition '!b_uses_var' is always true [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:638:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:641:27: note: Assignment 'b_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:664:27: note: Condition '!b_uses_var' is always true 2.13.0 Halide-17.0.1/src/Solve.cpp:685:21: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Solve.cpp:725:25: warning: Redundant code: Found unused result of ternary operator. [constStatement] head Halide-17.0.1/src/Solve.cpp:745:20: style: Condition 'a_uses_var' is always false [knownConditionTrueFalse] Halide-17.0.1/src/Solve.cpp:631:20: note: Assignment 'uses_var=false', assigned value is 0 Halide-17.0.1/src/Solve.cpp:635:27: note: Assignment 'a_uses_var=uses_var', assigned value is 0 Halide-17.0.1/src/Solve.cpp:745:20: note: Condition 'a_uses_var' is always false 2.13.0 Halide-17.0.1/src/StmtToHTML.cpp:1085:9: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/StmtToHTML.cpp:2046:17: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/StmtToHTML.cpp:2070:17: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/StmtToHTML.cpp:835:17: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/StmtToHTML.cpp:906:21: warning: Redundant code: Found unused result of ternary operator. [constStatement] 2.13.0 Halide-17.0.1/src/Target.cpp:249:9: style: Condition 'use_64_bits' is always true [knownConditionTrueFalse] Halide-17.0.1/src/Target.cpp:158:40: note: Assignment 'use_64_bits=sizeof(unsigned long)==8', assigned value is 1 Halide-17.0.1/src/Target.cpp:249:9: note: Condition 'use_64_bits' is always true head Halide-17.0.1/src/Target.cpp:584:33: style: Parameter 't' can be declared as reference to const [constParameterReference] 2.13.0 Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:385:33: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.back()' cause access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:385:33: note: Access out of bounds head Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:385:33: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.back()' causes access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:385:33: note: Access out of bounds 2.13.0 Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:386:18: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.pop_back()' cause access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:386:18: note: Access out of bounds head Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:386:18: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.pop_back()' causes access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/adams2019/FunctionDAG.cpp:386:18: note: Access out of bounds 2.13.0 Halide-17.0.1/src/autoschedulers/adams2019/LoopNest.cpp:1866:58: style:inconclusive: Boolean expression 'all_pure_loops_constant_size' is used in bitwise operation. [bitwiseOnBoolean] 2.13.0 Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:289:29: style:inconclusive: Boolean expression 'must_inline' is used in bitwise operation. [bitwiseOnBoolean] 2.13.0 Halide-17.0.1/src/autoschedulers/adams2019/State.cpp:607:32: style:inconclusive: Boolean expression 'any_parallel_rvars' is used in bitwise operation. [bitwiseOnBoolean] 2.13.0 Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:385:33: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.back()' cause access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:385:33: note: Access out of bounds head Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:385:33: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.back()' causes access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:385:33: note: Access out of bounds 2.13.0 Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:386:18: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.pop_back()' cause access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:386:18: note: Access out of bounds head Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:386:18: warning: Either the condition 'pool.empty()' is redundant or expression 'pool.pop_back()' causes access out of bounds. [containerOutOfBounds] Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:382:19: note: Assuming that condition 'pool.empty()' is not redundant Halide-17.0.1/src/autoschedulers/anderson2021/FunctionDAG.cpp:386:18: note: Access out of bounds 2.13.0 Halide-17.0.1/src/autoschedulers/anderson2021/LoopNest.cpp:4123:58: style:inconclusive: Boolean expression 'all_pure_loops_constant_size' is used in bitwise operation. [bitwiseOnBoolean] 2.13.0 Halide-17.0.1/src/autoschedulers/anderson2021/SearchSpace.cpp:349:29: style:inconclusive: Boolean expression 'must_inline' is used in bitwise operation. [bitwiseOnBoolean] 2.13.0 Halide-17.0.1/src/autoschedulers/anderson2021/State.cpp:1116:32: style:inconclusive: Boolean expression 'any_parallel_rvars' is used in bitwise operation. [bitwiseOnBoolean] head Halide-17.0.1/src/autoschedulers/anderson2021/State.h:45:31: style: Parameter 'new_loop_nest' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/autoschedulers/li2018/GradientAutoscheduler.cpp:80:42: style: Parameter 'schedule_source' can be declared as reference to const [constParameterReference] head Halide-17.0.1/src/runtime/HalideBuffer.h:1195:18: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1208:19: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1221:18: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1231:18: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1236:19: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1241:18: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1412:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1413:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1417:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1418:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1422:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1423:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1427:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:1428:31: style: C-style reference casting [cstyleCast] head Halide-17.0.1/src/runtime/HalideBuffer.h:2277:17: style: C-style pointer casting [cstyleCast] 2.13.0 Halide-17.0.1/src/runtime/HalideBuffer.h:354:28: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/allocation_cache.cpp:41:53: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/cuda.cpp:1122:33: style: Parameter 'arg_sizes' can be declared as const array [constParameter] head Halide-17.0.1/src/runtime/cuda.cpp:1259:87: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/cuda.cpp:195:52: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'halide_default_cuda_release_context' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/cuda.cpp:220:85: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/cuda.cpp:195:52: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/src/runtime/cuda.cpp:509:40: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/cuda.cpp:509:71: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/device_interface.cpp:461:45: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/device_interface.cpp:461:65: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_get_symbol.cpp:15:52: style: Parameter 'lib' can be declared as pointer to const. However it seems that 'halide_default_get_library_symbol' is a callback function, if 'lib' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/fake_get_symbol.cpp:28:62: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/fake_get_symbol.cpp:15:52: note: Parameter 'lib' can be declared as pointer to const head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:103:44: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:103:64: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:107:54: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:111:56: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:41:60: style: Parameter 's' can be declared as pointer to const. However it seems that 'halide_default_semaphore_init' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:66:54: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/fake_thread_pool.cpp:41:60: note: Parameter 's' can be declared as pointer to const head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:46:63: style: Parameter 's' can be declared as pointer to const. However it seems that 'halide_default_semaphore_release' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:68:60: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/fake_thread_pool.cpp:46:63: note: Parameter 's' can be declared as pointer to const head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:51:68: style: Parameter 's' can be declared as pointer to const. However it seems that 'halide_default_semaphore_try_acquire' is a callback function, if 's' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/fake_thread_pool.cpp:67:68: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/fake_thread_pool.cpp:51:68: note: Parameter 's' can be declared as pointer to const head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:77:48: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:77:66: style: Parameter 'closure' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:83:45: style: Parameter 'thread_arg' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:88:43: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fake_thread_pool.cpp:91:45: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fuchsia_clock.cpp:17:35: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/fuchsia_clock.cpp:33:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/hexagon_dma.cpp:99:21: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/hexagon_host.cpp:353:49: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/hexagon_host.cpp:353:69: style: Parameter 'state_ptr' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/hexagon_host.cpp:393:31: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/hexagon_host.cpp:618:21: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/hexagon_host.cpp:786:21: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/hexagon_host.cpp:852:26: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:548:43: style: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:545:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:548:43: note: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:548:43: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:545:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:548:43: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:556:43: style: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:553:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:556:43: note: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:556:43: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:553:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:556:43: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:570:31: style: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:561:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:570:31: note: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:570:31: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:561:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:570:31: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:571:35: style: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:563:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:571:35: note: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:571:35: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:563:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:571:35: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:586:31: style: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:577:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:586:31: note: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:586:31: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:577:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:586:31: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:587:35: style: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:579:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:587:35: note: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:587:35: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:579:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_skel.c:587:35: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:624:43: style: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:621:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:624:43: note: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:624:43: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:621:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:624:43: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:632:43: style: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:629:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:632:43: note: Same expression on both sides of '-' because '_praROutPost' and '_praROutPostStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:632:43: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:629:36: note: '_praROutPostStart' is assigned value '_praROutPost' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:632:43: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:646:31: style: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:637:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:646:31: note: Same expression on both sides of '-' because '_praIn' and '_praInStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:646:31: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:637:30: note: '_praInStart' is assigned value '_praIn' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:646:31: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:662:35: style: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:654:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:662:35: note: Same expression on both sides of '-' because '_praROut' and '_praROutStart' represent the same value. 2.13.0 Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:662:35: style: Same expression on both sides of '-'. [duplicateExpression] Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:654:32: note: '_praROutStart' is assigned value '_praROut' here. Halide-17.0.1/src/runtime/hexagon_remote/bin/src/halide_hexagon_remote_stub.c:662:35: note: Same expression on both sides of '-'. head Halide-17.0.1/src/runtime/linux_clock.cpp:79:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/metal.cpp:1135:46: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/metal.cpp:1143:50: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/metal.cpp:911:20: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/msan_stubs.cpp:13:56: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/msan_stubs.cpp:13:87: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/msan_stubs.cpp:17:59: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/msan_stubs.cpp:17:90: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/msan_stubs.cpp:21:74: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/msan_stubs.cpp:21:94: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/msan_stubs.cpp:5:59: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/msan_stubs.cpp:9:56: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/openglcompute.cpp:406:83: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'halide_openglcompute_copy_to_device' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/openglcompute.cpp:956:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/openglcompute.cpp:406:83: note: Parameter 'buf' can be declared as pointer to const head Halide-17.0.1/src/runtime/openglcompute.cpp:501:81: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'halide_openglcompute_copy_to_host' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/src/runtime/openglcompute.cpp:955:5: note: You might need to cast the function pointer here Halide-17.0.1/src/runtime/openglcompute.cpp:501:81: note: Parameter 'buf' can be declared as pointer to const head Halide-17.0.1/src/runtime/openglcompute.cpp:926:55: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/openglcompute.cpp:926:75: style: Parameter 'state_ptr' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/osx_clock.cpp:48:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/posix_clock.cpp:42:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/posix_io.cpp:5:38: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/printer.h:221:46: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/profiler_common.cpp:342:60: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/profiler_common.cpp:342:91: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/qurt_hvx_vtcm.cpp:10:37: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/synchronization_common.h:876:9: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/synchronization_common.h:882:9: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/synchronization_common.h:888:9: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/synchronization_common.h:894:9: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/synchronization_common.h:900:9: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/src/runtime/synchronization_common.h:902:9: style: C-style pointer casting [cstyleCast] 2.13.0 Halide-17.0.1/src/runtime/thread_pool_common.h:477:13: warning: Uninitialized variables: jobs.next_job, jobs.threads_reserved [uninitvar] Halide-17.0.1/src/runtime/thread_pool_common.h:633:36: note: Calling function 'enqueue_work_already_locked', 2nd argument '&job' value is Halide-17.0.1/src/runtime/thread_pool_common.h:477:13: note: Uninitialized variables: jobs.next_job, jobs.threads_reserved head Halide-17.0.1/src/runtime/windows_clock.cpp:40:33: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/src/runtime/windows_io.cpp:5:38: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/correctness/align_bounds.cpp:17:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/align_bounds.cpp:165:41: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/align_bounds.cpp:17:30: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/assertion_failure_in_parallel_for.cpp:9:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/assertion_failure_in_parallel_for.cpp:38:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/assertion_failure_in_parallel_for.cpp:9:35: note: Parameter 'ctx' can be declared as pointer to const 2.13.0 Halide-17.0.1/test/correctness/callable.cpp:145:16: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/test/correctness/callable.cpp:118:16: note: First condition Halide-17.0.1/test/correctness/callable.cpp:145:16: note: Second condition 2.13.0 Halide-17.0.1/test/correctness/callable.cpp:190:16: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/test/correctness/callable.cpp:145:16: note: First condition Halide-17.0.1/test/correctness/callable.cpp:190:16: note: Second condition head Halide-17.0.1/test/correctness/callable_errors.cpp:10:31: style: Parameter 'ucon' can be declared as pointer to const. However it seems that 'my_error' is a callback function, if 'ucon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/callable_errors.cpp:194:41: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/callable_errors.cpp:10:31: note: Parameter 'ucon' can be declared as pointer to const 2.13.0 Halide-17.0.1/test/correctness/callable_generator.cpp:141:16: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/test/correctness/callable_generator.cpp:106:16: note: First condition Halide-17.0.1/test/correctness/callable_generator.cpp:141:16: note: Second condition 2.13.0 Halide-17.0.1/test/correctness/callable_generator.cpp:200:16: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/test/correctness/callable_generator.cpp:141:16: note: First condition Halide-17.0.1/test/correctness/callable_generator.cpp:200:16: note: Second condition 2.13.0 Halide-17.0.1/test/correctness/callable_typed.cpp:142:16: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/test/correctness/callable_typed.cpp:114:16: note: First condition Halide-17.0.1/test/correctness/callable_typed.cpp:142:16: note: Second condition 2.13.0 Halide-17.0.1/test/correctness/callable_typed.cpp:189:16: style: The if condition is the same as the previous if condition [duplicateCondition] Halide-17.0.1/test/correctness/callable_typed.cpp:142:16: note: First condition Halide-17.0.1/test/correctness/callable_typed.cpp:189:16: note: Second condition head Halide-17.0.1/test/correctness/constraints.cpp:10:39: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_error_handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/constraints.cpp:200:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/constraints.cpp:10:39: note: Parameter 'user_context' can be declared as pointer to const 2.13.0 Halide-17.0.1/test/correctness/div_round_to_zero.cpp:32:33: style: Condition 'd==0' is always false [knownConditionTrueFalse] Halide-17.0.1/test/correctness/div_round_to_zero.cpp:25:19: note: Assuming condition 'd==0' is false Halide-17.0.1/test/correctness/div_round_to_zero.cpp:29:29: note: Assuming condition is false Halide-17.0.1/test/correctness/div_round_to_zero.cpp:32:33: note: Condition 'd==0' is always false head Halide-17.0.1/test/correctness/extern_error.cpp:13:70: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_halide_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/extern_error.cpp:29:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/extern_error.cpp:13:70: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/extern_error.cpp:7:66: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/correctness/extern_error.cpp:7:97: style: Parameter 'out' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/correctness/force_onto_stack.cpp:10:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_free' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/force_onto_stack.cpp:83:40: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/force_onto_stack.cpp:10:30: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/force_onto_stack.cpp:10:50: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'my_free' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/force_onto_stack.cpp:83:40: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/force_onto_stack.cpp:10:50: note: Parameter 'ptr' can be declared as pointer to const head Halide-17.0.1/test/correctness/force_onto_stack.cpp:4:33: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_malloc' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/force_onto_stack.cpp:82:42: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/force_onto_stack.cpp:4:33: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/heap_cleanup.cpp:26:39: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_error_handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/heap_cleanup.cpp:54:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/heap_cleanup.cpp:26:39: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/input_larger_than_two_gigs.cpp:8:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/input_larger_than_two_gigs.cpp:28:47: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/input_larger_than_two_gigs.cpp:8:35: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/correctness/iterate_over_circle.cpp:7:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/iterate_over_circle.cpp:31:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/iterate_over_circle.cpp:7:30: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/memoize.cpp:79:35: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'record_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/memoize.cpp:615:44: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/memoize.cpp:79:35: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/multi_output_pipeline_with_bad_sizes.cpp:7:35: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/multi_output_pipeline_with_bad_sizes.cpp:21:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/multi_output_pipeline_with_bad_sizes.cpp:7:35: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/out_of_memory.cpp:35:41: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/out_of_memory.cpp:62:59: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/out_of_memory.cpp:35:41: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/output_larger_than_two_gigs.cpp:8:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/output_larger_than_two_gigs.cpp:26:50: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/output_larger_than_two_gigs.cpp:8:35: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/correctness/parameter_constraints.cpp:7:39: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_error_handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/parameter_constraints.cpp:58:41: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/parameter_constraints.cpp:7:39: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:8:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:23:47: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/realize_larger_than_two_gigs.cpp:8:35: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/correctness/reorder_storage.cpp:10:33: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_malloc' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/reorder_storage.cpp:42:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/reorder_storage.cpp:10:33: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/require.cpp:8:35: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'halide_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/require.cpp:71:44: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/require.cpp:8:35: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/correctness/reschedule.cpp:9:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/reschedule.cpp:26:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/reschedule.cpp:9:30: note: Parameter 'user_context' can be declared as pointer to const 2.13.0 Halide-17.0.1/test/correctness/saturating_casts.cpp:174:38: style: Condition 'source_signed==target_signed' is always true [knownConditionTrueFalse] Halide-17.0.1/test/correctness/saturating_casts.cpp:161:59: note: 'source_signed' is assigned value 'std::numeric_limits::is_signed' here. Halide-17.0.1/test/correctness/saturating_casts.cpp:162:59: note: 'target_signed' is assigned value 'std::numeric_limits::is_signed' here. Halide-17.0.1/test/correctness/saturating_casts.cpp:174:38: note: Condition 'source_signed==target_signed' is always true 2.13.0 Halide-17.0.1/test/correctness/saturating_casts.cpp:77:34: style: Condition 'source_signed==target_signed' is always true [knownConditionTrueFalse] Halide-17.0.1/test/correctness/saturating_casts.cpp:62:59: note: 'source_signed' is assigned value 'std::numeric_limits::is_signed' here. Halide-17.0.1/test/correctness/saturating_casts.cpp:63:59: note: 'target_signed' is assigned value 'std::numeric_limits::is_signed' here. Halide-17.0.1/test/correctness/saturating_casts.cpp:77:34: note: Condition 'source_signed==target_signed' is always true head Halide-17.0.1/test/correctness/set_custom_trace.cpp:42:49: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'allocation_bound_test_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/set_custom_trace.cpp:56:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/set_custom_trace.cpp:42:49: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/specialize.cpp:16:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/specialize.cpp:702:42: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/specialize.cpp:16:30: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/specialize.cpp:36:33: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'my_malloc' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/specialize.cpp:193:44: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/specialize.cpp:36:33: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/correctness/stack_allocations.cpp:13:30: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'my_free' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/stack_allocations.cpp:39:36: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/stack_allocations.cpp:13:30: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/correctness/stack_allocations.cpp:13:41: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'my_free' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/stack_allocations.cpp:39:36: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/stack_allocations.cpp:13:41: note: Parameter 'ptr' can be declared as pointer to const head Halide-17.0.1/test/correctness/stack_allocations.cpp:7:33: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'my_malloc' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/stack_allocations.cpp:38:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/stack_allocations.cpp:7:33: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/correctness/stencil_chain_in_update_definitions.cpp:7:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/stencil_chain_in_update_definitions.cpp:72:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/stencil_chain_in_update_definitions.cpp:7:30: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/tracing_broadcast.cpp:6:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/tracing_broadcast.cpp:28:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/tracing_broadcast.cpp:6:30: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/uninitialized_read.cpp:6:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/uninitialized_read.cpp:36:38: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/uninitialized_read.cpp:6:30: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/vectorize_guard_with_if.cpp:7:30: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_trace' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/vectorize_guard_with_if.cpp:30:42: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/vectorize_guard_with_if.cpp:7:30: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/correctness/vectorized_assert.cpp:6:31: style: Parameter 'ucon' can be declared as pointer to const. However it seems that 'my_error' is a callback function, if 'ucon' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/correctness/vectorized_assert.cpp:24:37: note: You might need to cast the function pointer here Halide-17.0.1/test/correctness/vectorized_assert.cpp:6:31: note: Parameter 'ucon' can be declared as pointer to const head Halide-17.0.1/test/error/realize_constantly_larger_than_two_gigs.cpp:8:31: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'my_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/error/realize_constantly_larger_than_two_gigs.cpp:23:47: note: You might need to cast the function pointer here Halide-17.0.1/test/error/realize_constantly_larger_than_two_gigs.cpp:8:31: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/error/undefined_rdom_dimension.cpp:8:31: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'my_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/error/undefined_rdom_dimension.cpp:23:37: note: You might need to cast the function pointer here Halide-17.0.1/test/error/undefined_rdom_dimension.cpp:8:31: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/test/generator/cleanup_on_error_aottest.cpp:40:28: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_halide_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/generator/cleanup_on_error_aottest.cpp:65:31: note: You might need to cast the function pointer here Halide-17.0.1/test/generator/cleanup_on_error_aottest.cpp:40:28: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/generator/define_extern_opencl_aottest.cpp:20:47: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/generator/define_extern_opencl_aottest.cpp:20:71: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/generator/error_codes_aottest.cpp:8:28: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_halide_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/generator/error_codes_aottest.cpp:22:31: note: You might need to cast the function pointer here Halide-17.0.1/test/generator/error_codes_aottest.cpp:8:28: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/generator/msan_aottest.cpp:108:36: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/generator/multitarget_aottest.cpp:11:29: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'my_error_handler' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/generator/multitarget_aottest.cpp:65:30: note: You might need to cast the function pointer here Halide-17.0.1/test/generator/multitarget_aottest.cpp:11:29: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/test/generator/sanitizercoverage_aottest.cpp:20:61: style: Parameter 'Start' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/generator/sanitizercoverage_aottest.cpp:20:77: style: Parameter 'Stop' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/generator/sanitizercoverage_aottest.cpp:66:70: style: Parameter 'Cases' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/generator/user_context_insanity_aottest.cpp:18:35: style: C-style pointer casting [cstyleCast] head Halide-17.0.1/test/runtime/common.cpp:18:35: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/test/warning/require_const_false.cpp:7:31: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'my_error' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/test/warning/require_const_false.cpp:27:37: note: You might need to cast the function pointer here Halide-17.0.1/test/warning/require_const_false.cpp:7:31: note: Parameter 'ctx' can be declared as pointer to const head Halide-17.0.1/tools/RunGen.h:1395:43: style: Parameter 'user_context' can be declared as pointer to const. However it seems that 'rungen_ignore_error' is a callback function, if 'user_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] Halide-17.0.1/tools/RunGen.h:1422:64: note: You might need to cast the function pointer here Halide-17.0.1/tools/RunGen.h:1395:43: note: Parameter 'user_context' can be declared as pointer to const head Halide-17.0.1/tools/RunGen.h:1453:49: style: Parameter 'user_context' can be declared as pointer to const [constParameterPointer] head Halide-17.0.1/tools/halide_image_io.h:1691:56: style: Parameter 'im' can be declared as pointer to const [constParameterPointer] DONE