2025-05-05 05:46 ftp://ftp.de.debian.org/debian/pool/main/k/kakoune/kakoune_2024.05.18.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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 1201 1210 elapsed-time: 243.7 269.2 head-timing-info: old-timing-info: head results: kakoune-2024.05.18/src/ranges.hh:73:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/ranges.hh:97:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/ranges.hh:115:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/ranges.hh:219:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/ranges.hh:481:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/shell_manager.hh:28:5: debug: Failed to parse 'using Retriever = Vector < String > ( * ) ( StringView name , const Context & ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/utils.hh:205:18: debug: simplifyOperatorName: found unsimplified operator name [debug] kakoune-2024.05.18/src/string_utils.hh:200:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2024.05.18/src/memory.hh:141:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/hash.hh:63:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/hash.hh:74:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/hash.hh:76:22: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/constexpr_utils.hh:14:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/constexpr_utils.hh:48:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:15:25: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:30:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:39:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:121:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:225:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:283:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:286:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:312:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:487:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:494:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/string.hh:277:12: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/string.hh:278:12: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/hash_map.hh:164:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/utils.hh:64:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/utils.hh:169:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/utils.hh:203:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/flags.hh:34:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/optional.hh:91:26: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/optional.hh:92:26: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/memory.hh:112:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/memory.hh:132:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d1 [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/constexpr_utils.hh:16:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/constexpr_utils.hh:19:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/constexpr_utils.hh:23:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/constexpr_utils.hh:37:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Indices [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/constexpr_utils.hh:67:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capacity [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ranges.hh:296:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ranges.hh:333:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ranges.hh:343:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable include_separator [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ranges.hh:366:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ranges.hh:389:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ranges.hh:398:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ranges.hh:407:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ranges.hh:643:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Indexes [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/unicode.hh:122:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word_type [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string.hh:118:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 1_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string.hh:182:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capacity [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string.hh:352:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable equal [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/completion.hh:74:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string_utils.hh:62:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/hash_map.hh:187:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string.hh:68:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/units.hh:23:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/hash_map.hh:84:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/hash_map.hh:108:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/ref_ptr.hh:12:5: warning:inconclusive: Member variable 'RefCountable::refcount' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] kakoune-2024.05.18/src/ref_ptr.hh:16:19: warning: Member variable 'RefCountable::refcount' is not assigned a value in 'RefCountable::operator='. [operatorEqVarError] kakoune-2024.05.18/src/ref_ptr.hh:17:19: warning: Member variable 'RefCountable::refcount' is not assigned a value in 'RefCountable::operator='. [operatorEqVarError] kakoune-2024.05.18/src/string.hh:235:5: warning: Member variable 'StringView::m_data' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/units.hh:17:5: warning: Member variable 'StronglyTypedNumber < LineCount , int >::m_value' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/units.hh:17:5: warning: Member variable 'StronglyTypedNumber < ByteCount , int >::m_value' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/units.hh:17:5: warning: Member variable 'StronglyTypedNumber < CharCount , int >::m_value' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/units.hh:17:5: warning: Member variable 'StronglyTypedNumber < ColumnCount , int >::m_value' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/constexpr_utils.hh:16:22: performance:inconclusive: Technically the member function 'Kakoune::Array::size' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/constexpr_utils.hh:78:24: style:inconclusive: Technically the member function 'Kakoune::ConstexprVector::begin' can be const. [functionConst] kakoune-2024.05.18/src/constexpr_utils.hh:79:24: style:inconclusive: Technically the member function 'Kakoune::ConstexprVector::end' can be const. [functionConst] kakoune-2024.05.18/src/string_utils.hh:94:14: performance:inconclusive: Technically the member function 'Kakoune::WrapView::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < int >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < StringView >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < State >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < Token >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < CommandInfo >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/units.hh:106:14: style:inconclusive: Technically the member function 'StronglyTypedNumber < LineCount , int >::operatorlong' can be const. [functionConst] kakoune-2024.05.18/src/units.hh:106:14: style:inconclusive: Technically the member function 'StronglyTypedNumber < ByteCount , int >::operatorlong' can be const. [functionConst] kakoune-2024.05.18/src/units.hh:106:14: style:inconclusive: Technically the member function 'StronglyTypedNumber < CharCount , int >::operatorlong' can be const. [functionConst] kakoune-2024.05.18/src/units.hh:106:14: style:inconclusive: Technically the member function 'StronglyTypedNumber < ColumnCount , int >::operatorlong' can be const. [functionConst] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < String , MemoryDomain :: Completion >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < String , MemoryDomain :: Completion >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < unsigned long , MemoryDomain :: Commands >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < unsigned long , MemoryDomain :: Commands >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/units.hh:117:15: style: Struct 'LineCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/units.hh:131:15: style: Struct 'ByteCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/units.hh:149:15: style: Struct 'CharCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/units.hh:163:15: style: Struct 'ColumnCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/string.hh:108:5: style: Class 'String' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/string.hh:238:15: style: Class 'StringView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/string.hh:240:5: style: Class 'StringView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/string.hh:241:5: style: Class 'StringView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/coord.hh:66:15: style: Struct 'BufferCoord' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/coord.hh:73:15: style: Struct 'DisplayCoord' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/coord.hh:82:15: style: Struct 'BufferCoordAndTarget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/coord.hh:86:15: style: Struct 'BufferCoordAndTarget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/utils.hh:68:5: style: Class 'OnScopeEnd' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/utils.hh:103:5: style: Struct 'ScopedSetBool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/utils.hh:184:5: style: Class 'FunctionRef' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/shell_manager.hh:51:5: style: Class 'ShellManager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/exception.hh:17:5: style: Struct 'runtime_error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/parameters_parser.hh:27:5: style: Struct 'unknown_option' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/parameters_parser.hh:33:5: style: Struct 'missing_option_value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/command_manager.hh:75:5: style: Class 'CommandParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/unique_descriptor.hh:10:5: style: Struct 'UniqueDescriptor < closepid >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/unique_descriptor.hh:10:5: style: Struct 'UniqueDescriptor < :: close >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < std :: function < Completions ( const Context & , CompletionFlags , StringView , ByteCount ) > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < std :: function < Completions ( const Context & , CompletionFlags , StringView , ByteCount ) > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < State >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < State >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < Token >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < Token >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < CommandInfo >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < CommandInfo >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:21:15: style: Class 'ArrayView < const StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:36:15: style: Class 'ArrayView < const StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:40:15: style: Class 'ArrayView < const StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:21:15: style: Class 'ArrayView < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:36:15: style: Class 'ArrayView < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:40:15: style: Class 'ArrayView < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Aliases , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: EnvVars , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Commands , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Undefined , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < String , MemoryDomain :: Completion >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < unsigned long , MemoryDomain :: Commands >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/flags.hh:29:5: style: C-style reference casting [cstyleCast] kakoune-2024.05.18/src/flags.hh:53:5: style: C-style reference casting [cstyleCast] kakoune-2024.05.18/src/flags.hh:72:5: style: C-style reference casting [cstyleCast] kakoune-2024.05.18/src/ranges.hh:250:46: performance:inconclusive: Function parameter 'diff' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/ranges.hh:251:46: performance:inconclusive: Function parameter 'diff' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/ranges.hh:253:44: performance:inconclusive: Function parameter 'diff' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/ranges.hh:254:44: performance:inconclusive: Function parameter 'diff' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/string_utils.hh:84:34: performance: Function parameter 'other' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/alias_registry.hh:28:58: style: Parameter 'i' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/hash_map.hh:226:19: style: Variable 'entry' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/hash_map.hh:48:20: style: Variable 'entry' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/safe_ptr.hh:88:53: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] kakoune-2024.05.18/src/safe_ptr.hh:89:53: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] kakoune-2024.05.18/src/ranges.hh:331:55: warning: Access of moved variable 'separator'. [accessMoved] kakoune-2024.05.18/src/ranges.hh:328:70: note: Calling std::move(separator) kakoune-2024.05.18/src/ranges.hh:331:55: note: Access of moved variable 'separator'. kakoune-2024.05.18/src/ranges.hh:333:62: warning: Access of moved variable 'escaper'. [accessMoved] kakoune-2024.05.18/src/ranges.hh:328:101: note: Calling std::move(escaper) kakoune-2024.05.18/src/ranges.hh:333:62: note: Access of moved variable 'escaper'. kakoune-2024.05.18/src/hash_map.hh:47:9: warning:inconclusive: Access of moved variable 'm_entries'. [accessMoved] kakoune-2024.05.18/src/hash_map.hh:46:37: note: Calling std::move(m_entries) kakoune-2024.05.18/src/hash_map.hh:47:9: note: Access of moved variable 'm_entries'. kakoune-2024.05.18/src/completion.hh:87:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/ranges.hh:466:0: debug: Wrong data detected by condition !var.valueType() [DacaWrongData] kakoune-2024.05.18/src/ranges.hh:207:0: debug: Wrong data detected by condition !var.valueType() [DacaWrongData] kakoune-2024.05.18/src/highlighter.hh:87:1: debug: Failed to parse 'using HighlighterFactory = std :: unique_ptr < Highlighter > ( * ) ( ConstArrayView < String > params , Highlighter * parent ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/shared_string.hh:62:23: debug: Failed to instantiate template "ConvertibleTo". The checking continues anyway. [templateInstantiation] kakoune-2024.05.18/src/file.hh:64:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2024.05.18/src/highlighter.hh:87:1: debug: Failed to parse 'using HighlighterFactory = std :: unique_ptr < Highlighter > ( * ) ( ArrayView < const String > params , Highlighter * parent ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/hook_manager.hh:142:105: debug: Scope::checkVariable found variable 'm_hooks' with varid 0. [varid0] kakoune-2024.05.18/src/shared_string.hh:62:59: debug: Function::addArguments found argument 'strs' with varid 0. [varid0] kakoune-2024.05.18/src/file.hh:121:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/option.hh:56:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/option_manager.hh:132:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/option_manager.hh:201:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/value.hh:64:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/utf8_iterator.hh:21:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/display_buffer.hh:57:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/display_buffer.hh:71:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/option_manager.hh:110:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/option_manager.hh:210:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable validator [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shared_string.hh:64:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strs [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/selection.hh:42:66: error: Reference to temporary returned. [returnTempReference] kakoune-2024.05.18/src/selection.hh:43:66: error: Reference to temporary returned. [returnTempReference] kakoune-2024.05.18/src/selection.hh:45:54: error: Reference to temporary returned. [returnTempReference] kakoune-2024.05.18/src/selection.hh:46:54: error: Reference to temporary returned. [returnTempReference] kakoune-2024.05.18/src/file.hh:123:5: warning: Member variable 'BufferedWriter::m_buffer' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/keymap_manager.hh:32:5: warning:inconclusive: Member variable 'KeymapManager::m_user_modes' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] kakoune-2024.05.18/src/color.hh:59:20: style:inconclusive: Technically the member function 'Kakoune::Color::validate_alpha' can be const. [functionConst] kakoune-2024.05.18/src/keys.hh:93:27: style:inconclusive: Technically the member function 'Kakoune::Key::mouse_button' can be const. [functionConst] kakoune-2024.05.18/src/keymap_manager.hh:44:10: style:inconclusive: Technically the member function 'Kakoune::KeymapManager::get_mapping_keys' can be const. [functionConst] kakoune-2024.05.18/src/keymap_manager.hh:48:19: style:inconclusive: Technically the member function 'Kakoune::KeymapManager::get_mapping_docstring' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < char32_t >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < BufferCoord >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < DisplayAtom , MemoryDomain :: Display >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < DisplayAtom , MemoryDomain :: Display >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: unique_ptr < HookData > , MemoryDomain :: Hooks >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: pair < Hook , StringView > , MemoryDomain :: Hooks >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: pair < Hook , StringView > , MemoryDomain :: Hooks >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Key , MemoryDomain :: Mapping >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Key , MemoryDomain :: Mapping >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < OptionManagerWatcher * , MemoryDomain :: Options >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < OptionManagerWatcher * , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: unique_ptr < const OptionDesc > , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < RefPtr < StringData , PtrPolicy > , MemoryDomain :: BufferContent >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < RefPtr < StringData , PtrPolicy > , MemoryDomain :: BufferContent >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Modification , MemoryDomain :: BufferMeta >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Modification , MemoryDomain :: BufferMeta >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Change , MemoryDomain :: BufferMeta >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Change , MemoryDomain :: BufferMeta >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < String , MemoryDomain :: Selections >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < String , MemoryDomain :: Selections >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/option_manager.hh:148:14: warning: The class 'TypedOption' defines member function with name 'get' also defined in its parent class 'Option'. [duplInheritedMember] kakoune-2024.05.18/src/option_manager.hh:213:39: note: Parent function 'Option::get' kakoune-2024.05.18/src/option_manager.hh:148:14: note: Derived function 'TypedOption::get' kakoune-2024.05.18/src/option_manager.hh:149:8: warning: The class 'TypedOption' defines member function with name 'get_mutable' also defined in its parent class 'Option'. [duplInheritedMember] kakoune-2024.05.18/src/option_manager.hh:222:33: note: Parent function 'Option::get_mutable' kakoune-2024.05.18/src/option_manager.hh:149:8: note: Derived function 'TypedOption::get_mutable' kakoune-2024.05.18/src/file.hh:48:5: style: Struct 'MappedFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/file.hh:123:5: style: Struct 'BufferedWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/color.hh:51:15: style: Struct 'Color' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/display_buffer.hh:110:5: style: Class 'DisplayLine' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/highlighter_group.hh:21:5: style: Class 'HighlighterGroup' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/keys.hh:82:15: style: Struct 'Key' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/option_manager.hh:244:5: style: Class 'OptionsRegistry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/shared_string.hh:26:5: style: Struct 'StringData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/value.hh:21:5: style: Struct 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/value.hh:66:9: style: Struct 'Model' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/buffer.hh:248:9: style: Struct 'HistoryNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/selection.hh:21:5: style: Struct 'BasicSelection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/selection.hh:56:5: style: Struct 'Selection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/assert.cc:16:5: style: Struct 'assert_failed' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < BufferCoord >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < BufferCoord >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:21:15: style: Class 'ArrayView < Range < BufferCoord > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:36:15: style: Class 'ArrayView < Range < BufferCoord > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:40:15: style: Class 'ArrayView < Range < BufferCoord > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Faces , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Highlight , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Mapping , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Options , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: SharedString , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Values , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < DisplayAtom , MemoryDomain :: Display >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: unique_ptr < HookData > , MemoryDomain :: Hooks >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: pair < Hook , StringView > , MemoryDomain :: Hooks >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Key , MemoryDomain :: Mapping >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < OptionManagerWatcher * , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: unique_ptr < const OptionDesc > , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < RefPtr < StringData , PtrPolicy > , MemoryDomain :: BufferContent >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Modification , MemoryDomain :: BufferMeta >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Change , MemoryDomain :: BufferMeta >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < String , MemoryDomain :: Selections >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/assert.cc:24:36: style:inconclusive: Function 'notify_fatal_error' argument 1 names different: declaration 'message' definition 'msg'. [funcArgNamesDifferent] kakoune-2024.05.18/src/assert.hh:10:36: note: Function 'notify_fatal_error' argument 1 names different: declaration 'message' definition 'msg'. kakoune-2024.05.18/src/assert.cc:24:36: note: Function 'notify_fatal_error' argument 1 names different: declaration 'message' definition 'msg'. kakoune-2024.05.18/src/shared_string.hh:67:15: style: Local variable 'data' shadows outer function [shadowFunction] kakoune-2024.05.18/src/shared_string.hh:21:17: note: Shadowed declaration kakoune-2024.05.18/src/shared_string.hh:67:15: note: Shadow variable kakoune-2024.05.18/src/selection.hh:109:22: style: Local variable 'main_index' shadows outer function [shadowFunction] kakoune-2024.05.18/src/selection.hh:97:12: note: Shadowed declaration kakoune-2024.05.18/src/selection.hh:109:22: note: Shadow variable kakoune-2024.05.18/src/display_buffer.hh:111:34: performance: Function parameter 'face' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/face_registry.hh:40:58: style: Parameter 'i' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/option_manager.hh:104:58: style: Parameter 'i' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/memory.hh:103:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/utils.hh:16:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/memory.hh:116:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/memory.hh:123:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/backtrace.cc:21:12: warning: Member variable 'Backtrace::stackframes' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/backtrace.cc:30:19: performance:inconclusive: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/backtrace.hh:16:12: note: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/backtrace.cc:30:19: note: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Kakoune::Allocator::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Kakoune::Allocator::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/event_manager.hh:112:1: debug: Failed to parse 'using SignalHandler = void ( * ) ( int ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/diff.hh:38:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable forward [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/option_types.hh:39:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/option_types.hh:78:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_char [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/option_types.hh:241:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/option_types.hh:314:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/buffer.cc:87:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/buffer.cc:154:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/buffer.cc:294:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable undo_group [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/buffer.cc:399:14: performance:inconclusive: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/buffer.hh:213:10: note: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/buffer.cc:399:14: note: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < unsigned long >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < HistoryNode >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < NormalCmd >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < NormalParams >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < DisplayCoord >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: unique_ptr < Buffer > , MemoryDomain :: BufferMeta >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < SelectionList , MemoryDomain :: Selections >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < SelectionList , MemoryDomain :: Selections >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < FDWatcher * , MemoryDomain :: Events >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < FDWatcher * , MemoryDomain :: Events >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Timer * , MemoryDomain :: Events >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Timer * , MemoryDomain :: Events >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < RefPtr < InputMode , RefCountablePolicy > , MemoryDomain :: Client >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < RefPtr < InputMode , RefCountablePolicy > , MemoryDomain :: Client >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Key , MemoryDomain :: Client >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Key , MemoryDomain :: Client >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < BasicSelection , MemoryDomain :: Display >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < BasicSelection , MemoryDomain :: Display >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/context.hh:167:9: style: Class 'SelectionHistory' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/context.hh:218:5: style: Struct 'ScopedEdition' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/context.hh:233:5: style: Struct 'ScopedSelectionEdition' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/input_handler.hh:66:5: style: Class 'InputHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/option_types.hh:163:36: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/option_types.hh:181:36: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/option_types.hh:234:9: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/option_types.hh:272:42: style: Struct 'WorstMatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/option_types.hh:295:36: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/unit_tests.hh:9:5: style: Struct 'UnitTest' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/window.hh:21:5: style: Class 'Window' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < unsigned long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < unsigned long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < FunctionRef < void ( ) > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < FunctionRef < void ( ) > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < HistoryNode >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < HistoryNode >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < NormalCmd >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < NormalCmd >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < NormalParams >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < NormalParams >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < DisplayCoord >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < DisplayCoord >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: unique_ptr < Buffer > , MemoryDomain :: BufferMeta >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < SelectionList , MemoryDomain :: Selections >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < FDWatcher * , MemoryDomain :: Events >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Timer * , MemoryDomain :: Events >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < RefPtr < InputMode , RefCountablePolicy > , MemoryDomain :: Client >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Key , MemoryDomain :: Client >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < BasicSelection , MemoryDomain :: Display >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/context.hh:35:35: performance: Function 'get_as_list()' should return member 'm_jumps' by const reference. [returnByReference] kakoune-2024.05.18/src/buffer.cc:196:89: style:inconclusive: Function 'reload' argument 4 names different: declaration 'status' definition 'fs_status'. [funcArgNamesDifferent] kakoune-2024.05.18/src/buffer.hh:211:85: note: Function 'reload' argument 4 names different: declaration 'status' definition 'fs_status'. kakoune-2024.05.18/src/buffer.cc:196:89: note: Function 'reload' argument 4 names different: declaration 'status' definition 'fs_status'. kakoune-2024.05.18/src/buffer.cc:169:16: style: Local variable 'max_column' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/selection.hh:13:23: note: Shadowed declaration kakoune-2024.05.18/src/buffer.cc:169:16: note: Shadow variable kakoune-2024.05.18/src/buffer.cc:374:15: style: Local variable 'id' shadows outer argument [shadowArgument] kakoune-2024.05.18/src/buffer.cc:338:32: note: Shadowed declaration kakoune-2024.05.18/src/buffer.cc:374:15: note: Shadow variable kakoune-2024.05.18/src/buffer.cc:452:16: style: Local variable 'end' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer.hh:176:20: note: Shadowed declaration kakoune-2024.05.18/src/buffer.cc:452:16: note: Shadow variable kakoune-2024.05.18/src/buffer.cc:481:16: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/buffer.cc:481:16: note: Shadow variable kakoune-2024.05.18/src/buffer.cc:492:14: style: Local variable 'end' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer.hh:176:20: note: Shadowed declaration kakoune-2024.05.18/src/buffer.cc:492:14: note: Shadow variable kakoune-2024.05.18/src/buffer.cc:86:16: style: Variable 'option' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/buffer.cc:108:13: style: Variable 'other' can be declared as pointer to const [constVariablePointer] kakoune-2024.05.18/src/buffer.cc:295:5: warning:inconclusive: Access of moved variable 'm_current_undo_group'. [accessMoved] kakoune-2024.05.18/src/buffer.cc:294:35: note: Calling std::move(m_current_undo_group) kakoune-2024.05.18/src/buffer.cc:295:5: note: Access of moved variable 'm_current_undo_group'. kakoune-2024.05.18/src/regex_impl.hh:214:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/regex_impl.hh:217:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/regex_impl.hh:221:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/regex.hh:38:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/regex.hh:174:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/regex_impl.hh:242:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Iterator [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:260:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:319:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable copy [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:395:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:487:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:542:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:567:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EndOfLookaround [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex.hh:215:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:700:17: style:inconclusive: Technically the member function 'Kakoune::ThreadedRegexVM::DualThreadStack::decrement' can be const. [functionConst] kakoune-2024.05.18/src/regex_impl.hh:707:17: style:inconclusive: Technically the member function 'Kakoune::ThreadedRegexVM::DualThreadStack::post_increment' can be const. [functionConst] kakoune-2024.05.18/src/regex.hh:112:10: style:inconclusive: Technically the member function 'Kakoune::NoopIdle::operator()' can be const. [functionConst] kakoune-2024.05.18/src/regex.hh:209:14: performance:inconclusive: Technically the member function 'Kakoune::RegexIterator::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: unique_ptr < Client > , MemoryDomain :: Client >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < WindowAndSelections , MemoryDomain :: Client >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < WindowAndSelections , MemoryDomain :: Client >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: unique_ptr < Window > , MemoryDomain :: Client >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Range , MemoryDomain :: Regex >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Range , MemoryDomain :: Regex >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Instruction , MemoryDomain :: Regex >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Instruction , MemoryDomain :: Regex >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < CharacterClass , MemoryDomain :: Regex >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < CharacterClass , MemoryDomain :: Regex >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Lookaround , MemoryDomain :: Regex >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Lookaround , MemoryDomain :: Regex >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < NamedCapture , MemoryDomain :: Regex >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < NamedCapture , MemoryDomain :: Regex >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/regex_impl.hh:224:5: style: Class 'ThreadedRegexVM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/regex.hh:73:5: style: Struct 'MatchResults' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/regex.hh:60:9: style: Struct 'iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/regex.hh:182:9: style: Struct 'It' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: unique_ptr < Client > , MemoryDomain :: Client >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < WindowAndSelections , MemoryDomain :: Client >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: unique_ptr < Window > , MemoryDomain :: Client >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Range , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Instruction , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < CharacterClass , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Lookaround , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < NamedCapture , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/regex.hh:219:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] kakoune-2024.05.18/src/regex_impl.hh:494:32: style: Condition '++current_step==0' is always false [knownConditionTrueFalse] kakoune-2024.05.18/src/regex_impl.hh:57:20: style: Variable 'range' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/regex_impl.hh:687:21: style: Variable 'old_data' can be declared as pointer to const [constVariablePointer] kakoune-2024.05.18/src/buffer_manager.cc:143:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/changes.hh:51:55: debug: Function::addArguments found argument 'pos' with varid 0. [varid0] kakoune-2024.05.18/src/changes.hh:67:55: debug: Function::addArguments found argument 'pos' with varid 0. [varid0] kakoune-2024.05.18/src/changes.hh:50:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/changes.hh:66:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/buffer_utils.cc:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/buffer_utils.cc:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/buffer_utils.cc:163:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable params [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/buffer_utils.cc:215:20: style: The scope of the variable 'loop' can be reduced. [variableScope] kakoune-2024.05.18/src/buffer_utils.cc:329:20: style: Variable 'modification' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/buffer_utils.cc:338:16: style: Variable 'modification' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/buffer_utils.cc:330:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/buffer_utils.cc:339:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/changes.cc:23:16: style: Variable 'change' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/client.cc:52:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < char , MemoryDomain :: Remote >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < char , MemoryDomain :: Remote >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: unique_ptr < Accepter > , MemoryDomain :: Remote >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < DisplayLine , MemoryDomain :: Display >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < DisplayLine , MemoryDomain :: Display >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < char , MemoryDomain :: Remote >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: unique_ptr < Accepter > , MemoryDomain :: Remote >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < DisplayLine , MemoryDomain :: Display >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/client.cc:190:74: style:inconclusive: Function 'change_buffer' argument 2 names different: declaration 'set_selection' definition 'set_selections'. [funcArgNamesDifferent] kakoune-2024.05.18/src/client.hh:68:70: note: Function 'change_buffer' argument 2 names different: declaration 'set_selection' definition 'set_selections'. kakoune-2024.05.18/src/client.cc:190:74: note: Function 'change_buffer' argument 2 names different: declaration 'set_selection' definition 'set_selections'. kakoune-2024.05.18/src/display_buffer.hh:111:34: performance: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. [passedByValueCallback] kakoune-2024.05.18/src/client.cc:478:61: note: Function pointer used here. kakoune-2024.05.18/src/display_buffer.hh:111:34: note: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. kakoune-2024.05.18/src/client.cc:178:42: performance: Function parameter 's' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/client_manager.cc:20:32: style:inconclusive: Function 'clear' argument 1 names different: declaration 'exit' definition 'disconnect_clients'. [funcArgNamesDifferent] kakoune-2024.05.18/src/client_manager.hh:30:21: note: Function 'clear' argument 1 names different: declaration 'exit' definition 'disconnect_clients'. kakoune-2024.05.18/src/client_manager.cc:20:32: note: Function 'clear' argument 1 names different: declaration 'exit' definition 'disconnect_clients'. kakoune-2024.05.18/src/client_manager.cc:234:62: style:inconclusive: Function 'complete_client_name' argument 1 names different: declaration 'name' definition 'prefix'. [funcArgNamesDifferent] kakoune-2024.05.18/src/client_manager.hh:52:51: note: Function 'complete_client_name' argument 1 names different: declaration 'name' definition 'prefix'. kakoune-2024.05.18/src/client_manager.cc:234:62: note: Function 'complete_client_name' argument 1 names different: declaration 'name' definition 'prefix'. kakoune-2024.05.18/src/color.cc:65:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] kakoune-2024.05.18/src/color.cc:77:16: error: Uninitialized variable: buffer [uninitvar] kakoune-2024.05.18/src/profile.hh:11:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/register_manager.hh:54:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/command_manager.cc:291:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parse_quoted_balanced < '{' , '}' > [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/command_manager.cc:559:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/command_manager.cc:596:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/command_manager.cc:641:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/command_manager.cc:655:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/command_manager.cc:751:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/command_manager.cc:871:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_commands [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < String , MemoryDomain :: Registers >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < String , MemoryDomain :: Registers >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/register_manager.hh:40:5: style: Class 'StaticRegister' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/command_manager.cc:103:5: style: Struct 'parse_error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Registers , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < String , MemoryDomain :: Registers >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/command_manager.cc:791:11: style: The scope of the variable 'commands' can be reduced. [variableScope] kakoune-2024.05.18/src/command_manager.cc:871:11: style: The scope of the variable 'commands' can be reduced. [variableScope] kakoune-2024.05.18/src/command_manager.cc:345:12: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/command_manager.cc:345:12: note: Shadow variable kakoune-2024.05.18/src/command_manager.cc:818:26: style: Local variable 'parser' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/command_manager.cc:752:19: note: Shadowed declaration kakoune-2024.05.18/src/command_manager.cc:818:26: note: Shadow variable kakoune-2024.05.18/src/command_manager.cc:29:46: performance: Function parameter 'command_name' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/command_manager.cc:491:63: performance: Function parameter 's' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/command_manager.cc:553:29: style: Variable 'error' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/command_manager.cc:625:16: style: Variable 'alias' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/command_manager.cc:626:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/insert_completer.hh:110:5: debug: Failed to parse 'using CompleteFunc = InsertCompletion ( const SelectionList & sels , const OptionManager & options , const FaceRegistry & faces ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2024.05.18/src/commands.cc:84:19: debug: Failed to instantiate template "PerArgumentCommandCompleter". The checking continues anyway. [templateInstantiation] kakoune-2024.05.18/src/commands.cc:859:17: debug: Scope::checkVariable found variable 'buffer' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:980:15: debug: Scope::checkVariable found variable 'buffer' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:986:20: debug: Scope::checkVariable found variable 'is_file' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1103:34: debug: Scope::checkVariable found variable 'registry' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1104:18: debug: Scope::checkVariable found variable 'it' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1107:22: debug: Scope::checkVariable found variable 'docstring' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1108:22: debug: Scope::checkVariable found variable 'desc_params' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1114:26: debug: Scope::checkVariable found variable 'desc_indent' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1125:30: debug: Scope::checkVariable found variable 'registry' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1127:14: debug: Scope::checkVariable found variable 'begin' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1128:20: debug: Scope::checkVariable found variable 'path' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1129:20: debug: Scope::checkVariable found variable 'type' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1130:24: debug: Scope::checkVariable found variable 'highlighter_params' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1134:14: debug: Scope::checkVariable found variable 'it' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1138:14: debug: Scope::checkVariable found variable 'slash' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1142:14: debug: Scope::checkVariable found variable 'auto_name' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1147:22: debug: Scope::checkVariable found variable 'parent' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1165:20: debug: Scope::checkVariable found variable 'path' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1169:14: debug: Scope::checkVariable found variable 'rev_path' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1170:14: debug: Scope::checkVariable found variable 'sep_it' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1205:14: debug: Scope::checkVariable found variable 'descs' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1206:14: debug: Scope::checkVariable found variable 'it' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1211:23: debug: Scope::checkVariable found variable 'command' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1212:14: debug: Scope::checkVariable found variable 'group' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1218:20: debug: Scope::checkVariable found variable 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1477:24: debug: Scope::checkVariable found variable 'aliases' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1493:24: debug: Scope::checkVariable found variable 'aliases' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1514:34: debug: Scope::checkVariable found variable 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1515:26: debug: Scope::checkVariable found variable 'completer' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1538:16: debug: Scope::checkVariable found variable 'message' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1624:20: debug: Scope::checkVariable found variable 'total' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1626:31: debug: Scope::checkVariable found variable 'column_size' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1636:23: debug: Scope::checkVariable found variable 'stats' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1668:19: debug: Scope::checkVariable found variable 'keymaps' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1669:18: debug: Scope::checkVariable found variable 'user_modes' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1673:28: debug: Scope::checkVariable found variable 'm' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1692:22: debug: Scope::checkVariable found variable 'content' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1721:16: debug: Scope::checkVariable found variable 'path' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1783:28: debug: Scope::checkVariable found variable 'options' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1792:14: debug: Scope::checkVariable found variable 'add' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1793:14: debug: Scope::checkVariable found variable 'remove' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1797:17: debug: Scope::checkVariable found variable 'opt' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1832:15: debug: Scope::checkVariable found variable 'options' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1852:17: debug: Scope::checkVariable found variable 'opt' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1888:17: debug: Scope::checkVariable found variable 'opt' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1890:21: debug: Scope::checkVariable found variable 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1894:14: debug: Scope::checkVariable found variable 'docstring' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1968:24: debug: Scope::checkVariable found variable 'keymaps' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1969:20: debug: Scope::checkVariable found variable 'keymap_mode' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1975:17: debug: Scope::checkVariable found variable 'mapping' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1993:24: debug: Scope::checkVariable found variable 'keymaps' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1994:20: debug: Scope::checkVariable found variable 'keymap_mode' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2221:24: debug: Scope::checkVariable found variable 'no_hooks' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2270:14: debug: Scope::checkVariable found variable 'initstr' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2272:34: debug: Scope::checkVariable found variable 'completions_flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2274:32: debug: Scope::checkVariable found variable 'completer' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2276:20: debug: Scope::checkVariable found variable 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2293:22: debug: Scope::checkVariable found variable 'remove_text' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2299:28: debug: Scope::checkVariable found variable 'cmd' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2379:27: debug: Scope::checkVariable found variable 'pos' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2389:14: debug: Scope::checkVariable found variable 'title' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2381:22: debug: Scope::checkVariable found variable 'dot' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2421:25: debug: Scope::checkVariable found variable 'command_manager' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2422:32: debug: Scope::checkVariable found variable 'shell_context_with_error' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2570:22: debug: Scope::checkVariable found variable 'timestamp' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2571:20: debug: Scope::checkVariable found variable 'column_type' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2576:21: debug: Scope::checkVariable found variable 'tabstop' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2618:16: debug: Scope::checkVariable found variable 'old_name' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2703:14: debug: Scope::checkVariable found variable 'lock' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2723:23: debug: Scope::checkVariable found variable 'module_name' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2724:15: debug: Scope::checkVariable found variable 'cm' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:677:49: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:837:49: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:837:78: debug: Function::addArguments found argument 'shell_context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:857:49: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:975:49: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1078:48: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1078:73: debug: Function::addArguments found argument 'params' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1078:99: debug: Function::addArguments found argument 'cursor_pos' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1099:50: debug: Function::addArguments found argument 'params' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1232:48: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1233:41: debug: Function::addArguments found argument 'token_to_complete' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1234:18: debug: Function::addArguments found argument 'pos_in_token' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1536:78: debug: Function::addArguments found argument 'shell_context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1590:52: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1591:23: debug: Function::addArguments found argument 'prefix' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1591:41: debug: Function::addArguments found argument 'cursor_pos' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1770:48: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1771:41: debug: Function::addArguments found argument 'token_to_complete' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1772:18: debug: Function::addArguments found argument 'pos_in_token' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1881:52: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1882:23: debug: Function::addArguments found argument 'prefix' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:1882:41: debug: Function::addArguments found argument 'cursor_pos' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2218:78: debug: Function::addArguments found argument 'shell_context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2267:78: debug: Function::addArguments found argument 'shell_context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2331:78: debug: Function::addArguments found argument 'shell_context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2410:78: debug: Function::addArguments found argument 'shell_context' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2540:53: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2541:24: debug: Function::addArguments found argument 'prefix' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2541:42: debug: Function::addArguments found argument 'cursor_pos' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2590:53: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2591:24: debug: Function::addArguments found argument 'prefix' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2591:42: debug: Function::addArguments found argument 'cursor_pos' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2616:49: debug: Function::addArguments found argument 'ctx' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2689:48: debug: Function::addArguments found argument 'flags' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2690:41: debug: Function::addArguments found argument 'token_to_complete' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2691:18: debug: Function::addArguments found argument 'pos_in_token' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2743:57: debug: Function::addArguments found argument 'prefix' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2743:75: debug: Function::addArguments found argument 'cursor_pos' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:2286:42: debug: Function::addArguments found argument 'event' with varid 0. [varid0] kakoune-2024.05.18/src/commands.cc:84:12: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/commands.cc:91:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/commands.cc:390:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/ranges.hh:643:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Indexes [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:74:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:199:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable match [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:225:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:237:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:244:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:251:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:288:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:316:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable input_handler [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:363:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:398:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable completer [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:419:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 7_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:447:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable force_reload [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:615:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable force [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:711:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable force [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:880:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:931:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable force [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1006:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1034:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1055:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 7_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1181:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1279:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1292:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1397:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable matched [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1459:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1814:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:1936:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:2022:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:2044:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable save [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:2449:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/commands.cc:301:5: warning:inconclusive: Member variable 'ShellCandidatesCompleter::m_stdout_buffer' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] kakoune-2024.05.18/src/commands.cc:301:5: warning:inconclusive: Member variable 'ShellCandidatesCompleter::m_candidates' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] kakoune-2024.05.18/src/commands.cc:301:5: warning:inconclusive: Member variable 'ShellCandidatesCompleter::m_last_token' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] kakoune-2024.05.18/src/commands.cc:302:31: warning:inconclusive: Member variable 'ShellCandidatesCompleter::m_stdout_buffer' is not assigned a value in 'ShellCandidatesCompleter::operator='. [operatorEqVarError] kakoune-2024.05.18/src/commands.cc:302:31: warning:inconclusive: Member variable 'ShellCandidatesCompleter::m_candidates' is not assigned a value in 'ShellCandidatesCompleter::operator='. [operatorEqVarError] kakoune-2024.05.18/src/commands.cc:302:31: warning: Member variable 'ShellCandidatesCompleter::m_last_token' is not assigned a value in 'ShellCandidatesCompleter::operator='. [operatorEqVarError] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < String >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < Shell >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < FDWatcher >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < WriteMethod >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < InfoStyle >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < ShellContext >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/constexpr_utils.hh:16:22: performance:inconclusive: Technically the member function 'Array < HashItem < String , SwitchDesc > , 3 >::size' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: tuple < LineCount , String > , MemoryDomain :: Options >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: tuple < LineCount , String > , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: tuple < InclusiveBufferRange , String > , MemoryDomain :: Options >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: tuple < InclusiveBufferRange , String > , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Candidate , MemoryDomain :: Completion >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Candidate , MemoryDomain :: Completion >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < char , MemoryDomain :: Completion >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < char , MemoryDomain :: Completion >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: pair < String , UsedLetters > , MemoryDomain :: Completion >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: pair < String , UsedLetters > , MemoryDomain :: Completion >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < int , MemoryDomain :: Options >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < int , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < String , MemoryDomain :: Options >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < String , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/insert_completer.hh:76:5: style: Class 'InsertCompleter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/commands.cc:53:5: style: Struct 'LocalScope' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/commands.cc:264:5: style: Struct 'ShellScriptCompleter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/commands.cc:297:5: style: Struct 'ShellCandidatesCompleter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/commands.cc:392:5: style: Struct 'PromptCompleterAdapter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/regex.hh:73:5: style: Struct 'MatchResults < const char * >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < String >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < String >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < Shell >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < Shell >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < FDWatcher >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < FDWatcher >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < WriteMethod >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < WriteMethod >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < InfoStyle >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < InfoStyle >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < ShellContext >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < ShellContext >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: tuple < LineCount , String > , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: tuple < InclusiveBufferRange , String > , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Candidate , MemoryDomain :: Completion >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < char , MemoryDomain :: Completion >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: pair < String , UsedLetters > , MemoryDomain :: Completion >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < int , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < String , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/commands.cc:516:15: style: Local variable 'buffer' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/commands.cc:458:13: note: Shadowed declaration kakoune-2024.05.18/src/commands.cc:516:15: note: Shadow variable kakoune-2024.05.18/src/commands.cc:1382:16: style: Local variable 'menu' shadows outer function [shadowFunction] kakoune-2024.05.18/src/commands.cc:136:6: note: Shadowed declaration kakoune-2024.05.18/src/commands.cc:1382:16: note: Shadow variable kakoune-2024.05.18/src/commands.cc:370:49: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/commands.cc:370:60: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/commands.cc:1045:46: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/commands.cc:1055:15: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/commands.cc:1115:65: style: Parameter 's' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/commands.cc:2199:24: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/commands.cc:2451:41: style: Parameter 'entry' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/commands.cc:2647:49: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/commands.cc:2670:20: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/commands.cc:211:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/commands.cc:213:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/commands.cc:286:24: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/commands.cc:343:26: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/commands.cc:648:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/commands.cc:2057:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/commands.cc:2368:21: error: Uninitialized variable: style [legacyUninitvar] kakoune-2024.05.18/src/commands.cc:425:14: style: Variable 's' is assigned a value that is never used. [unreadVariable] kakoune-2024.05.18/src/context.cc:229:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < HistoryId , MemoryDomain :: Selections >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < HistoryId , MemoryDomain :: Selections >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < HistoryId , MemoryDomain :: Selections >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/context.cc:297:75: style:inconclusive: Function 'change_buffer' argument 2 names different: declaration 'set_selection' definition 'set_selections'. [funcArgNamesDifferent] kakoune-2024.05.18/src/context.hh:96:70: note: Function 'change_buffer' argument 2 names different: declaration 'set_selection' definition 'set_selections'. kakoune-2024.05.18/src/context.cc:297:75: note: Function 'change_buffer' argument 2 names different: declaration 'set_selection' definition 'set_selections'. kakoune-2024.05.18/src/context.cc:338:14: style: Local variable 'last_buffer' shadows outer function [shadowFunction] kakoune-2024.05.18/src/context.hh:146:13: note: Shadowed declaration kakoune-2024.05.18/src/context.cc:338:14: note: Shadow variable kakoune-2024.05.18/src/context.cc:347:16: style: Local variable 'jump_list' shadows outer function [shadowFunction] kakoune-2024.05.18/src/context.hh:134:15: note: Shadowed declaration kakoune-2024.05.18/src/context.cc:347:16: note: Shadow variable kakoune-2024.05.18/src/context.cc:154:38: style: Parameter 'buffer' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/context.cc:264:15: style: Variable 'node' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/context.cc:391:11: style: Variable 'buf' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/context.cc:394:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/display_buffer.cc:60:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/display_buffer.cc:69:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/display_buffer.cc:91:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/display_buffer.cc:245:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/display_buffer.cc:317:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable begin [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/display_buffer.cc:414:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < DisplayAtom >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < DisplayAtom >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < DisplayAtom >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/display_buffer.cc:128:67: style:inconclusive: Function 'split' argument 2 names different: declaration 'pos' definition 'count'. [funcArgNamesDifferent] kakoune-2024.05.18/src/display_buffer.hh:131:45: note: Function 'split' argument 2 names different: declaration 'pos' definition 'count'. kakoune-2024.05.18/src/display_buffer.cc:128:67: note: Function 'split' argument 2 names different: declaration 'pos' definition 'count'. kakoune-2024.05.18/src/display_buffer.cc:72:14: style: Local variable 'end' shadows outer function [shadowFunction] kakoune-2024.05.18/src/display_buffer.hh:49:24: note: Shadowed declaration kakoune-2024.05.18/src/display_buffer.cc:72:14: note: Shadow variable kakoune-2024.05.18/src/display_buffer.cc:94:14: style: Local variable 'end' shadows outer function [shadowFunction] kakoune-2024.05.18/src/display_buffer.hh:49:24: note: Shadowed declaration kakoune-2024.05.18/src/display_buffer.cc:94:14: note: Shadow variable kakoune-2024.05.18/src/display_buffer.cc:336:12: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/display_buffer.cc:336:12: note: Shadow variable kakoune-2024.05.18/src/display_buffer.cc:238:16: style: Variable 'atom' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/display_buffer.cc:362:32: style: Variable 'atom' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/display_buffer.cc:239:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/display_buffer.cc:363:29: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/display_buffer.cc:220:22: warning: Iterators to containers from different expressions 'next' and 'atom' are used together. [mismatchingContainerExpression] kakoune-2024.05.18/src/meta.hh:10:22: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/optional.hh:12:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Kakoune::Optional::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: conditional_t < has_value , HashItem < String , String > , String > , MemoryDomain :: EnvVars >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: conditional_t < has_value , HashItem < String , String > , String > , MemoryDomain :: EnvVars >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:21:15: style: Class 'ArrayView < const char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:36:15: style: Class 'ArrayView < const char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:40:15: style: Class 'ArrayView < const char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: conditional_t < has_value , HashItem < String , String > , String > , MemoryDomain :: EnvVars >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:13:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/event_manager.cc:177:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/array_view.hh:21:15: style: Class 'ArrayView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:36:15: style: Class 'ArrayView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:40:15: style: Class 'ArrayView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/event_manager.cc:76:65: style: Parameter 'sigmask' can be declared as pointer to const [constParameterPointer] kakoune-2024.05.18/src/event_manager.cc:108:57: style: Parameter 'lhs' can be declared as pointer to const [constParameterPointer] kakoune-2024.05.18/src/event_manager.cc:108:69: style: Parameter 'rhs' can be declared as pointer to const [constParameterPointer] kakoune-2024.05.18/src/array_view.hh:27:38: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] kakoune-2024.05.18/src/face_registry.cc:97:30: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: conditional_t < has_value , HashItem < String , FaceSpec > , String > , MemoryDomain :: Faces >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: conditional_t < has_value , HashItem < String , FaceSpec > , String > , MemoryDomain :: Faces >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: conditional_t < has_value , HashItem < String , FaceSpec > , String > , MemoryDomain :: Faces >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/face_registry.cc:114:47: style:inconclusive: Function 'operator[]' argument 1 names different: declaration 'facespec' definition 'spec'. [funcArgNamesDifferent] kakoune-2024.05.18/src/face_registry.hh:30:37: note: Function 'operator[]' argument 1 names different: declaration 'facespec' definition 'spec'. kakoune-2024.05.18/src/face_registry.cc:114:47: note: Function 'operator[]' argument 1 names different: declaration 'facespec' definition 'spec'. kakoune-2024.05.18/src/file.cc:683:0: error: #error "finding executable path is not implemented on this platform" [preprocessorErrorDirective] kakoune-2024.05.18/src/file.cc:683:3: error: #error "finding executable path is not implemented on this platform" [preprocessorErrorDirective] kakoune-2024.05.18/src/highlighter.cc:8:46: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/highlighter.cc:20:58: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/highlighter_group.cc:71:22: style: Variable 'hl' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/highlighters.cc:147:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable spec [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:275:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:450:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable option_name [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:481:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line_expr [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:533:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable col_expr [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:626:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:721:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:852:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:905:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:949:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:1149:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:1220:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable match_prev [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:1323:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:1448:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:1874:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:2059:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/highlighters.cc:2530:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable create [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:260:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Search [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:395:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Search [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:487:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Search [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:615:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotBeginOfLine [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:622:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotEndOfLine [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:629:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotBeginOfWord [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:320:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable save_count [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/line_modification.hh:40:10: style:inconclusive: Either there is a missing 'override', or the member function 'Kakoune::LineRangeSet::reset' can be const. [functionConst] kakoune-2024.05.18/src/highlighters.cc:2228:36: performance:inconclusive: Technically the member function 'Kakoune::RegionsHighlighter::find_matching_end' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/highlighters.cc:2359:10: performance:inconclusive: Technically the member function 'Kakoune::RegionsHighlighter::update_changed_lines' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/regex_impl.hh:700:17: style:inconclusive: Technically the member function 'ThreadedRegexVM < const char * , RegexMode :: Forward | RegexMode :: Search >::DualThreadStack::decrement' can be const. [functionConst] kakoune-2024.05.18/src/regex_impl.hh:707:17: style:inconclusive: Technically the member function 'ThreadedRegexVM < const char * , RegexMode :: Forward | RegexMode :: Search >::DualThreadStack::post_increment' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < SplitPos >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Range < LineCount > , MemoryDomain :: Highlight >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Range < LineCount > , MemoryDomain :: Highlight >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: pair < unsigned long , FaceSpec > , MemoryDomain :: Highlight >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: pair < unsigned long , FaceSpec > , MemoryDomain :: Highlight >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Range < BufferCoord > , MemoryDomain :: Highlight >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Range < BufferCoord > , MemoryDomain :: Highlight >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < RegexMatch , MemoryDomain :: Regions >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < RegexMatch , MemoryDomain :: Regions >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Region , MemoryDomain :: Highlight >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Region , MemoryDomain :: Highlight >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < RangeAndMatches , MemoryDomain :: Highlight >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < RangeAndMatches , MemoryDomain :: Highlight >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/highlighters.cc:2138:9: style: Struct 'RegionHighlighter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/highlighters.cc:1554:5: style: Struct 'OptionBasedHighlighter < PrefixedList < unsigned long , std :: tuple < InclusiveBufferRange , String > > , RangesHighlighter , HighlightPass :: Colorize >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/highlighters.cc:1554:5: style: Struct 'OptionBasedHighlighter < PrefixedList < unsigned long , std :: tuple < InclusiveBufferRange , String > > , ReplaceRangesHighlighter , HighlightPass :: Move >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/regex_impl.hh:224:5: style: Class 'ThreadedRegexVM < const char * , RegexMode :: Forward | RegexMode :: Search >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < SplitPos >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < SplitPos >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < std :: pair < unsigned long , std :: vector < RegexMatch , Allocator < RegexMatch , MemoryDomain :: Regions > > :: const_iterator > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < std :: pair < unsigned long , std :: vector < RegexMatch , Allocator < RegexMatch , MemoryDomain :: Regions > > :: const_iterator > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Range < LineCount > , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: pair < unsigned long , FaceSpec > , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Range < BufferCoord > , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < RegexMatch , MemoryDomain :: Regions >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Region , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < RangeAndMatches , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/highlighters.cc:2258:25: style: The statement 'if (beg_pos!=end_it->end_coord()) beg_pos=end_it->end_coord()' is logically equivalent to 'beg_pos=end_it->end_coord()'. [duplicateConditionalAssign] kakoune-2024.05.18/src/highlighters.cc:2259:25: note: Assignment 'beg_pos=end_it->end_coord()' kakoune-2024.05.18/src/highlighters.cc:2258:25: note: Condition 'beg_pos!=end_it->end_coord()' is redundant kakoune-2024.05.18/src/highlighters.cc:190:14: style: Local variable 'overlaps' shadows outer function [shadowFunction] kakoune-2024.05.18/src/selection.hh:66:13: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:190:14: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:338:24: style: Local variable 'matches' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/highlighters.cc:311:15: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:338:24: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:628:31: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:628:31: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:659:26: style: Local variable 'it' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/highlighters.cc:623:19: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:659:26: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:728:31: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:728:31: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:778:20: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:778:20: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:840:22: style: Local variable 'split' shadows outer function [shadowFunction] kakoune-2024.05.18/src/ranges.hh:387:6: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:840:22: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:842:22: style: Local variable 'split' shadows outer function [shadowFunction] kakoune-2024.05.18/src/ranges.hh:387:6: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:842:22: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:989:16: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:989:16: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:1143:14: style: Local variable 'format' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:155:8: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:1143:14: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:1469:22: style: Local variable 'it' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/highlighters.cc:1449:18: note: Shadowed declaration kakoune-2024.05.18/src/highlighters.cc:1469:22: note: Shadow variable kakoune-2024.05.18/src/highlighters.cc:147:55: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/highlighters.cc:482:35: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/highlighters.cc:534:35: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/highlighters.cc:1206:42: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/highlighters.cc:1310:42: performance: Function parameter 'context' should be passed by const reference. However it seems that 'expand_unprintable' is a callback function. [passedByValueCallback] kakoune-2024.05.18/src/highlighters.cc:2496:57: note: Function pointer used here. kakoune-2024.05.18/src/highlighters.cc:1310:42: note: Function parameter 'context' should be passed by const reference. However it seems that 'expand_unprintable' is a callback function. kakoune-2024.05.18/src/highlighters.cc:61:15: style: Variable 'range' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/highlighters.cc:290:24: style: Variable 'face' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/highlighters.cc:939:15: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/highlighters.cc:2055:26: style: Variable 'hl' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/highlighters.cc:2101:13: style: Instance of 'Regex' object is destroyed immediately. [unusedScopedObject] kakoune-2024.05.18/src/highlighters.cc:65:66: warning: Missing bounds check for extra iterator increment in loop. [StlMissingComparison] kakoune-2024.05.18/src/highlighters.cc:81:19: note: Missing bounds check for extra iterator increment in loop. kakoune-2024.05.18/src/highlighters.cc:65:66: note: Missing bounds check for extra iterator increment in loop. kakoune-2024.05.18/src/highlighters.cc:1855:20: style: struct member 'RegionMatches::begin_matches' is never used. [unusedStructMember] kakoune-2024.05.18/src/highlighters.cc:1856:20: style: struct member 'RegionMatches::end_matches' is never used. [unusedStructMember] kakoune-2024.05.18/src/highlighters.cc:1857:20: style: struct member 'RegionMatches::recurse_matches' is never used. [unusedStructMember] kakoune-2024.05.18/src/hook_manager.hh:66:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2024.05.18/src/hook_manager.cc:38:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/hook_manager.cc:79:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_hooks [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/hook_manager.cc:84:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_hooks [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/hook_manager.cc:98:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_hooks [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/hook_manager.cc:117:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_hooks [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/hook_manager.cc:57:14: warning:inconclusive: Member variable 'HookManager::m_running_hooks' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] kakoune-2024.05.18/src/hook_manager.cc:57:14: warning:inconclusive: Member variable 'HookManager::m_hooks_trash' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] kakoune-2024.05.18/src/hook_manager.cc:95:28: performance:inconclusive: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/hook_manager.hh:131:19: note: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/hook_manager.cc:95:28: note: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/hook_manager.cc:117:16: style: Local variable 'hook' shadows outer argument [shadowArgument] kakoune-2024.05.18/src/hook_manager.cc:110:33: note: Shadowed declaration kakoune-2024.05.18/src/hook_manager.cc:117:16: note: Shadow variable kakoune-2024.05.18/src/hook_manager.cc:66:15: style: Variable 'disabled_hooks' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/hook_manager.cc:98:16: style: Variable 'list' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/hook_manager.cc:101:20: style: Variable 'c' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/hook_manager.cc:104:20: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/input_handler.cc:518:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_char [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:623:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:966:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:976:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:1106:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:1254:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 1_char [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:1414:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:1451:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:1761:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:461:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_char [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/input_handler.cc:1587:20: style:inconclusive: Technically the member function 'Kakoune::InputHandler::paste' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.hh:76:10: note: Technically the member function 'Kakoune::InputHandler::paste' can be const. kakoune-2024.05.18/src/input_handler.cc:1587:20: note: Technically the member function 'Kakoune::InputHandler::paste' can be const. kakoune-2024.05.18/src/input_handler.cc:1601:20: style:inconclusive: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.hh:85:10: note: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. kakoune-2024.05.18/src/input_handler.cc:1601:20: note: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. kakoune-2024.05.18/src/input_handler.cc:1682:20: style:inconclusive: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.hh:96:10: note: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. kakoune-2024.05.18/src/input_handler.cc:1682:20: note: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < RefPtr < StringData , PtrPolicy > , MemoryDomain :: WordDB >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < RefPtr < StringData , PtrPolicy > , MemoryDomain :: WordDB >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/word_db.hh:23:5: style: Class 'WordDB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/input_handler.cc:219:5: style: Class 'Normal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/input_handler.cc:487:5: style: Class 'LineEditor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: WordDB , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < RefPtr < StringData , PtrPolicy > , MemoryDomain :: WordDB >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/input_handler.cc:1539:40: style:inconclusive: Function 'pop_mode' argument 1 names different: declaration 'current_mode' definition 'mode'. [funcArgNamesDifferent] kakoune-2024.05.18/src/input_handler.hh:132:30: note: Function 'pop_mode' argument 1 names different: declaration 'current_mode' definition 'mode'. kakoune-2024.05.18/src/input_handler.cc:1539:40: note: Function 'pop_mode' argument 1 names different: declaration 'current_mode' definition 'mode'. kakoune-2024.05.18/src/input_handler.cc:1607:65: style:inconclusive: Function 'on_next_key' argument 2 names different: declaration 'mode' definition 'keymap_mode'. [funcArgNamesDifferent] kakoune-2024.05.18/src/input_handler.hh:90:55: note: Function 'on_next_key' argument 2 names different: declaration 'mode' definition 'keymap_mode'. kakoune-2024.05.18/src/input_handler.cc:1607:65: note: Function 'on_next_key' argument 2 names different: declaration 'mode' definition 'keymap_mode'. kakoune-2024.05.18/src/input_handler.cc:819:24: style: Local variable 'reverse' shadows outer function [shadowFunction] kakoune-2024.05.18/src/ranges.hh:70:16: note: Shadowed declaration kakoune-2024.05.18/src/input_handler.cc:819:24: note: Shadow variable kakoune-2024.05.18/src/input_handler.cc:1281:19: style: Local variable 'buffer' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/input_handler.cc:1207:15: note: Shadowed declaration kakoune-2024.05.18/src/input_handler.cc:1281:19: note: Shadow variable kakoune-2024.05.18/src/input_handler.cc:1603:15: style: Local variable 'prompt' shadows outer function [shadowFunction] kakoune-2024.05.18/src/input_handler.hh:82:10: note: Shadowed declaration kakoune-2024.05.18/src/input_handler.cc:1603:15: note: Shadow variable kakoune-2024.05.18/src/display_buffer.hh:111:34: performance: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. [passedByValueCallback] kakoune-2024.05.18/src/input_handler.cc:622:20: note: Function pointer used here. kakoune-2024.05.18/src/display_buffer.hh:111:34: note: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. kakoune-2024.05.18/src/input_handler.cc:946:31: performance: Function parameter 'face' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/input_handler.cc:1593:32: performance: Function parameter 'prompt_face' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/input_handler.cc:1601:41: performance: Function parameter 'prompt_face' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/input_handler.cc:316:42: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/input_handler.cc:859:54: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/input_handler.cc:859:65: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/input_handler.cc:860:57: style: Parameter 'm' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/input_handler.cc:995:19: style: Variable 'completer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/input_handler.cc:1582:16: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/input_handler.cc:978:40: warning: Access of moved variable 'token'. [accessMoved] kakoune-2024.05.18/src/input_handler.cc:978:30: note: Calling std::move(token) kakoune-2024.05.18/src/input_handler.cc:978:40: note: Access of moved variable 'token'. kakoune-2024.05.18/src/input_handler.cc:1025:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/input_handler.cc:1249:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/option.hh:81:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2024.05.18/src/insert_completer.cc:47:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 7_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/insert_completer.cc:136:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable other_buffers [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/insert_completer.cc:211:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable require_slash [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/insert_completer.cc:273:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/insert_completer.cc:359:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/insert_completer.cc:433:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < InsertCompleterDesc , MemoryDomain :: Options >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < InsertCompleterDesc , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/regex.hh:73:5: style: Struct 'MatchResults < String :: const_iterator >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < InsertCompleterDesc , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/display_buffer.hh:111:34: performance: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. [passedByValueCallback] kakoune-2024.05.18/src/insert_completer.cc:310:17: note: Function pointer used here. kakoune-2024.05.18/src/display_buffer.hh:111:34: note: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. kakoune-2024.05.18/src/insert_completer.cc:127:40: style: Parameter 'm' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/insert_completer.cc:169:45: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/insert_completer.cc:169:56: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/insert_completer.cc:321:45: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/insert_completer.cc:321:56: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/insert_completer.cc:587:16: style: Variable 'completer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/insert_completer.cc:149:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/insert_completer.cc:224:24: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/insert_completer.cc:463:25: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/insert_completer.cc:571:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/insert_completer.cc:591:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: conditional_t < has_value , HashItem < String , Vector < int > > , String > , MemoryDomain :: Undefined >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: conditional_t < has_value , HashItem < String , Vector < int > > , String > , MemoryDomain :: Undefined >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: conditional_t < has_value , HashItem < String , Vector < int > > , String > , MemoryDomain :: Undefined >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/json_ui.cc:123:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Args [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/json_ui.cc:143:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/json_ui.cc:225:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _sv [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/json_ui.cc:21:5: style: Struct 'invalid_rpc_request' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/json_ui.cc:147:57: style:inconclusive: Function 'draw' argument 3 names different: declaration 'buffer_padding' definition 'padding_face'. [funcArgNamesDifferent] kakoune-2024.05.18/src/json_ui.hh:26:27: note: Function 'draw' argument 3 names different: declaration 'buffer_padding' definition 'padding_face'. kakoune-2024.05.18/src/json_ui.cc:147:57: note: Function 'draw' argument 3 names different: declaration 'buffer_padding' definition 'padding_face'. kakoune-2024.05.18/src/json_ui.cc:219:37: style:inconclusive: Function 'eval_json' argument 1 names different: declaration 'value' definition 'json'. [funcArgNamesDifferent] kakoune-2024.05.18/src/json_ui.hh:54:33: note: Function 'eval_json' argument 1 names different: declaration 'value' definition 'json'. kakoune-2024.05.18/src/json_ui.cc:219:37: note: Function 'eval_json' argument 1 names different: declaration 'value' definition 'json'. kakoune-2024.05.18/src/json_ui.cc:59:21: performance: Function parameter 'face' should be passed by const reference. [passedByValue] kakoune-2024.05.18/src/json_ui.cc:31:16: error: Uninitialized variable: buffer [uninitvar] kakoune-2024.05.18/src/keymap_manager.cc:29:15: style: Variable 'map' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/keys.cc:130:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/utf8_iterator.hh:30:5: warning: Member variable 'iterator < const char * , const char * , Codepoint , CharCount , utf8 :: InvalidPolicy :: Pass >::m_it' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/utf8_iterator.hh:30:5: warning: Member variable 'iterator < const char * , const char * , Codepoint , CharCount , utf8 :: InvalidPolicy :: Pass >::m_begin' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/utf8_iterator.hh:30:5: warning: Member variable 'iterator < const char * , const char * , Codepoint , CharCount , utf8 :: InvalidPolicy :: Pass >::m_end' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/line_modification.cc:139:37: style: Parameter 'r' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/main.cc:325:16: debug: Scope::checkVariable found variable 'coord' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:326:17: debug: Scope::checkVariable found variable 'buffer' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:331:16: debug: Scope::checkVariable found variable 'coord' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:336:16: debug: Scope::checkVariable found variable 'coord' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:343:16: debug: Scope::checkVariable found variable 'cursor' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:401:25: debug: Scope::checkVariable found variable 'setup' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:232:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:236:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:240:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:244:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:248:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:252:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:256:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:261:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:265:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:269:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:273:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:277:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:281:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:285:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:290:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:294:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:298:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:302:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:306:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:312:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:316:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:320:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:324:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:330:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:335:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:342:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:347:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:351:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:358:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:365:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:372:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:376:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:383:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:387:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:391:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:395:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:399:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:407:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:411:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2024.05.18/src/main.cc:204:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/main.cc:564:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/main.cc:641:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/main.cc:690:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/main.cc:726:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/main.cc:1061:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/main.cc:1074:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/main.cc:738:20: error:inconclusive: Using object that is a temporary. [danglingTemporaryLifetime] kakoune-2024.05.18/src/main.cc:732:51: note: Passed to constructor of 'RemoteClient'. kakoune-2024.05.18/src/main.cc:736:13: note: Assuming condition is false kakoune-2024.05.18/src/main.cc:732:51: note: Temporary created here. kakoune-2024.05.18/src/main.cc:738:20: note: Using object that is a temporary. kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < Key >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < char32_t , MemoryDomain :: Options >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < char32_t , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < Key >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < Key >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < char32_t , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/main.cc:168:16: style: Local variable 'version' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/main.cc:42:20: note: Shadowed declaration kakoune-2024.05.18/src/main.cc:168:16: note: Shadow variable kakoune-2024.05.18/src/main.cc:168:25: style: Local variable 'notes' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/main.cc:46:16: note: Shadowed declaration kakoune-2024.05.18/src/main.cc:168:25: note: Shadow variable kakoune-2024.05.18/src/main.cc:201:21: style: Local variable 'runtime_directory' shadows outer function [shadowFunction] kakoune-2024.05.18/src/main.cc:199:8: note: Shadowed declaration kakoune-2024.05.18/src/main.cc:201:21: note: Shadow variable kakoune-2024.05.18/src/main.cc:938:28: style: Local variable 'session' shadows outer argument [shadowArgument] kakoune-2024.05.18/src/main.cc:767:27: note: Shadowed declaration kakoune-2024.05.18/src/main.cc:938:28: note: Shadow variable kakoune-2024.05.18/src/main.cc:983:28: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/main.cc:994:20: style: Variable 'file' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/main.cc:186:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/normal.cc:696:84: debug: Function::addArguments found argument 'sel' with varid 0. [varid0] kakoune-2024.05.18/src/normal.cc:2077:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/normal.cc:80:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:133:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:151:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:164:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:205:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:307:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:377:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:482:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable completer [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:532:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:563:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable replace [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:696:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:738:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:759:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:808:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:936:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex_mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:964:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex_mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1001:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable smart [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1024:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1040:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1061:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1101:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1135:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable matching [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1171:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable selection_edition [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1221:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1246:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1283:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1414:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable half [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1444:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1480:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1500:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1526:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1591:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1622:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1671:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1762:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1942:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable combine [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:1967:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable combine [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:2071:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable above [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:2103:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:2236:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_data [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/normal.cc:2241:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keymap_max_size [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < Selection >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Selection , MemoryDomain :: Selections >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Selection , MemoryDomain :: Selections >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/constexpr_utils.hh:16:22: performance:inconclusive: Technically the member function 'Array < std :: conditional_t < has_value , HashItem < Key , NormalCmd > , Key > , keymap_max_size >::size' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/normal.cc:2245:22: warning: The struct 'KeymapBackend < std :: conditional_t < has_value , HashItem < Key , NormalCmd > , Key > , MemoryDomain :: Undefined >' defines member function with name 'size' also defined in its parent struct 'Array < std :: conditional_t < has_value , HashItem < Key , NormalCmd > , Key > , keymap_max_size >'. [duplInheritedMember] kakoune-2024.05.18/src/constexpr_utils.hh:16:22: note: Parent function 'Array < std :: conditional_t < has_value , HashItem < Key , NormalCmd > , Key > , keymap_max_size >::size' kakoune-2024.05.18/src/normal.cc:2245:22: note: Derived function 'KeymapBackend < std :: conditional_t < has_value , HashItem < Key , NormalCmd > , Key > , MemoryDomain :: Undefined >::size' kakoune-2024.05.18/src/normal.cc:1339:52: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/normal.cc:1810:36: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/normal.cc:2080:15: style: Class 'Repeated' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < Selection >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < Selection >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Undefined , KeymapBackend >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Selection , MemoryDomain :: Selections >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/normal.cc:1203:26: style: Condition 'new_main==-1' is always false [knownConditionTrueFalse] kakoune-2024.05.18/src/normal.cc:187:38: style: C-style pointer casting [cstyleCast] kakoune-2024.05.18/src/normal.cc:317:29: style: Local variable 'buffer' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/normal.cc:239:19: note: Shadowed declaration kakoune-2024.05.18/src/normal.cc:317:29: note: Shadow variable kakoune-2024.05.18/src/normal.cc:1250:18: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/normal.cc:1250:18: note: Shadow variable kakoune-2024.05.18/src/normal.cc:1684:22: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2024.05.18/src/normal.cc:1684:22: note: Shadow variable kakoune-2024.05.18/src/normal.cc:1692:14: style: Local variable 'line' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/normal.cc:1680:10: note: Shadowed declaration kakoune-2024.05.18/src/normal.cc:1692:14: note: Shadow variable kakoune-2024.05.18/src/normal.cc:1803:10: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/normal.cc:1803:10: note: Shadow variable kakoune-2024.05.18/src/normal.cc:1931:10: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/normal.cc:1931:10: note: Shadow variable kakoune-2024.05.18/src/normal.cc:167:34: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:198:48: style: Parameter 'elem' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:239:19: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/normal.cc:274:27: style: Variable 'window' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/normal.cc:282:27: style: Variable 'window' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/normal.cc:517:23: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:668:31: style: Parameter 'buffer' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:835:53: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:835:64: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:1317:37: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:1317:57: style: Parameter 'sel' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:1540:23: style: Variable 'func' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/normal.cc:1546:44: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:1582:20: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/normal.cc:1935:15: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/normal.cc:2054:20: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/normal.cc:2198:20: style: Variable 'sels' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/normal.cc:2214:28: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/normal.cc:1724:42: warning: Access of moved variable 'tabs'. [accessMoved] kakoune-2024.05.18/src/normal.cc:1724:32: note: Calling std::move(tabs) kakoune-2024.05.18/src/normal.cc:1724:42: note: Access of moved variable 'tabs'. kakoune-2024.05.18/src/normal.cc:1762:42: warning: Access of moved variable 'spaces'. [accessMoved] kakoune-2024.05.18/src/normal.cc:1762:32: note: Calling std::move(spaces) kakoune-2024.05.18/src/normal.cc:1762:42: note: Access of moved variable 'spaces'. kakoune-2024.05.18/src/normal.cc:1900:47: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/normal.cc:1536:24: style: Variable 'new_flags' is assigned a value that is never used. [unreadVariable] kakoune-2024.05.18/src/option_manager.cc:55:5: style: Struct 'option_not_found' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: conditional_t < has_value , HashItem < String , int > , String > , MemoryDomain :: Undefined >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: conditional_t < has_value , HashItem < String , int > , String > , MemoryDomain :: Undefined >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < std :: conditional_t < has_value , HashItem < String , int > , String > , MemoryDomain :: Undefined >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/parameters_parser.cc:43:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/parameters_parser.cc:8:47: style:inconclusive: Function 'generate_switches_doc' argument 1 names different: declaration 'opts' definition 'switches'. [funcArgNamesDifferent] kakoune-2024.05.18/src/parameters_parser.hh:56:47: note: Function 'generate_switches_doc' argument 1 names different: declaration 'opts' definition 'switches'. kakoune-2024.05.18/src/parameters_parser.cc:8:47: note: Function 'generate_switches_doc' argument 1 names different: declaration 'opts' definition 'switches'. kakoune-2024.05.18/src/ranked_match.hh:52:27: style: Unused private function: 'RankedMatch::with_bit_ops' [unusedPrivateFunction] kakoune-2024.05.18/src/ranked_match.hh:52:27: note: Unused private function: 'RankedMatch::with_bit_ops' kakoune-2024.05.18/src/ranked_match.hh:52:27: note: Unused private function: 'RankedMatch::with_bit_ops' kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < SubseqRes >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < SubseqRes >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < SubseqRes >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/ranked_match.cc:115:75: style:inconclusive: Function 'RankedMatch' argument 3 names different: declaration 'test' definition 'func'. [funcArgNamesDifferent] kakoune-2024.05.18/src/ranked_match.hh:38:66: note: Function 'RankedMatch' argument 3 names different: declaration 'test' definition 'func'. kakoune-2024.05.18/src/ranked_match.cc:115:75: note: Function 'RankedMatch' argument 3 names different: declaration 'test' definition 'func'. kakoune-2024.05.18/src/regex.cc:17:57: style: Parameter 'c' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/regex_impl.cc:1572:25: error: syntax error [syntaxError] kakoune-2024.05.18/src/register_manager.cc:77:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/register_manager.cc:102:32: performance:inconclusive: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/register_manager.hh:124:19: note: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/register_manager.cc:102:32: note: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/register_manager.cc:104:72: style: Parameter 'i' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/remote.cc:164:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/remote.cc:175:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/remote.cc:188:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/remote.cc:191:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/remote.cc:208:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2024.05.18/src/remote.cc:80:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/remote.cc:167:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/remote.cc:303:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/remote.cc:332:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/remote.cc:458:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/remote.cc:632:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/remote.cc:688:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Args [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/remote.cc:868:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/remote.cc:600:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] kakoune-2024.05.18/src/remote.cc:433:19: style:inconclusive: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_send_buffer' due to the order of declarations. [initializerList] kakoune-2024.05.18/src/remote.cc:472:7: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_send_buffer' due to the order of declarations. kakoune-2024.05.18/src/remote.cc:433:19: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_send_buffer' due to the order of declarations. kakoune-2024.05.18/src/remote.cc:433:19: style:inconclusive: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. [initializerList] kakoune-2024.05.18/src/remote.cc:472:7: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. kakoune-2024.05.18/src/remote.cc:433:19: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. kakoune-2024.05.18/src/remote.cc:433:19: style:inconclusive: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_paste' due to the order of declarations. [initializerList] kakoune-2024.05.18/src/remote.cc:472:7: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_paste' due to the order of declarations. kakoune-2024.05.18/src/remote.cc:433:19: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_paste' due to the order of declarations. kakoune-2024.05.18/src/remote.cc:778:5: style: Class 'Accepter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/remote.cc:919:9: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] kakoune-2024.05.18/src/remote.cc:81:20: style: C-style pointer casting [cstyleCast] kakoune-2024.05.18/src/remote.cc:645:23: style: C-style pointer casting [cstyleCast] kakoune-2024.05.18/src/remote.cc:655:26: style: C-style pointer casting [cstyleCast] kakoune-2024.05.18/src/remote.cc:868:27: style: C-style pointer casting [cstyleCast] kakoune-2024.05.18/src/remote.cc:879:41: style: C-style pointer casting [cstyleCast] kakoune-2024.05.18/src/remote.cc:855:42: style:inconclusive: Function 'Server' argument 2 names different: declaration 'daemon' definition 'is_daemon'. [funcArgNamesDifferent] kakoune-2024.05.18/src/remote.hh:53:38: note: Function 'Server' argument 2 names different: declaration 'daemon' definition 'is_daemon'. kakoune-2024.05.18/src/remote.cc:855:42: note: Function 'Server' argument 2 names different: declaration 'daemon' definition 'is_daemon'. kakoune-2024.05.18/src/remote.cc:358:16: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/remote.cc:358:16: note: Shadow variable kakoune-2024.05.18/src/remote.cc:99:20: style: Variable 'val' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/remote.cc:876:39: style: Parameter 'watcher' can be declared as reference to const [constParameterReference] kakoune-2024.05.18/src/selection.cc:57:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rmin [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/selection.cc:267:21: performance:inconclusive: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/selection.hh:93:10: note: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/selection.cc:267:21: note: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/array_view.hh:21:15: style: Class 'ArrayView < Selection >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:36:15: style: Class 'ArrayView < Selection >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:40:15: style: Class 'ArrayView < Selection >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/selection.cc:19:64: style:inconclusive: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. [funcArgNamesDifferent] kakoune-2024.05.18/src/selection.hh:90:53: note: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. kakoune-2024.05.18/src/selection.cc:19:64: note: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. kakoune-2024.05.18/src/selection.cc:27:64: style:inconclusive: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. [funcArgNamesDifferent] kakoune-2024.05.18/src/selection.hh:89:53: note: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. kakoune-2024.05.18/src/selection.cc:27:64: note: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. kakoune-2024.05.18/src/selection.cc:217:42: style:inconclusive: Function 'clamp_selections' argument 1 names different: declaration 'sel' definition 'selections'. [funcArgNamesDifferent] kakoune-2024.05.18/src/selection.hh:78:42: note: Function 'clamp_selections' argument 1 names different: declaration 'sel' definition 'selections'. kakoune-2024.05.18/src/selection.cc:217:42: note: Function 'clamp_selections' argument 1 names different: declaration 'sel' definition 'selections'. kakoune-2024.05.18/src/selection.cc:299:61: style:inconclusive: Function 'sort_selections' argument 2 names different: declaration 'main' definition 'main_index'. [funcArgNamesDifferent] kakoune-2024.05.18/src/selection.hh:76:61: note: Function 'sort_selections' argument 2 names different: declaration 'main' definition 'main_index'. kakoune-2024.05.18/src/selection.cc:299:61: note: Function 'sort_selections' argument 2 names different: declaration 'main' definition 'main_index'. kakoune-2024.05.18/src/selection.cc:317:74: style:inconclusive: Function 'merge_overlapping_selections' argument 2 names different: declaration 'main' definition 'main_index'. [funcArgNamesDifferent] kakoune-2024.05.18/src/selection.hh:77:74: note: Function 'merge_overlapping_selections' argument 2 names different: declaration 'main' definition 'main_index'. kakoune-2024.05.18/src/selection.cc:317:74: note: Function 'merge_overlapping_selections' argument 2 names different: declaration 'main' definition 'main_index'. kakoune-2024.05.18/src/selection.cc:375:40: style:inconclusive: Function 'for_each' argument 1 names different: declaration 'apply' definition 'func'. [funcArgNamesDifferent] kakoune-2024.05.18/src/selection.hh:141:29: note: Function 'for_each' argument 1 names different: declaration 'apply' definition 'func'. kakoune-2024.05.18/src/selection.cc:375:40: note: Function 'for_each' argument 1 names different: declaration 'apply' definition 'func'. kakoune-2024.05.18/src/selection.cc:381:16: style: Local variable 'timestamp' shadows outer function [shadowFunction] kakoune-2024.05.18/src/selection.hh:137:12: note: Shadowed declaration kakoune-2024.05.18/src/selection.cc:381:16: note: Shadow variable kakoune-2024.05.18/src/selection.cc:492:10: style: Local variable 'to_string' shadows outer function [shadowFunction] kakoune-2024.05.18/src/color.hh:73:8: note: Shadowed declaration kakoune-2024.05.18/src/selection.cc:492:10: note: Shadow variable kakoune-2024.05.18/src/selection.cc:489:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.hh:68:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2024.05.18/src/selectors.cc:293:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/selectors.cc:322:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle_urgent_events [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/selectors.cc:366:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/selectors.cc:681:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_char [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/selectors.cc:949:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable handle_urgent_events [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/selectors.cc:918:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/selectors.cc:188:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_non_eol_column [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/unicode.hh:119:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EndOfLine [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/regex_impl.hh:700:17: style:inconclusive: Technically the member function 'ThreadedRegexVM < BufferIterator , RegexMode :: Forward | RegexMode :: Search >::DualThreadStack::decrement' can be const. [functionConst] kakoune-2024.05.18/src/regex_impl.hh:707:17: style:inconclusive: Technically the member function 'ThreadedRegexVM < BufferIterator , RegexMode :: Forward | RegexMode :: Search >::DualThreadStack::post_increment' can be const. [functionConst] kakoune-2024.05.18/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Codepoint , MemoryDomain :: Options >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Codepoint , MemoryDomain :: Options >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/regex.hh:73:5: style: Struct 'MatchResults < BufferIterator >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/regex_impl.hh:224:5: style: Class 'ThreadedRegexVM < BufferIterator , RegexMode :: Forward | RegexMode :: Search >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/memory.hh:109:5: style: Struct 'Allocator < Codepoint , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/selectors.cc:698:16: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2024.05.18/src/selectors.cc:698:16: note: Shadow variable kakoune-2024.05.18/src/selectors.cc:998:22: style: Local variable 'sel_end' shadows outer variable [shadowVariable] kakoune-2024.05.18/src/selectors.cc:987:14: note: Shadowed declaration kakoune-2024.05.18/src/selectors.cc:998:22: note: Shadow variable kakoune-2024.05.18/src/selectors.cc:130:10: style: Local variable 'is_punctuation' shadows outer function [shadowFunction] kakoune-2024.05.18/src/unicode.hh:88:13: note: Shadowed declaration kakoune-2024.05.18/src/selectors.cc:130:10: note: Shadow variable kakoune-2024.05.18/src/selectors.cc:101:10: style: Local variable 'is_punctuation' shadows outer function [shadowFunction] kakoune-2024.05.18/src/unicode.hh:88:13: note: Shadowed declaration kakoune-2024.05.18/src/selectors.cc:101:10: note: Shadow variable kakoune-2024.05.18/src/selectors.cc:67:10: style: Local variable 'is_punctuation' shadows outer function [shadowFunction] kakoune-2024.05.18/src/unicode.hh:88:13: note: Shadowed declaration kakoune-2024.05.18/src/selectors.cc:67:10: note: Shadow variable kakoune-2024.05.18/src/selectors.cc:388:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.cc:458:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.cc:494:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.cc:563:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.cc:627:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.cc:661:20: style: Variable 'c' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.cc:748:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.cc:910:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/selectors.cc:958:26: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/selectors.cc:923:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/shared_string.cc:15:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interned_flag [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shared_string.cc:39:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable refcount_mask [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shared_string.cc:14:10: style: Local variable 'data' shadows outer function [shadowFunction] kakoune-2024.05.18/src/shared_string.hh:21:17: note: Shadowed declaration kakoune-2024.05.18/src/shared_string.cc:14:10: note: Shadow variable kakoune-2024.05.18/src/shared_string.cc:37:16: style: Variable 'st' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/shell_manager.cc:201:40: debug: Function::addArguments found argument 'watcher' with varid 0. [varid0] kakoune-2024.05.18/src/shell_manager.cc:43:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shell_manager.cc:112:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shell_manager.cc:151:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shell_manager.cc:184:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shell_manager.cc:198:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shell_manager.cc:302:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/shell_manager.cc:118:21: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] kakoune-2024.05.18/src/shell_manager.cc:377:21: style:inconclusive: Technically the member function 'Kakoune::ShellManager::spawn' can be const. [functionConst] kakoune-2024.05.18/src/shell_manager.hh:65:11: note: Technically the member function 'Kakoune::ShellManager::spawn' can be const. kakoune-2024.05.18/src/shell_manager.cc:377:21: note: Technically the member function 'Kakoune::ShellManager::spawn' can be const. kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < CommandFifos >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < DisplayLine >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < CommandFifos >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < CommandFifos >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < DisplayLine >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < DisplayLine >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/shell_manager.cc:112:9: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] kakoune-2024.05.18/src/shell_manager.cc:136:20: style: C-style pointer casting [cstyleCast] kakoune-2024.05.18/src/shell_manager.cc:136:53: style: C-style pointer casting [cstyleCast] kakoune-2024.05.18/src/shell_manager.cc:359:14: style: Local variable 'spawn' shadows outer function [shadowFunction] kakoune-2024.05.18/src/shell_manager.hh:65:11: note: Shadowed declaration kakoune-2024.05.18/src/shell_manager.cc:359:14: note: Shadow variable kakoune-2024.05.18/src/shell_manager.cc:98:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/shell_manager.cc:106:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2024.05.18/src/string.cc:11:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capacity [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string.cc:67:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capacity [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string_utils.cc:18:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string_utils.cc:117:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string_utils.cc:122:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string_utils.cc:129:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 1_byte [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/string_utils.cc:27:22: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2024.05.18/src/string_utils.cc:27:22: note: Shadow variable kakoune-2024.05.18/src/string_utils.cc:355:18: style: Local variable 'format' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:155:8: note: Shadowed declaration kakoune-2024.05.18/src/string_utils.cc:355:18: note: Shadow variable kakoune-2024.05.18/src/string_utils.cc:235:16: style: Variable 'c' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/terminal_ui.cc:77:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:94:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:106:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:338:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable add [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:436:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable signal_flag [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:479:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:490:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:515:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IGNBRK [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:634:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:672:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:1062:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:1081:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 10_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:1111:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 1_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:1233:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 1_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:1320:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/terminal_ui.cc:1554:114: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_char [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/file.hh:123:5: warning: Member variable 'BufferedWriter < true , 4096 >::m_buffer' is not initialized in the constructor. [uninitMemberVar] kakoune-2024.05.18/src/terminal_ui.hh:139:15: style:inconclusive: Member variable 'TerminalUI::m_stdin_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. [initializerList] kakoune-2024.05.18/src/terminal_ui.cc:442:7: note: Member variable 'TerminalUI::m_stdin_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. kakoune-2024.05.18/src/terminal_ui.hh:139:15: note: Member variable 'TerminalUI::m_stdin_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. kakoune-2024.05.18/src/optional.hh:120:10: style:inconclusive: Technically the member function 'Optional < unsigned char >::destruct_ifn' can be const. [functionConst] kakoune-2024.05.18/src/file.hh:123:5: style: Struct 'BufferedWriter < true , 4096 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:16:5: style: Struct 'Optional < unsigned char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/optional.hh:17:5: style: Struct 'Optional < unsigned char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/terminal_ui.cc:1347:64: style: Condition 'style==InfoStyle::InlineAbove' is always false [knownConditionTrueFalse] kakoune-2024.05.18/src/terminal_ui.cc:1344:15: note: Assuming that condition 'style==InfoStyle::Prompt' is not redundant kakoune-2024.05.18/src/terminal_ui.cc:1347:64: note: Condition 'style==InfoStyle::InlineAbove' is always false kakoune-2024.05.18/src/terminal_ui.cc:501:5: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] kakoune-2024.05.18/src/terminal_ui.cc:227:34: style: The scope of the variable 'attr_table' can be reduced. [variableScope] kakoune-2024.05.18/src/terminal_ui.cc:153:53: style:inconclusive: Function 'create' argument 1 names different: declaration 'pos' definition 'p'. [funcArgNamesDifferent] kakoune-2024.05.18/src/terminal_ui.hh:80:41: note: Function 'create' argument 1 names different: declaration 'pos' definition 'p'. kakoune-2024.05.18/src/terminal_ui.cc:153:53: note: Function 'create' argument 1 names different: declaration 'pos' definition 'p'. kakoune-2024.05.18/src/terminal_ui.cc:153:76: style:inconclusive: Function 'create' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] kakoune-2024.05.18/src/terminal_ui.hh:80:66: note: Function 'create' argument 2 names different: declaration 'size' definition 's'. kakoune-2024.05.18/src/terminal_ui.cc:153:76: note: Function 'create' argument 2 names different: declaration 'size' definition 's'. kakoune-2024.05.18/src/terminal_ui.cc:194:20: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/terminal_ui.cc:194:20: note: Shadow variable kakoune-2024.05.18/src/terminal_ui.cc:242:10: style: Local variable 'join' shadows outer function [shadowFunction] kakoune-2024.05.18/src/string_utils.hh:34:8: note: Shadowed declaration kakoune-2024.05.18/src/terminal_ui.cc:242:10: note: Shadow variable kakoune-2024.05.18/src/terminal_ui.cc:1272:22: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2024.05.18/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2024.05.18/src/terminal_ui.cc:1272:22: note: Shadow variable kakoune-2024.05.18/src/terminal_ui.cc:1520:10: style: Local variable 'find' shadows outer function [shadowFunction] kakoune-2024.05.18/src/ranges.hh:537:6: note: Shadowed declaration kakoune-2024.05.18/src/terminal_ui.cc:1520:10: note: Shadow variable kakoune-2024.05.18/src/terminal_ui.cc:348:20: style: Variable 'change' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/terminal_ui.cc:360:20: style: Variable 'change' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/terminal_ui.cc:1034:19: style: Variable 'face' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/terminal_ui.cc:1067:19: style: Variable 'face' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/terminal_ui.cc:1128:16: style: Variable 'item' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/terminal_ui.cc:571:23: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] kakoune-2024.05.18/src/terminal_ui.cc:578:23: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] kakoune-2024.05.18/src/unit_tests.cc:26:33: style: Variable 'd' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/window.cc:48:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:54:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:59:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 2_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:64:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:70:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:75:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 2_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:81:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:168:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:212:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:288:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_col [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:319:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/window.cc:115:38: style: Condition 'm_display_buffer.timestamp()!=-1' is always true [knownConditionTrueFalse] kakoune-2024.05.18/src/window.cc:35:16: style: Variable 'option' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/window.cc:306:15: style: Variable 'range' can be declared as reference to const [constVariableReference] kakoune-2024.05.18/src/word_db.cc:132:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/word_db.cc:154:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_line [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/word_db.cc:205:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable match [valueFlowBailoutIncompleteVar] kakoune-2024.05.18/src/array_view.hh:21:15: style: Class 'ArrayView < const RankedMatch >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:36:15: style: Class 'ArrayView < const RankedMatch >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/array_view.hh:40:15: style: Class 'ArrayView < const RankedMatch >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2024.05.18/src/word_db.cc:197:50: style:inconclusive: Function 'find_matching' argument 1 names different: declaration 'str' definition 'query'. [funcArgNamesDifferent] kakoune-2024.05.18/src/word_db.hh:28:46: note: Function 'find_matching' argument 1 names different: declaration 'str' definition 'query'. kakoune-2024.05.18/src/word_db.cc:197:50: note: Function 'find_matching' argument 1 names different: declaration 'str' definition 'query'. diff: head kakoune-2024.05.18/src/backtrace.cc:30:19: performance:inconclusive: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/backtrace.hh:16:12: note: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/backtrace.cc:30:19: note: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). 2.17.0 kakoune-2024.05.18/src/backtrace.hh:16:12: performance:inconclusive: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/backtrace.cc:30:19: note: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/backtrace.hh:16:12: note: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). head kakoune-2024.05.18/src/buffer.cc:399:14: performance:inconclusive: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/buffer.hh:213:10: note: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/buffer.cc:399:14: note: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). 2.17.0 kakoune-2024.05.18/src/buffer.hh:213:10: performance:inconclusive: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/buffer.cc:399:14: note: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/buffer.hh:213:10: note: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). 2.17.0 kakoune-2024.05.18/src/commands.cc:109:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rest [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/context.hh:223:48: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] head kakoune-2024.05.18/src/file.cc:683:3: error: #error "finding executable path is not implemented on this platform" [preprocessorErrorDirective] head kakoune-2024.05.18/src/hook_manager.cc:95:28: performance:inconclusive: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/hook_manager.hh:131:19: note: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/hook_manager.cc:95:28: note: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). 2.17.0 kakoune-2024.05.18/src/hook_manager.hh:131:19: performance:inconclusive: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/hook_manager.cc:95:28: note: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/hook_manager.hh:131:19: note: Technically the member function 'Kakoune::HookManager::complete_hook_group' can be static (but you may consider moving to unnamed namespace). head kakoune-2024.05.18/src/input_handler.cc:1587:20: style:inconclusive: Technically the member function 'Kakoune::InputHandler::paste' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.hh:76:10: note: Technically the member function 'Kakoune::InputHandler::paste' can be const. kakoune-2024.05.18/src/input_handler.cc:1587:20: note: Technically the member function 'Kakoune::InputHandler::paste' can be const. head kakoune-2024.05.18/src/input_handler.cc:1601:20: style:inconclusive: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.hh:85:10: note: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. kakoune-2024.05.18/src/input_handler.cc:1601:20: note: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. 2.17.0 kakoune-2024.05.18/src/input_handler.cc:1663:20: style: Variable 'k' can be declared as reference to const [constVariableReference] head kakoune-2024.05.18/src/input_handler.cc:1682:20: style:inconclusive: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.hh:96:10: note: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. kakoune-2024.05.18/src/input_handler.cc:1682:20: note: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. 2.17.0 kakoune-2024.05.18/src/input_handler.hh:76:10: style:inconclusive: Technically the member function 'Kakoune::InputHandler::paste' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.cc:1587:20: note: Technically the member function 'Kakoune::InputHandler::paste' can be const. kakoune-2024.05.18/src/input_handler.hh:76:10: note: Technically the member function 'Kakoune::InputHandler::paste' can be const. 2.17.0 kakoune-2024.05.18/src/input_handler.hh:85:10: style:inconclusive: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.cc:1601:20: note: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. kakoune-2024.05.18/src/input_handler.hh:85:10: note: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. 2.17.0 kakoune-2024.05.18/src/input_handler.hh:96:10: style:inconclusive: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. [functionConst] kakoune-2024.05.18/src/input_handler.cc:1682:20: note: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. kakoune-2024.05.18/src/input_handler.hh:96:10: note: Technically the member function 'Kakoune::InputHandler::refresh_ifn' can be const. 2.17.0 kakoune-2024.05.18/src/insert_completer.cc:530:20: style: Variable 'completer' can be declared as reference to const [constVariableReference] head kakoune-2024.05.18/src/keys.cc:130:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable 0_byte [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/keys.cc:93:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/ranges.hh:174:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filter [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/ranges.hh:278:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Transform [valueFlowBailoutIncompleteVar] head kakoune-2024.05.18/src/ranges.hh:643:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Indexes [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/ranked_match.hh:52:27: style: Unused private function: 'RankedMatch::with_bit_ops' [unusedPrivateFunction] head kakoune-2024.05.18/src/ranked_match.hh:52:27: style: Unused private function: 'RankedMatch::with_bit_ops' [unusedPrivateFunction] kakoune-2024.05.18/src/ranked_match.hh:52:27: note: Unused private function: 'RankedMatch::with_bit_ops' kakoune-2024.05.18/src/ranked_match.hh:52:27: note: Unused private function: 'RankedMatch::with_bit_ops' head kakoune-2024.05.18/src/register_manager.cc:102:32: performance:inconclusive: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/register_manager.hh:124:19: note: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/register_manager.cc:102:32: note: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). 2.17.0 kakoune-2024.05.18/src/register_manager.hh:124:19: performance:inconclusive: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/register_manager.cc:102:32: note: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/register_manager.hh:124:19: note: Technically the member function 'Kakoune::RegisterManager::complete_register_name' can be static (but you may consider moving to unnamed namespace). 2.17.0 kakoune-2024.05.18/src/remote.cc:178:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32_t [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/remote.cc:194:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32_t [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/remote.cc:213:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/remote.cc:265:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.17.0 kakoune-2024.05.18/src/selection.cc:161:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] head kakoune-2024.05.18/src/selection.cc:267:21: performance:inconclusive: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/selection.hh:93:10: note: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/selection.cc:267:21: note: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). 2.17.0 kakoune-2024.05.18/src/selection.hh:93:10: performance:inconclusive: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2024.05.18/src/selection.cc:267:21: note: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2024.05.18/src/selection.hh:93:10: note: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). 2.17.0 kakoune-2024.05.18/src/shell_manager.cc:109:22: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] head kakoune-2024.05.18/src/shell_manager.cc:112:9: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] head kakoune-2024.05.18/src/shell_manager.cc:136:53: style: C-style pointer casting [cstyleCast] head kakoune-2024.05.18/src/shell_manager.cc:377:21: style:inconclusive: Technically the member function 'Kakoune::ShellManager::spawn' can be const. [functionConst] kakoune-2024.05.18/src/shell_manager.hh:65:11: note: Technically the member function 'Kakoune::ShellManager::spawn' can be const. kakoune-2024.05.18/src/shell_manager.cc:377:21: note: Technically the member function 'Kakoune::ShellManager::spawn' can be const. 2.17.0 kakoune-2024.05.18/src/shell_manager.hh:65:11: style:inconclusive: Technically the member function 'Kakoune::ShellManager::spawn' can be const. [functionConst] kakoune-2024.05.18/src/shell_manager.cc:377:21: note: Technically the member function 'Kakoune::ShellManager::spawn' can be const. kakoune-2024.05.18/src/shell_manager.hh:65:11: note: Technically the member function 'Kakoune::ShellManager::spawn' can be const. 2.17.0 kakoune-2024.05.18/src/utils.hh:86:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] DONE