2024-03-26 04:24 ftp://ftp.de.debian.org/debian/pool/main/v/vulkan-loader/vulkan-loader_1.3.275.0.orig.tar.xz 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: 82f05c8 (2024-03-25 22:58:58 +0100) count: 237 237 elapsed-time: 1.6 1.4 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 0.413373s (avg. 0.413373s - 1 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.206786s (avg. 0.0516965s - 4 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.146185s (avg. 0.0487283s - 3 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1: 0.030009s (avg. 0.030009s - 1 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1::simplifyTemplates: 0.020185s (avg. 0.020185s - 1 result(s)) Overall time: 0.506953s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 0.360408s (avg. 0.360408s - 1 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.171352s (avg. 0.042838s - 4 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.146038s (avg. 0.0486793s - 3 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1: 0.02698s (avg. 0.02698s - 1 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1::simplifyTemplates: 0.01729s (avg. 0.01729s - 1 result(s)) Overall time: 0.441837s head results: vulkan-loader-1.3.275.0/loader/allocation.c:105:64: style:inconclusive: Function 'loader_instance_heap_alloc' argument 1 names different: declaration 'instance' definition 'inst'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:34:64: note: Function 'loader_instance_heap_alloc' argument 1 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:105:64: note: Function 'loader_instance_heap_alloc' argument 1 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:109:65: style:inconclusive: Function 'loader_instance_heap_calloc' argument 1 names different: declaration 'instance' definition 'inst'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:35:65: note: Function 'loader_instance_heap_calloc' argument 1 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:109:65: note: Function 'loader_instance_heap_calloc' argument 1 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:113:62: style:inconclusive: Function 'loader_instance_heap_free' argument 1 names different: declaration 'instance' definition 'inst'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:36:62: note: Function 'loader_instance_heap_free' argument 1 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:113:62: note: Function 'loader_instance_heap_free' argument 1 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:116:66: style:inconclusive: Function 'loader_instance_heap_realloc' argument 1 names different: declaration 'instance' definition 'inst'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:37:66: note: Function 'loader_instance_heap_realloc' argument 1 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:116:66: note: Function 'loader_instance_heap_realloc' argument 1 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:121:60: style:inconclusive: Function 'loader_device_heap_alloc' argument 1 names different: declaration 'device' definition 'dev'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:40:60: note: Function 'loader_device_heap_alloc' argument 1 names different: declaration 'device' definition 'dev'. vulkan-loader-1.3.275.0/loader/allocation.c:121:60: note: Function 'loader_device_heap_alloc' argument 1 names different: declaration 'device' definition 'dev'. vulkan-loader-1.3.275.0/loader/allocation.c:121:102: style:inconclusive: Function 'loader_device_heap_alloc' argument 3 names different: declaration 'allocationScope' definition 'allocation_scope'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:40:105: note: Function 'loader_device_heap_alloc' argument 3 names different: declaration 'allocationScope' definition 'allocation_scope'. vulkan-loader-1.3.275.0/loader/allocation.c:121:102: note: Function 'loader_device_heap_alloc' argument 3 names different: declaration 'allocationScope' definition 'allocation_scope'. vulkan-loader-1.3.275.0/loader/allocation.c:125:61: style:inconclusive: Function 'loader_device_heap_calloc' argument 1 names different: declaration 'device' definition 'dev'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:41:61: note: Function 'loader_device_heap_calloc' argument 1 names different: declaration 'device' definition 'dev'. vulkan-loader-1.3.275.0/loader/allocation.c:125:61: note: Function 'loader_device_heap_calloc' argument 1 names different: declaration 'device' definition 'dev'. vulkan-loader-1.3.275.0/loader/allocation.c:125:103: style:inconclusive: Function 'loader_device_heap_calloc' argument 3 names different: declaration 'allocationScope' definition 'allocation_scope'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:41:106: note: Function 'loader_device_heap_calloc' argument 3 names different: declaration 'allocationScope' definition 'allocation_scope'. vulkan-loader-1.3.275.0/loader/allocation.c:125:103: note: Function 'loader_device_heap_calloc' argument 3 names different: declaration 'allocationScope' definition 'allocation_scope'. vulkan-loader-1.3.275.0/loader/allocation.c:129:58: style:inconclusive: Function 'loader_device_heap_free' argument 1 names different: declaration 'device' definition 'dev'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:42:58: note: Function 'loader_device_heap_free' argument 1 names different: declaration 'device' definition 'dev'. vulkan-loader-1.3.275.0/loader/allocation.c:129:58: note: Function 'loader_device_heap_free' argument 1 names different: declaration 'device' definition 'dev'. vulkan-loader-1.3.275.0/loader/allocation.c:132:62: style:inconclusive: Function 'loader_device_heap_realloc' argument 1 names different: declaration 'device' definition 'dev'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:43:62: note: Function 'loader_device_heap_realloc' argument 1 names different: declaration 'device' definition 'dev'. vulkan-loader-1.3.275.0/loader/allocation.c:132:62: note: Function 'loader_device_heap_realloc' argument 1 names different: declaration 'device' definition 'dev'. vulkan-loader-1.3.275.0/loader/allocation.c:133:58: style:inconclusive: Function 'loader_device_heap_realloc' argument 5 names different: declaration 'alloc_scope' definition 'allocation_scope'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:44:58: note: Function 'loader_device_heap_realloc' argument 5 names different: declaration 'alloc_scope' definition 'allocation_scope'. vulkan-loader-1.3.275.0/loader/allocation.c:133:58: note: Function 'loader_device_heap_realloc' argument 5 names different: declaration 'alloc_scope' definition 'allocation_scope'. vulkan-loader-1.3.275.0/loader/allocation.c:137:114: style:inconclusive: Function 'loader_alloc_with_instance_fallback' argument 2 names different: declaration 'instance' definition 'inst'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/allocation.h:55:114: note: Function 'loader_alloc_with_instance_fallback' argument 2 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/allocation.c:137:114: note: Function 'loader_alloc_with_instance_fallback' argument 2 names different: declaration 'instance' definition 'inst'. vulkan-loader-1.3.275.0/loader/loader.h:39:42: style: Variable 'phys_dev' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/loader.c:2939:130: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] vulkan-loader-1.3.275.0/loader/loader_environment.c:459:19: style: Condition 'layer_env!=NULL' is always false [knownConditionTrueFalse] vulkan-loader-1.3.275.0/loader/loader_environment.c:456:36: note: Calling function 'loader_getenv' returns 0 vulkan-loader-1.3.275.0/loader/loader_environment.c:456:36: note: Assignment 'layer_env=loader_getenv("VK_INSTANCE_LAYERS",inst)', assigned value is 0 vulkan-loader-1.3.275.0/loader/loader_environment.c:459:19: note: Condition 'layer_env!=NULL' is always false vulkan-loader-1.3.275.0/loader/loader_environment.c:222:26: style: Variable '*filter_type' is reassigned a value before the old one has been used. [redundantAssignment] vulkan-loader-1.3.275.0/loader/loader_environment.c:204:30: note: *filter_type is assigned vulkan-loader-1.3.275.0/loader/loader_environment.c:222:26: note: *filter_type is overwritten vulkan-loader-1.3.275.0/loader/loader_environment.c:223:24: style: Variable '*new_start' is reassigned a value before the old one has been used. [redundantAssignment] vulkan-loader-1.3.275.0/loader/loader_environment.c:205:28: note: *new_start is assigned vulkan-loader-1.3.275.0/loader/loader_environment.c:223:24: note: *new_start is overwritten vulkan-loader-1.3.275.0/loader/loader_environment.c:224:25: style: Variable '*new_length' is reassigned a value before the old one has been used. [redundantAssignment] vulkan-loader-1.3.275.0/loader/loader_environment.c:206:29: note: *new_length is assigned vulkan-loader-1.3.275.0/loader/loader_environment.c:224:25: note: *new_length is overwritten vulkan-loader-1.3.275.0/loader/loader_environment.c:222:26: style: Variable '*filter_type' is reassigned a value before the old one has been used. [redundantAssignment] vulkan-loader-1.3.275.0/loader/loader_environment.c:214:30: note: *filter_type is assigned vulkan-loader-1.3.275.0/loader/loader_environment.c:222:26: note: *filter_type is overwritten vulkan-loader-1.3.275.0/loader/loader_environment.c:223:24: style: Variable '*new_start' is reassigned a value before the old one has been used. [redundantAssignment] vulkan-loader-1.3.275.0/loader/loader_environment.c:215:28: note: *new_start is assigned vulkan-loader-1.3.275.0/loader/loader_environment.c:223:24: note: *new_start is overwritten vulkan-loader-1.3.275.0/loader/loader_environment.c:224:25: style: Variable '*new_length' is reassigned a value before the old one has been used. [redundantAssignment] vulkan-loader-1.3.275.0/loader/loader_environment.c:216:29: note: *new_length is assigned vulkan-loader-1.3.275.0/loader/loader_environment.c:224:25: note: *new_length is overwritten vulkan-loader-1.3.275.0/loader/loader_environment.c:533:20: style: Variable 'adding' is reassigned a value before the old one has been used. [redundantAssignment] vulkan-loader-1.3.275.0/loader/loader_environment.c:525:20: note: adding is assigned vulkan-loader-1.3.275.0/loader/loader_environment.c:533:20: note: adding is overwritten vulkan-loader-1.3.275.0/loader/loader_environment.c:271:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/loader_environment.c:331:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/loader_environment.c:450:64: style: Parameter 'inst' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/debug_utils.c:286:29: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/debug_utils.c:537:29: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/cJSON.c:160:9: style: Condition 'newbuffer' is always true [knownConditionTrueFalse] vulkan-loader-1.3.275.0/loader/cJSON.c:326:38: style: Condition 'i>=2' is always true [knownConditionTrueFalse] vulkan-loader-1.3.275.0/loader/cJSON.c:324:31: note: Assuming that condition 'i==1' is not redundant vulkan-loader-1.3.275.0/loader/cJSON.c:326:38: note: Condition 'i>=2' is always true vulkan-loader-1.3.275.0/loader/cJSON.c:385:21: style: Condition '++len' is always true [knownConditionTrueFalse] vulkan-loader-1.3.275.0/loader/cJSON.c:981:9: style: Condition '!file' is always true [knownConditionTrueFalse] vulkan-loader-1.3.275.0/loader/cJSON.c:955:18: note: Assignment 'file=NULL', assigned value is 0 vulkan-loader-1.3.275.0/loader/cJSON.c:981:9: note: Condition '!file' is always true vulkan-loader-1.3.275.0/loader/cJSON.c:167:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/cJSON.c:168:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/cJSON.c:175:34: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/cJSON.c:443:34: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/cJSON.c:790:27: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/cJSON.c:790:33: style: Variable 'str' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/cJSON.c:638:37: style: Variable 'j' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/loader/cJSON.c:639:19: style: Variable 'tmplen' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/loader/cJSON.c:789:20: style: Variable 'entries' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/loader/cJSON.c:789:33: style: Variable 'names' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/loader/cJSON.c:794:19: style: Variable 'tmplen' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/loader/terminator.c:121:29: style: Variable 'icd_term' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/settings.c:44:80: style:inconclusive: Function 'free_loader_settings' argument 2 names different: declaration 'loader_settings' definition 'settings'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/settings.h:81:80: note: Function 'free_loader_settings' argument 2 names different: declaration 'loader_settings' definition 'settings'. vulkan-loader-1.3.275.0/loader/settings.c:44:80: note: Function 'free_loader_settings' argument 2 names different: declaration 'loader_settings' definition 'settings'. vulkan-loader-1.3.275.0/loader/settings.c:295:83: style:inconclusive: Function 'get_loader_settings' argument 2 names different: declaration 'out_loader_settings' definition 'loader_settings'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/settings.h:79:83: note: Function 'get_loader_settings' argument 2 names different: declaration 'out_loader_settings' definition 'loader_settings'. vulkan-loader-1.3.275.0/loader/settings.c:295:83: note: Function 'get_loader_settings' argument 2 names different: declaration 'out_loader_settings' definition 'loader_settings'. vulkan-loader-1.3.275.0/loader/settings.c:55:58: style: Parameter 'control_string' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/settings.c:83:68: style: Parameter 'log_filters' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/settings.c:148:12: style: Variable 'treat_as_implicit_manifest' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/settings.c:400:12: style: Variable 'stderr_filter' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/settings.c:621:58: style: Parameter 'layer_list' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/settings.c:621:102: style: Parameter 'layer_property' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/unknown_function_handling.c:327:9: style: The if condition is the same as the previous if condition [duplicateCondition] vulkan-loader-1.3.275.0/loader/unknown_function_handling.c:311:9: note: First condition vulkan-loader-1.3.275.0/loader/unknown_function_handling.c:327:9: note: Second condition vulkan-loader-1.3.275.0/loader/log.c:43:11: style: Variable 'env' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/trampoline.c:84:37: style: Variable 'ptr_instance' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/trampoline.c:1060:42: style: Variable 'phys_dev' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/tests/framework/icd/physical_device.h:39:5: error: There is an unknown macro here somewhere. Configuration is required. If BUILDER_VALUE is a macro then please configure it. [unknownMacro] vulkan-loader-1.3.275.0/tests/framework/layer/test_layer.h:95:5: error: There is an unknown macro here somewhere. Configuration is required. If BUILDER_VALUE is a macro then please configure it. [unknownMacro] vulkan-loader-1.3.275.0/tests/framework/shim/shim_common.cpp:61:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] vulkan-loader-1.3.275.0/tests/framework/shim/unix_shim.cpp:85:1: debug: Failed to parse 'using PFN_OPENDIR = DIR * ( * ) ( const char * path_name ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/shim/unix_shim.cpp:86:1: debug: Failed to parse 'using PFN_READDIR = struct dirent * ( * ) ( DIR * dir_stream ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/shim/unix_shim.cpp:87:1: debug: Failed to parse 'using PFN_CLOSEDIR = int ( * ) ( DIR * dir_stream ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/shim/unix_shim.cpp:88:1: debug: Failed to parse 'using PFN_ACCESS = int ( * ) ( const char * pathname , int mode ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/shim/unix_shim.cpp:89:1: debug: Failed to parse 'using PFN_FOPEN = FILE * ( * ) ( const char * filename , const char * mode ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/shim/unix_shim.cpp:90:1: debug: Failed to parse 'using PFN_DLOPEN = void * ( * ) ( const char * in_filename , int flags ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/shim/unix_shim.cpp:91:1: debug: Failed to parse 'using PFN_GETEUID = uid_t ( * ) ( void ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/shim/unix_shim.cpp:92:1: debug: Failed to parse 'using PFN_GETEGID = gid_t ( * ) ( void ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/loader/wsi.c:41:50: style:inconclusive: Function 'wsi_create_instance' argument 1 names different: declaration 'ptr_instance' definition 'loader_inst'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/wsi.h:74:50: note: Function 'wsi_create_instance' argument 1 names different: declaration 'ptr_instance' definition 'loader_inst'. vulkan-loader-1.3.275.0/loader/wsi.c:41:50: note: Function 'wsi_create_instance' argument 1 names different: declaration 'ptr_instance' definition 'loader_inst'. vulkan-loader-1.3.275.0/loader/wsi.c:2782:57: style:inconclusive: Function 'wsi_swapchain_instance_gpa' argument 1 names different: declaration 'ptr_instance' definition 'loader_inst'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/loader/wsi.h:72:57: note: Function 'wsi_swapchain_instance_gpa' argument 1 names different: declaration 'ptr_instance' definition 'loader_inst'. vulkan-loader-1.3.275.0/loader/wsi.c:2782:57: note: Function 'wsi_swapchain_instance_gpa' argument 1 names different: declaration 'ptr_instance' definition 'loader_inst'. vulkan-loader-1.3.275.0/loader/wsi.c:239:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:294:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:350:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:408:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:453:31: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:467:29: style: Variable 'icd_term' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:553:64: style: Parameter 'instance' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/loader/wsi.c:1840:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:1881:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:1922:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:1964:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:2007:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:2046:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:2167:29: style: Variable 'icd_term' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:2229:29: style: Variable 'icd_term' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:2616:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/loader/wsi.c:2708:29: style: Variable 'loader_inst' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/tests/framework/shim/shim.h:137:5: warning: Member variable 'PlatformShim::folders' is not initialized in the constructor. [uninitMemberVar] vulkan-loader-1.3.275.0/tests/framework/shim/shim.h:138:5: style: Struct 'PlatformShim' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/shim/windows_shim.cpp:384:42: error: There is an unknown macro here somewhere. Configuration is required. If _Out_writes_opt_ is a macro then please configure it. [unknownMacro] vulkan-loader-1.3.275.0/tests/framework/icd/test_icd.h:184:1: debug: Failed to parse 'using GetTestICDFunc = TestICD * ( * ) ( ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/icd/test_icd.h:187:1: debug: Failed to parse 'using GetNewTestICDFunc = TestICD * ( * ) ( ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/layer/test_layer.h:219:1: debug: Failed to parse 'using GetTestLayerFunc = TestLayer * ( * ) ( ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/layer/test_layer.h:222:1: debug: Failed to parse 'using GetNewTestLayerFunc = TestLayer * ( * ) ( ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:579:47: warning: Either the condition 'pTagInfo' is redundant or there is possible null pointer dereference: pTagInfo. [nullPointerRedundantCheck] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:582:9: note: Assuming that condition 'pTagInfo' is not redundant vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:579:47: note: Null pointer dereference vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:601:48: warning: Either the condition 'pNameInfo' is redundant or there is possible null pointer dereference: pNameInfo. [nullPointerRedundantCheck] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:604:9: note: Assuming that condition 'pNameInfo' is not redundant vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:601:48: note: Null pointer dereference vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:627:47: warning: Either the condition 'pNameInfo' is redundant or there is possible null pointer dereference: pNameInfo. [nullPointerRedundantCheck] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:630:9: note: Assuming that condition 'pNameInfo' is not redundant vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:627:47: note: Null pointer dereference vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:648:46: warning: Either the condition 'pTagInfo' is redundant or there is possible null pointer dereference: pTagInfo. [nullPointerRedundantCheck] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:651:9: note: Assuming that condition 'pTagInfo' is not redundant vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:648:46: note: Null pointer dereference vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:136:45: style: C-style pointer casting [cstyleCast] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:138:22: style: C-style pointer casting [cstyleCast] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:145:43: style: C-style pointer casting [cstyleCast] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:147:22: style: C-style pointer casting [cstyleCast] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:438:18: style: The scope of the variable 'ext_count' can be reduced. [variableScope] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:448:27: style: Checking if unsigned expression '*pPropertyCount' is less than zero. [unsignedLessThanZero] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:438:30: note: Assignment 'ext_count=0', assigned value is 0 vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:447:51: note: Assignment 'count=ext_count', assigned value is 0 vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:448:27: note: Unsigned less than zero vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:676:65: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:719:68: style: Parameter 'inst' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:83:27: style: struct member 'wrapped_dev_obj::loader_disp' is never used. [unusedStructMember] vulkan-loader-1.3.275.0/tests/framework/layer/wrap_objects.cpp:91:10: style: struct member 'wrapped_dev_obj::debug_report_enabled' is never used. [unusedStructMember] vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/dynamic_library.h:32:1: debug: Failed to parse 'using DoLogicFunction = char ( * ) ( ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/dynamic_library.h:36:1: debug: Failed to parse 'using InitFunction = void ( * ) ( ) ;'. The checking continues anyway. [simplifyUsing] vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading.cpp:35:25: style: Local variable 'do_logic' shadows outer function [shadowFunction] vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/dynamic_library.h:34:23: note: Shadowed declaration vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading.cpp:35:25: note: Shadow variable vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading.cpp:43:22: style: Local variable 'init' shadows outer function [shadowFunction] vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/dynamic_library.h:38:23: note: Shadowed declaration vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading.cpp:43:22: note: Shadow variable vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading.cpp:46:25: style: Local variable 'do_logic' shadows outer function [shadowFunction] vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/dynamic_library.h:34:23: note: Shadowed declaration vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading.cpp:46:25: note: Shadow variable vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading_and_linking.cpp:31:21: style: Local variable 'do_logic' shadows outer function [shadowFunction] vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/dynamic_library.h:34:23: note: Shadowed declaration vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading_and_linking.cpp:31:21: note: Shadow variable vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading_and_linking.cpp:36:18: style: Local variable 'init' shadows outer function [shadowFunction] vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/dynamic_library.h:38:23: note: Shadowed declaration vulkan-loader-1.3.275.0/tests/live_verification/dynamic_loader_behavior/test_dynamic_loading_and_linking.cpp:36:18: note: Shadow variable vulkan-loader-1.3.275.0/tests/live_verification/dynamic_rendering_get_proc_addr.cpp:56:75: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:385:28: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] vulkan-loader-1.3.275.0/tests/framework/test_util.h:122:9: performance: Variable 'initial_value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_util.h:127:9: performance: Variable 'initial_value' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_util.h:357:9: performance: Variable 'lib_handle' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:589:5: performance: Variable 'queue_create_info' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:603:5: performance: Variable 'dev' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_util.h:428:10: style:inconclusive: Technically the member function 'DispatchableHandle::operator==' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:429:10: style:inconclusive: Technically the member function 'DispatchableHandle::operator!=' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:608:21: performance:inconclusive: Technically the member function 'ManifestLayer::LayerDescription::get_type_str' can be static (but you may consider moving to unnamed namespace). [functionStatic] vulkan-loader-1.3.275.0/tests/framework/test_util.h:121:5: style: Struct 'EnvVarWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:195:5: style: Struct 'path' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:196:5: style: Struct 'path' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:345:5: style: Class 'FromVoidStarFunc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:346:5: style: Class 'FromVoidStarFunc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:624:13: style: Struct 'Extension' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:662:5: style: Struct 'Extension' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:664:5: style: Struct 'Extension' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:707:5: style: Struct 'DeviceQueueCreateInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:717:5: style: Struct 'DeviceCreateInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_util.h:624:93: performance: Function parameter 'entrypoints' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:424:35: performance: Function parameter 'root_path' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:424:58: performance: Function parameter 'name' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:116:16: style: Variable 'str' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:234:16: style: Variable 'c' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:435:16: style: Variable 'file' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:384:13: style: Variable 'file' can be declared as pointer to const [constVariablePointer] vulkan-loader-1.3.275.0/tests/framework/test_util.cpp:323:15: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:391:9: performance: Variable 'vkCreateDebugUtilsMessengerEXT' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:157:5: performance: Variable 'vkGetDeviceProcAddr' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:178:5: performance: Variable 'inst' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:180:5: performance: Variable 'create_info' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:275:5: performance: Variable 'dev' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:277:5: performance: Variable 'create_info' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:285:5: style:inconclusive: Technically the member function 'InstWrapper::operatorVkInstance' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:329:5: style:inconclusive: Technically the member function 'DeviceWrapper::operatorVkDevice' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:407:10: style:inconclusive: Technically the member function 'DebugUtilsWrapper::find' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:481:14: style:inconclusive: Technically the member function 'TestICDHandle::get_icd_full_path' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:362:25: note: Technically the member function 'TestICDHandle::get_icd_full_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:481:14: note: Technically the member function 'TestICDHandle::get_icd_full_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:482:14: style:inconclusive: Technically the member function 'TestICDHandle::get_icd_manifest_path' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:363:25: note: Technically the member function 'TestICDHandle::get_icd_manifest_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:482:14: note: Technically the member function 'TestICDHandle::get_icd_manifest_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:483:14: style:inconclusive: Technically the member function 'TestICDHandle::get_shimmed_manifest_path' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:364:25: note: Technically the member function 'TestICDHandle::get_shimmed_manifest_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:483:14: note: Technically the member function 'TestICDHandle::get_shimmed_manifest_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:497:14: style:inconclusive: Technically the member function 'TestLayerHandle::get_layer_full_path' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:379:27: note: Technically the member function 'TestLayerHandle::get_layer_full_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:497:14: note: Technically the member function 'TestLayerHandle::get_layer_full_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:498:14: style:inconclusive: Technically the member function 'TestLayerHandle::get_layer_manifest_path' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:380:27: note: Technically the member function 'TestLayerHandle::get_layer_manifest_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:498:14: note: Technically the member function 'TestLayerHandle::get_layer_manifest_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:499:14: style:inconclusive: Technically the member function 'TestLayerHandle::get_shimmed_manifest_path' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:381:27: note: Technically the member function 'TestLayerHandle::get_shimmed_manifest_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_environment.h:499:14: note: Technically the member function 'TestLayerHandle::get_shimmed_manifest_path' can be const. vulkan-loader-1.3.275.0/tests/framework/test_util.h:428:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkPhysicalDevice >::operator==' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:429:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkPhysicalDevice >::operator!=' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:428:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkQueue >::operator==' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:429:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkQueue >::operator!=' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:428:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkInstance >::operator==' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:429:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkInstance >::operator!=' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:428:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkDevice >::operator==' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:429:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkDevice >::operator!=' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:428:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkCommandBuffer >::operator==' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/test_util.h:429:10: style:inconclusive: Technically the member function 'DispatchableHandle < VkCommandBuffer >::operator!=' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/framework/icd/physical_device.h:35:5: style: Struct 'PhysicalDevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/icd/physical_device.h:36:5: style: Struct 'PhysicalDevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/icd/physical_device.h:94:5: style: Struct 'PhysicalDeviceGroup' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/icd/physical_device.h:95:5: style: Struct 'PhysicalDeviceGroup' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:270:5: style: Struct 'InstWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:315:5: style: Struct 'DeviceWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:351:5: style: Struct 'DebugUtilsLogger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:386:5: style: Struct 'DebugUtilsWrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:478:5: style: Struct 'TestICDHandle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:494:5: style: Struct 'TestLayerHandle' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:529:5: style: Struct 'TestICDDetails' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:530:5: style: Struct 'TestICDDetails' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:582:5: style: Struct 'FrameworkEnvironment' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:313:12: style: The scope of the variable 'next_eol' can be reduced. [variableScope] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:229:97: style:inconclusive: Function 'GetActiveLayers' argument 2 names different: declaration 'count' definition 'expected_count'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:299:88: note: Function 'GetActiveLayers' argument 2 names different: declaration 'count' definition 'expected_count'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:229:97: note: Function 'GetActiveLayers' argument 2 names different: declaration 'count' definition 'expected_count'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:242:84: style:inconclusive: Function 'EnumerateDeviceExtensions' argument 2 names different: declaration 'count' definition 'expected_count'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:303:109: note: Function 'EnumerateDeviceExtensions' argument 2 names different: declaration 'count' definition 'expected_count'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:242:84: note: Function 'EnumerateDeviceExtensions' argument 2 names different: declaration 'count' definition 'expected_count'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:290:50: style:inconclusive: Function 'CheckCreate' argument 1 names different: declaration 'physical_device' definition 'phys_dev'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:326:39: note: Function 'CheckCreate' argument 1 names different: declaration 'physical_device' definition 'phys_dev'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:290:50: note: Function 'CheckCreate' argument 1 names different: declaration 'physical_device' definition 'phys_dev'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:744:73: style:inconclusive: Function 'update_loader_settings' argument 1 names different: declaration 'loader_settings' definition 'settings'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:599:55: note: Function 'update_loader_settings' argument 1 names different: declaration 'loader_settings' definition 'settings'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:744:73: note: Function 'update_loader_settings' argument 1 names different: declaration 'loader_settings' definition 'settings'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:780:89: style:inconclusive: Function 'GetInstanceExtensions' argument 1 names different: declaration 'count' definition 'expected_count'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:625:71: note: Function 'GetInstanceExtensions' argument 1 names different: declaration 'count' definition 'expected_count'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:780:89: note: Function 'GetInstanceExtensions' argument 1 names different: declaration 'count' definition 'expected_count'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:791:82: style:inconclusive: Function 'GetLayerProperties' argument 1 names different: declaration 'count' definition 'expected_count'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:627:64: note: Function 'GetLayerProperties' argument 1 names different: declaration 'count' definition 'expected_count'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:791:82: note: Function 'GetLayerProperties' argument 1 names different: declaration 'count' definition 'expected_count'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:869:58: style:inconclusive: Function 'create_surface' argument 2 names different: declaration 'out_surface' definition 'surface'. [funcArgNamesDifferent] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:653:58: note: Function 'create_surface' argument 2 names different: declaration 'out_surface' definition 'surface'. vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:869:58: note: Function 'create_surface' argument 2 names different: declaration 'out_surface' definition 'surface'. vulkan-loader-1.3.275.0/tests/framework/icd/physical_device.h:35:32: performance: Function parameter 'name' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:529:32: performance: Function parameter 'icd_manifest' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:544:61: performance: Function parameter 'layer_manifest' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:547:61: performance: Function parameter 'layer_manifest' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:550:66: performance: Function parameter 'layer_manifest' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:553:66: performance: Function parameter 'layer_manifest' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:556:64: performance: Function parameter 'layer_details' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:559:64: performance: Function parameter 'layer_details' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/framework/icd/test_icd.h:153:20: style: Variable 'ext' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/framework/test_environment.h:104:47: style: Parameter 'handles' can be declared as const array [constParameter] vulkan-loader-1.3.275.0/tests/framework/icd/test_icd.h:144:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:312:26: style: Variable 'postfix_index' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:313:21: style: Variable 'next_eol' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/tests/loader_get_proc_addr_tests.cpp:90:11: style: Variable 'gipa' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/loader_handle_validation_tests.cpp:995:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] vulkan-loader-1.3.275.0/tests/loader_handle_validation_tests.cpp:34:14: style: struct member 'BadData::bad_array' is never used. [unusedStructMember] vulkan-loader-1.3.275.0/tests/loader_alloc_callback_tests.cpp:154:10: style:inconclusive: Technically the member function 'MemoryTracker::empty' can be const. [functionConst] vulkan-loader-1.3.275.0/tests/loader_alloc_callback_tests.cpp:140:5: style: Class 'MemoryTracker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/loader_alloc_callback_tests.cpp:71:31: style: C-style pointer casting [cstyleCast] vulkan-loader-1.3.275.0/tests/loader_alloc_callback_tests.cpp:140:41: performance: Function parameter 'settings' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/loader_alloc_callback_tests.cpp:51:25: style: class member 'MemoryTracker::UNKNOWN_ALLOCATION' is never used. [unusedStructMember] vulkan-loader-1.3.275.0/tests/loader_alloc_callback_tests.cpp:48:16: style: struct member 'AllocationDetails::alignment' is never used. [unusedStructMember] vulkan-loader-1.3.275.0/tests/loader_threading_tests.cpp:97:30: style: Unused variable: function_query_threads [unusedVariable] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:1120:7: debug: Failed to instantiate template "check". The checking continues anyway. [templateInstantiation] vulkan-loader-1.3.275.0/tests/loader_settings_tests.cpp:32:19: style: Variable 's' is assigned a value that is never used. [unreadVariable] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:3891:57: style: The scope of the variable 'props' can be reduced. [variableScope] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:4079:62: style: The scope of the variable 'props' can be reduced. [variableScope] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:4264:47: style: The scope of the variable 'disps' can be reduced. [variableScope] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:2714:23: style: Variable 'cur_dev' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:2974:23: style: Variable 'cur_dev' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:3233:23: style: Variable 'cur_dev' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:4508:76: style: Parameter 'disps2' can be declared as reference to const [constParameterReference] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:4685:105: style: Parameter 'caps2' can be declared as reference to const [constParameterReference] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:5398:106: style: Parameter 'caps2' can be declared as reference to const [constParameterReference] vulkan-loader-1.3.275.0/tests/loader_phys_dev_inst_ext_tests.cpp:5659:23: style: Variable 'cur_dev' can be declared as reference to const [constVariableReference] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:997:5: style: Struct 'UnknownFunction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:997:33: performance: Function parameter 'name' should be passed by const reference. [passedByValue] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:56:78: style: Parameter 'ptr_a' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:56:90: style: Parameter 'ptr_b' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:57:79: style: Parameter 'ptr_a' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:57:91: style: Parameter 'ptr_b' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:122:103: style: Parameter 'ptr_a' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:122:115: style: Parameter 'ptr_b' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:125:104: style: Parameter 'ptr_a' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:125:116: style: Parameter 'ptr_b' can be declared as pointer to const [constParameterPointer] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:858:80: style: Parameter 'ptr_a' can be declared as pointer to const. However it seems that 'implementation' is a callback function, if 'ptr_a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:884:18: note: You might need to cast the function pointer here vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:858:80: note: Parameter 'ptr_a' can be declared as pointer to const vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:858:92: style: Parameter 'ptr_b' can be declared as pointer to const. However it seems that 'implementation' is a callback function, if 'ptr_b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:884:18: note: You might need to cast the function pointer here vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:858:92: note: Parameter 'ptr_b' can be declared as pointer to const vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:893:80: style: Parameter 'ptr_a' can be declared as pointer to const. However it seems that 'implementation' is a callback function, if 'ptr_a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:921:18: note: You might need to cast the function pointer here vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:893:80: note: Parameter 'ptr_a' can be declared as pointer to const vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:893:94: style: Parameter 'ptr_b' can be declared as pointer to const. However it seems that 'implementation' is a callback function, if 'ptr_b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:921:18: note: You might need to cast the function pointer here vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:893:94: note: Parameter 'ptr_b' can be declared as pointer to const vulkan-loader-1.3.275.0/tests/loader_unknown_ext_tests.cpp:38:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] diff: head vulkan-loader-1.3.275.0/loader/cJSON.c:175:34: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] 2.13.0 vulkan-loader-1.3.275.0/tests/framework/test_environment.cpp:869:38: style: Parameter 'inst' can be declared as reference to const [constParameterReference] DONE