2026-05-02 16:52 ftp://ftp.de.debian.org/debian/pool/main/i/intel-opencl-clang/intel-opencl-clang_11.0.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 23 23 elapsed-time: 0.4 0.2 head-timing-info: old-timing-info: head results: opencl-clang-11.0.0/options.h:202:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] opencl-clang-11.0.0/pch_mgr.h:36:5: performance: Variable 'm_name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] opencl-clang-11.0.0/pch_mgr.h:42:8: style:inconclusive: Technically the member function 'Resource::operator!' can be const. [functionConst] opencl-clang-11.0.0/options.h:171:32: style:inconclusive: Technically the member function 'CompileOptionsParser::args' can be const. [functionConst] opencl-clang-11.0.0/options.h:55:3: style: Class 'OpenCLArgList' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] opencl-clang-11.0.0/options.h:98:3: style: Class 'OpenCLOptTable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] opencl-clang-11.0.0/options.h:126:3: style: Class 'EffectiveOptionsFilter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] opencl-clang-11.0.0/options.h:145:3: style: Class 'CompileOptionsParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] opencl-clang-11.0.0/common_clang.cpp:190:3: style: Class 'SmallVectorBuffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] opencl-clang-11.0.0/options.h:163:15: performance: Function 'getSourceName()' should return member 'm_sourceName' by const reference. [returnByReference] opencl-clang-11.0.0/linux_linker/linux_resource_linker.cpp:44:9: error: Resource leak: input [resourceLeak] opencl-clang-11.0.0/linux_linker/linux_resource_linker.cpp:51:9: style: The scope of the variable 'is_eol' can be reduced. [variableScope] opencl-clang-11.0.0/options.cpp:36:35: style: Local variable 'it' shadows outer variable [shadowVariable] opencl-clang-11.0.0/options.cpp:30:41: note: Shadowed declaration opencl-clang-11.0.0/options.cpp:36:35: note: Shadow variable opencl-clang-11.0.0/options_compile.cpp:278:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_COMPILE_UNKNOWN [valueFlowBailoutIncompleteVar] opencl-clang-11.0.0/options_compile.cpp:170:15: style: Variable 'iCLStdSet' is assigned a value that is never used. [unreadVariable] opencl-clang-11.0.0/pch_mgr.cpp:98:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] opencl-clang-11.0.0/pch_mgr.cpp:232:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] opencl-clang-11.0.0/pch_mgr.cpp:171:23: style: The member function 'ResourceManager::GetResourceUnix' can be static. [functionStatic] opencl-clang-11.0.0/pch_mgr.h:77:8: note: The member function 'ResourceManager::GetResourceUnix' can be static. opencl-clang-11.0.0/pch_mgr.cpp:171:23: note: The member function 'ResourceManager::GetResourceUnix' can be static. opencl-clang-11.0.0/pch_mgr.cpp:42:8: style:inconclusive: Technically the member function 'auto_dlclose::operator!' can be const. [functionConst] opencl-clang-11.0.0/pch_mgr.cpp:44:3: style:inconclusive: Technically the member function 'auto_dlclose::operatorbool' can be const. [functionConst] opencl-clang-11.0.0/pch_mgr.cpp:35:3: style: Struct 'auto_dlclose' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] opencl-clang-11.0.0/pch_mgr.cpp:190:11: style: C-style pointer casting [cstyleCast] opencl-clang-11.0.0/pch_mgr.cpp:191:9: style: C-style pointer casting [cstyleCast] diff: DONE