2024-04-25 09:21 ftp://ftp.de.debian.org/debian/pool/main/k/kakoune/kakoune_2022.10.31.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 -j8 platform: Linux-6.6.27_1-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.57 compiler: g++ (GCC) 13.2.0 cppcheck: head 2.14.0 head-info: da380ea (2024-04-25 10:28:43 +0200) count: 939 941 elapsed-time: 32.3 32.6 head-timing-info: old-timing-info: head results: kakoune-2022.10.31/src/ranges.hh:73:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/ranges.hh:97:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/ranges.hh:115:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/ranges.hh:229:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/ranges.hh:493:9: debug: Failed to parse 'using Range = decltype ( range ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/shell_manager.hh:23:5: debug: Failed to parse 'using Retriever = Vector < String > ( * ) ( StringView name , const Context & ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/utils.hh:205:18: debug: simplifyOperatorName: found unsimplified operator name [debug] kakoune-2022.10.31/src/highlighter.hh:86:1: debug: Failed to parse 'using HighlighterFactory = std :: unique_ptr < Highlighter > ( * ) ( ConstArrayView < String > params , Highlighter * parent ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/meta.hh:10:22: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/memory.hh:103:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/memory.hh:112:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/memory.hh:148:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/hash.hh:51:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/string.hh:278:12: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/constexpr_utils.hh:14:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/constexpr_utils.hh:48:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:15:25: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:30:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:39:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:121:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:235:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:297:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:323:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:499:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/ranges.hh:506:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/optional.hh:12:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/optional.hh:94:26: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/string_utils.hh:202:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2022.10.31/src/event_manager.hh:110:1: debug: Failed to parse 'using SignalHandler = void ( * ) ( int ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/buffer_utils.cc:306:5: debug: Failed to parse 'using Result = decltype ( to_string ( size_t { } ) ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/memory.hh:116:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/memory.hh:123:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/memory.hh:132:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d1 [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/memory.hh:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d1 [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/constexpr_utils.hh:16:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/constexpr_utils.hh:19:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/constexpr_utils.hh:23:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/constexpr_utils.hh:37:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Indices [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/constexpr_utils.hh:67:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capacity [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:179:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filter [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:289:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Transform [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:307:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:355:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable include_separator [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:378:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:401:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:410:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:419:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranges.hh:664:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Indexes [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/unicode.hh:121:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable word_type [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/string.hh:182:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capacity [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/units.hh:23:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/backtrace.cc:20:12: warning: Member variable 'Backtrace::stackframes' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/string.hh:235:5: warning: Member variable 'StringView::m_data' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/units.hh:17:5: warning: Member variable 'StronglyTypedNumber < LineCount , int >::m_value' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/units.hh:17:5: warning: Member variable 'StronglyTypedNumber < ByteCount , int >::m_value' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/units.hh:17:5: warning: Member variable 'StronglyTypedNumber < CharCount , int >::m_value' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/units.hh:17:5: warning: Member variable 'StronglyTypedNumber < ColumnCount , int >::m_value' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/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-2022.10.31/src/backtrace.cc:29:19: note: Technically the member function 'Kakoune::Backtrace::desc' can be static (but you may consider moving to unnamed namespace). kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/constexpr_utils.hh:78:24: style:inconclusive: Technically the member function 'Kakoune::ConstexprVector::begin' can be const. [functionConst] kakoune-2022.10.31/src/constexpr_utils.hh:79:24: style:inconclusive: Technically the member function 'Kakoune::ConstexprVector::end' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Kakoune::Optional::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/units.hh:106:14: style:inconclusive: Technically the member function 'StronglyTypedNumber < LineCount , int >::operatorlong' can be const. [functionConst] kakoune-2022.10.31/src/units.hh:106:14: style:inconclusive: Technically the member function 'StronglyTypedNumber < ByteCount , int >::operatorlong' can be const. [functionConst] kakoune-2022.10.31/src/units.hh:106:14: style:inconclusive: Technically the member function 'StronglyTypedNumber < CharCount , int >::operatorlong' can be const. [functionConst] kakoune-2022.10.31/src/units.hh:106:14: style:inconclusive: Technically the member function 'StronglyTypedNumber < ColumnCount , int >::operatorlong' can be const. [functionConst] kakoune-2022.10.31/src/units.hh:117:15: style: Struct 'LineCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/units.hh:131:15: style: Struct 'ByteCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/units.hh:145:15: style: Struct 'CharCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/units.hh:159:15: style: Struct 'ColumnCount' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/string.hh:108:5: style: Class 'String' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/string.hh:238:15: style: Class 'StringView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/string.hh:240:5: style: Class 'StringView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/string.hh:241:5: style: Class 'StringView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:21:15: style: Class 'ArrayView < const char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:31:15: style: Class 'ArrayView < const char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:35:15: style: Class 'ArrayView < const char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/ranges.hh:260:46: performance:inconclusive: Function parameter 'diff' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/ranges.hh:261:46: performance:inconclusive: Function parameter 'diff' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/ranges.hh:263:44: performance:inconclusive: Function parameter 'diff' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/ranges.hh:264:44: performance:inconclusive: Function parameter 'diff' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/ranges.hh:342:55: warning: Access of moved variable 'separator'. [accessMoved] kakoune-2022.10.31/src/ranges.hh:339:70: note: Calling std::move(separator) kakoune-2022.10.31/src/ranges.hh:342:55: note: Access of moved variable 'separator'. kakoune-2022.10.31/src/ranges.hh:344:62: warning: Access of moved variable 'escaper'. [accessMoved] kakoune-2022.10.31/src/ranges.hh:339:101: note: Calling std::move(escaper) kakoune-2022.10.31/src/ranges.hh:344:62: note: Access of moved variable 'escaper'. kakoune-2022.10.31/src/ranges.hh:478:0: debug: Wrong data detected by condition !var.valueType() [DacaWrongData] kakoune-2022.10.31/src/ranges.hh:217:0: debug: Wrong data detected by condition !var.valueType() [DacaWrongData] kakoune-2022.10.31/src/file.hh:63:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2022.10.31/src/highlighter.hh:86:1: debug: Failed to parse 'using HighlighterFactory = std :: unique_ptr < Highlighter > ( * ) ( ArrayView < const String > params , Highlighter * parent ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/hash_map.hh:164:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/utils.hh:64:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/utils.hh:169:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/utils.hh:203:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/flags.hh:34:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/buffer_utils.cc:306:5: debug: Failed to parse 'using Result = decltype ( to_string ( long { } ) ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/completion.hh:75:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/utils.hh:86:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/hash_map.hh:187:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/hash_map.hh:84:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/hash_map.hh:108:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hash [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/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-2022.10.31/src/ref_ptr.hh:16:19: warning: Member variable 'RefCountable::refcount' is not assigned a value in 'RefCountable::operator='. [operatorEqVarError] kakoune-2022.10.31/src/ref_ptr.hh:17:19: warning: Member variable 'RefCountable::refcount' is not assigned a value in 'RefCountable::operator='. [operatorEqVarError] kakoune-2022.10.31/src/string_utils.hh:96:14: performance:inconclusive: Technically the member function 'Kakoune::WrapView::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < int >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < StringView >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < Token >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < CommandInfo >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/coord.hh:66:15: style: Struct 'BufferCoord' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/coord.hh:73:15: style: Struct 'DisplayCoord' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/coord.hh:82:15: style: Struct 'BufferCoordAndTarget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/coord.hh:86:15: style: Struct 'BufferCoordAndTarget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/utils.hh:68:5: style: Class 'OnScopeEnd' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/utils.hh:103:5: style: Struct 'ScopedSetBool' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/utils.hh:184:5: style: Class 'FunctionRef' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/shell_manager.hh:33:5: style: Class 'ShellManager' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/exception.hh:17:5: style: Struct 'runtime_error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/parameters_parser.hh:25:5: style: Struct 'unknown_option' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/parameters_parser.hh:31:5: style: Struct 'missing_option_value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/command_manager.hh:75:5: style: Class 'CommandParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < int >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < Token >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < Token >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < CommandInfo >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < CommandInfo >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:21:15: style: Class 'ArrayView < const StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:31:15: style: Class 'ArrayView < const StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:35:15: style: Class 'ArrayView < const StringView >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:21:15: style: Class 'ArrayView < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:31:15: style: Class 'ArrayView < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:35:15: style: Class 'ArrayView < char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Aliases , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: EnvVars , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Commands , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Undefined , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < String , MemoryDomain :: Completion >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < unsigned long , MemoryDomain :: Commands >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/flags.hh:29:5: style: C-style reference casting [cstyleCast] kakoune-2022.10.31/src/flags.hh:54:5: style: C-style reference casting [cstyleCast] kakoune-2022.10.31/src/flags.hh:73:5: style: C-style reference casting [cstyleCast] kakoune-2022.10.31/src/string_utils.hh:84:34: performance: Function parameter 'other' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/string_utils.hh:85:34: performance: Function parameter 'other' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/hash_map.hh:220:19: style: Variable 'entry' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/hash_map.hh:48:20: style: Variable 'entry' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/utils.hh:130:52: style: Parameter 'rhs' can be declared as pointer to const [constParameterPointer] kakoune-2022.10.31/src/safe_ptr.hh:88:53: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] kakoune-2022.10.31/src/safe_ptr.hh:89:53: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] kakoune-2022.10.31/src/hash_map.hh:47:9: warning:inconclusive: Access of moved variable 'm_entries'. [accessMoved] kakoune-2022.10.31/src/hash_map.hh:46:37: note: Calling std::move(m_entries) kakoune-2022.10.31/src/hash_map.hh:47:9: note: Access of moved variable 'm_entries'. kakoune-2022.10.31/src/completion.hh:88:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/hook_manager.hh:136:105: debug: Scope::checkVariable found variable 'm_hooks' with varid 0. [varid0] kakoune-2022.10.31/src/changes.hh:51:55: debug: Function::addArguments found argument 'pos' with varid 0. [varid0] kakoune-2022.10.31/src/changes.hh:67:55: debug: Function::addArguments found argument 'pos' with varid 0. [varid0] kakoune-2022.10.31/src/file.hh:125:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/option.hh:56:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/option_manager.hh:130:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/option_manager.hh:199:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/value.hh:59:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/utf8_iterator.hh:21:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/utils.hh:16:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/display_buffer.hh:56:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/display_buffer.hh:70:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/option_manager.hh:108:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/option_manager.hh:208:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable validator [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/changes.hh:50:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/changes.hh:66:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/color.hh:59:20: style:inconclusive: Technically the member function 'Kakoune::Color::validate_alpha' can be const. [functionConst] kakoune-2022.10.31/src/color.hh:51:15: style: Struct 'Color' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/color.cc:65:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] kakoune-2022.10.31/src/buffer_utils.cc:167:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable params [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/file.hh:127:5: warning: Member variable 'BufferedWriter::m_buffer' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/keymap_manager.hh:31:5: warning:inconclusive: Member variable 'KeymapManager::m_user_modes' is not assigned in the copy constructor. Should it be copied? [missingMemberCopy] kakoune-2022.10.31/src/selection.hh:51:66: error: Reference to temporary returned. [returnTempReference] kakoune-2022.10.31/src/selection.hh:52:66: error: Reference to temporary returned. [returnTempReference] kakoune-2022.10.31/src/selection.hh:54:54: error: Reference to temporary returned. [returnTempReference] kakoune-2022.10.31/src/selection.hh:55:54: error: Reference to temporary returned. [returnTempReference] kakoune-2022.10.31/src/keys.hh:91:27: style:inconclusive: Technically the member function 'Kakoune::Key::mouse_button' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < char32_t >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < BufferCoord >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/option_manager.hh:146:14: warning: The class 'TypedOption' defines member function with name 'get' also defined in its parent class 'Option'. [duplInheritedMember] kakoune-2022.10.31/src/option_manager.hh:211:39: note: Parent function 'Option::get' kakoune-2022.10.31/src/option_manager.hh:146:14: note: Derived function 'TypedOption::get' kakoune-2022.10.31/src/option_manager.hh:147:8: warning: The class 'TypedOption' defines member function with name 'get_mutable' also defined in its parent class 'Option'. [duplInheritedMember] kakoune-2022.10.31/src/option_manager.hh:220:33: note: Parent function 'Option::get_mutable' kakoune-2022.10.31/src/option_manager.hh:147:8: note: Derived function 'TypedOption::get_mutable' kakoune-2022.10.31/src/file.hh:47:5: style: Struct 'MappedFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/file.hh:127:5: style: Struct 'BufferedWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/display_buffer.hh:109:5: style: Class 'DisplayLine' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/highlighter_group.hh:21:5: style: Class 'HighlighterGroup' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/keys.hh:80:15: style: Struct 'Key' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/option_manager.hh:242:5: style: Class 'OptionsRegistry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/shared_string.hh:25:5: style: Struct 'StringData' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/value.hh:20:5: style: Struct 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/value.hh:61:9: style: Struct 'Model' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/buffer.hh:246:9: style: Struct 'HistoryNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < char32_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < BufferCoord >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < BufferCoord >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Faces , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Highlight , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Mapping , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Options , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: SharedString , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Values , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < DisplayAtom , MemoryDomain :: Display >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Key , MemoryDomain :: Mapping >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < OptionManagerWatcher * , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Modification , MemoryDomain :: BufferMeta >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Change , MemoryDomain :: BufferMeta >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/src/selection.hh:22:5: style: Struct 'Selection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/assert.cc:20:5: style: Struct 'assert_failed' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:21:15: style: Class 'ArrayView < Range < BufferCoord > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:31:15: style: Class 'ArrayView < Range < BufferCoord > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:35:15: style: Class 'ArrayView < Range < BufferCoord > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < String , MemoryDomain :: Selections >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/assert.cc:48:9: style: Condition '!notify_fatal_error(msg)' is always true [knownConditionTrueFalse] kakoune-2022.10.31/src/assert.cc:48:31: note: Calling function 'notify_fatal_error' returns 0 kakoune-2022.10.31/src/assert.cc:48:9: note: Condition '!notify_fatal_error(msg)' is always true kakoune-2022.10.31/src/display_buffer.hh:110:34: performance: Function parameter 'face' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/changes.cc:23:16: style: Variable 'change' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/assert.cc:28:36: style:inconclusive: Function 'notify_fatal_error' argument 1 names different: declaration 'message' definition 'msg'. [funcArgNamesDifferent] kakoune-2022.10.31/src/assert.hh:10:36: note: Function 'notify_fatal_error' argument 1 names different: declaration 'message' definition 'msg'. kakoune-2022.10.31/src/assert.cc:28:36: note: Function 'notify_fatal_error' argument 1 names different: declaration 'message' definition 'msg'. kakoune-2022.10.31/src/selection.hh:107:22: style: Local variable 'main_index' shadows outer function [shadowFunction] kakoune-2022.10.31/src/selection.hh:95:12: note: Shadowed declaration kakoune-2022.10.31/src/selection.hh:107:22: note: Shadow variable kakoune-2022.10.31/src/diff.hh:38:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable forward [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/option_types.hh:39:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/option_types.hh:241:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/option_types.hh:314:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/buffer.cc:44:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lines [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/buffer.cc:86:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable get [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/buffer.cc:278:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable undo_group [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < FDWatcher * , MemoryDomain :: Events >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Timer * , MemoryDomain :: Events >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/buffer_utils.cc:217:20: style: The scope of the variable 'loop' can be reduced. [variableScope] kakoune-2022.10.31/src/buffer_utils.cc:218:18: style: The scope of the variable 'data' can be reduced. [variableScope] kakoune-2022.10.31/src/buffer_utils.cc:329:20: style: Variable 'modification' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/buffer_utils.cc:338:16: style: Variable 'modification' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/buffer_utils.cc:330:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/buffer_utils.cc:339:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/client.cc:51:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < unsigned long >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < SelectionList >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < NormalCmd >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < DisplayCoord >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/context.hh:170:5: style: Struct 'ScopedEdition' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/input_handler.hh:66:5: style: Class 'InputHandler' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < unsigned long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < unsigned long >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < SelectionList >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < SelectionList >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < NormalCmd >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < NormalCmd >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < DisplayCoord >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < DisplayCoord >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < SelectionList , MemoryDomain :: Selections >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Key , MemoryDomain :: Client >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < WindowAndSelections , MemoryDomain :: Client >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/src/context.hh:38:35: performance: Function 'get_as_list()' should return member 'm_jumps' by const reference. [returnByReference] kakoune-2022.10.31/src/insert_completer.hh:114:5: debug: Failed to parse 'using CompleteFunc = InsertCompletion ( const SelectionList & sels , const OptionManager & options , const FaceRegistry & faces ) ;'. The checking continues anyway. [simplifyUsing] kakoune-2022.10.31/src/commands.cc:65:19: debug: Failed to instantiate template "PerArgumentCommandCompleter". The checking continues anyway. [templateInstantiation] kakoune-2022.10.31/src/buffer_manager.cc:124:13: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/buffer.hh:211:10: performance:inconclusive: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/buffer.cc:384:14: note: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2022.10.31/src/buffer.hh:211:10: note: Technically the member function 'Kakoune::Buffer::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2022.10.31/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Range < BufferCoord > , MemoryDomain :: Display >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Range < BufferCoord > , MemoryDomain :: Display >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/option_types.hh:163:36: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/option_types.hh:181:36: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/option_types.hh:234:9: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/option_types.hh:272:42: style: Struct 'WorstMatch' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/option_types.hh:295:36: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/unit_tests.hh:9:5: style: Struct 'UnitTest' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/window.hh:21:5: style: Class 'Window' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Range < BufferCoord > , MemoryDomain :: Display >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/buffer.cc:195:89: style:inconclusive: Function 'reload' argument 4 names different: declaration 'status' definition 'fs_status'. [funcArgNamesDifferent] kakoune-2022.10.31/src/buffer.hh:209:85: note: Function 'reload' argument 4 names different: declaration 'status' definition 'fs_status'. kakoune-2022.10.31/src/buffer.cc:195:89: note: Function 'reload' argument 4 names different: declaration 'status' definition 'fs_status'. kakoune-2022.10.31/src/buffer.cc:168:16: style: Local variable 'max_column' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/selection.hh:13:23: note: Shadowed declaration kakoune-2022.10.31/src/buffer.cc:168:16: note: Shadow variable kakoune-2022.10.31/src/buffer.cc:359:15: style: Local variable 'id' shadows outer argument [shadowArgument] kakoune-2022.10.31/src/buffer.cc:323:32: note: Shadowed declaration kakoune-2022.10.31/src/buffer.cc:359:15: note: Shadow variable kakoune-2022.10.31/src/buffer.cc:437:16: style: Local variable 'end' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer.hh:174:20: note: Shadowed declaration kakoune-2022.10.31/src/buffer.cc:437:16: note: Shadow variable kakoune-2022.10.31/src/buffer.cc:466:16: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2022.10.31/src/buffer.cc:466:16: note: Shadow variable kakoune-2022.10.31/src/buffer.cc:477:14: style: Local variable 'end' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer.hh:174:20: note: Shadowed declaration kakoune-2022.10.31/src/buffer.cc:477:14: note: Shadow variable kakoune-2022.10.31/src/regex_impl.hh:199:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/regex_impl.hh:202:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/regex.hh:36:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/regex.hh:173:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/register_manager.hh:54:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/buffer.cc:85:16: style: Variable 'option' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/buffer.cc:224:20: style: Variable 'd' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/buffer.cc:107:13: style: Variable 'other' can be declared as pointer to const [constVariablePointer] kakoune-2022.10.31/src/buffer.cc:279:5: warning:inconclusive: Access of moved variable 'm_current_undo_group'. [accessMoved] kakoune-2022.10.31/src/buffer.cc:278:35: note: Calling std::move(m_current_undo_group) kakoune-2022.10.31/src/buffer.cc:279:5: note: Access of moved variable 'm_current_undo_group'. kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < char , MemoryDomain :: Remote >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < DisplayLine , MemoryDomain :: Display >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/client_manager.cc:20:32: style:inconclusive: Function 'clear' argument 1 names different: declaration 'exit' definition 'disconnect_clients'. [funcArgNamesDifferent] kakoune-2022.10.31/src/client_manager.hh:30:21: note: Function 'clear' argument 1 names different: declaration 'exit' definition 'disconnect_clients'. kakoune-2022.10.31/src/client_manager.cc:20:32: note: Function 'clear' argument 1 names different: declaration 'exit' definition 'disconnect_clients'. kakoune-2022.10.31/src/client_manager.cc:230:62: style:inconclusive: Function 'complete_client_name' argument 1 names different: declaration 'name' definition 'prefix'. [funcArgNamesDifferent] kakoune-2022.10.31/src/client_manager.hh:52:51: note: Function 'complete_client_name' argument 1 names different: declaration 'name' definition 'prefix'. kakoune-2022.10.31/src/client_manager.cc:230:62: note: Function 'complete_client_name' argument 1 names different: declaration 'name' definition 'prefix'. kakoune-2022.10.31/src/display_buffer.hh:110:34: performance: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. [passedByValueCallback] kakoune-2022.10.31/src/client.cc:443:61: note: Function pointer used here. kakoune-2022.10.31/src/display_buffer.hh:110:34: note: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. kakoune-2022.10.31/src/client.cc:160:42: performance: Function parameter 's' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/regex_impl.hh:235:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:288:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable copy [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:352:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scheduled [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:465:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:513:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable count [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:539:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EndOfLookaround [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex.hh:213:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/command_manager.cc:281:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parse_quoted_balanced < '{' , '}' > [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/command_manager.cc:519:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/command_manager.cc:589:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/command_manager.cc:634:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/command_manager.cc:648:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/command_manager.cc:795:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable content [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/hash.hh:64:22: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/array_view.hh:13:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/event_manager.cc:115:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chrono [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/event_manager.cc:170:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/array_view.hh:21:15: style: Class 'ArrayView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:31:15: style: Class 'ArrayView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:35:15: style: Class 'ArrayView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/event_manager.cc:76:65: style: Parameter 'sigmask' can be declared as pointer to const [constParameterPointer] kakoune-2022.10.31/src/event_manager.cc:108:57: style: Parameter 'lhs' can be declared as pointer to const [constParameterPointer] kakoune-2022.10.31/src/event_manager.cc:108:69: style: Parameter 'rhs' can be declared as pointer to const [constParameterPointer] kakoune-2022.10.31/src/array_view.hh:27:38: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] kakoune-2022.10.31/src/file.cc:653:0: error: #error "finding executable path is not implemented on this platform" [preprocessorErrorDirective] kakoune-2022.10.31/src/hash.cc:31:30: style:inconclusive: Function 'hash_data' argument 1 names different: declaration 'data' definition 'input'. [funcArgNamesDifferent] kakoune-2022.10.31/src/hash.hh:12:30: note: Function 'hash_data' argument 1 names different: declaration 'data' definition 'input'. kakoune-2022.10.31/src/hash.cc:31:30: note: Function 'hash_data' argument 1 names different: declaration 'data' definition 'input'. kakoune-2022.10.31/src/display_buffer.cc:60:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/display_buffer.cc:70:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Range [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/display_buffer.cc:273:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable begin [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/display_buffer.cc:370:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/face_registry.cc:97:30: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/regex.hh:207:14: performance:inconclusive: Technically the member function 'Kakoune::RegexIterator::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/regex_impl.hh:205:5: style: Class 'ThreadedRegexVM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex.hh:72:5: style: Struct 'MatchResults' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex.hh:58:9: style: Struct 'iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex.hh:181:9: style: Struct 'It' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/register_manager.hh:40:5: style: Class 'StaticRegister' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/command_manager.cc:95:5: style: Struct 'parse_error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Registers , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Range , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Instruction , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < CharacterClass , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Lookaround , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < NamedCapture , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < String , MemoryDomain :: Registers >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex.hh:217:67: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] kakoune-2022.10.31/src/regex_impl.hh:471:32: style: Condition '++current_step==0' is always false [knownConditionTrueFalse] kakoune-2022.10.31/src/command_manager.cc:335:12: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2022.10.31/src/command_manager.cc:335:12: note: Shadow variable kakoune-2022.10.31/src/command_manager.cc:28:46: performance: Function parameter 'command_name' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/command_manager.cc:481:63: performance: Function parameter 's' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/regex_impl.hh:482:24: style: Variable 'thread' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/regex_impl.hh:489:28: style: Variable 't' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/command_manager.cc:546:29: style: Variable 'error' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/command_manager.cc:618:16: style: Variable 'alias' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/command_manager.cc:619:17: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/command_manager.cc:370:48: warning: Conversion of char literal ' ' to bool always evaluates to true. [incorrectCharBooleanError] kakoune-2022.10.31/src/regex_impl.hh:305:22: style: Variable 'saves' is assigned a value that is never used. [unreadVariable] kakoune-2022.10.31/src/display_buffer.cc:96:67: style:inconclusive: Function 'split' argument 2 names different: declaration 'pos' definition 'count'. [funcArgNamesDifferent] kakoune-2022.10.31/src/display_buffer.hh:130:45: note: Function 'split' argument 2 names different: declaration 'pos' definition 'count'. kakoune-2022.10.31/src/display_buffer.cc:96:67: note: Function 'split' argument 2 names different: declaration 'pos' definition 'count'. kakoune-2022.10.31/src/display_buffer.cc:292:12: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2022.10.31/src/display_buffer.cc:292:12: note: Shadow variable kakoune-2022.10.31/src/display_buffer.cc:195:16: style: Variable 'atom' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/display_buffer.cc:256:16: style: Variable 'atom' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/display_buffer.cc:318:32: style: Variable 'atom' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/display_buffer.cc:196:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/display_buffer.cc:319:29: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/display_buffer.cc:177:22: warning: Iterators to containers from different expressions 'next' and 'atom' are used together. [mismatchingContainerExpression] kakoune-2022.10.31/src/context.cc:201:10: style: Local variable 'last_buffer' shadows outer function [shadowFunction] kakoune-2022.10.31/src/context.hh:140:13: note: Shadowed declaration kakoune-2022.10.31/src/context.cc:201:10: note: Shadow variable kakoune-2022.10.31/src/context.cc:207:16: style: Local variable 'jump_list' shadows outer function [shadowFunction] kakoune-2022.10.31/src/context.hh:128:15: note: Shadowed declaration kakoune-2022.10.31/src/context.cc:207:16: note: Shadow variable kakoune-2022.10.31/src/context.cc:149:38: style: Parameter 'buffer' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/context.cc:248:11: style: Variable 'buf' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/context.cc:251:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/hook_manager.hh:64:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2022.10.31/src/hash_map.cc:185:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chrono [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex.hh:42:75: error: Syntax error. Unexpected tokens in initializer. [internalAstError] kakoune-2022.10.31/src/highlighter_group.cc:68:22: style: Variable 'hl' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/hash_map.hh:21:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/hash_map.hh:175:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/hash_map.hh:200:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable multi_key [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/option.hh:89:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2022.10.31/src/highlighter.cc:8:46: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/highlighter.cc:20:58: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/json_ui.cc:122:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Args [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/json_ui.cc:142:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/json_ui.cc:219:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _sv [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/json_ui.cc:21:5: style: Struct 'invalid_rpc_request' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/json_ui.cc:146:57: style:inconclusive: Function 'draw' argument 3 names different: declaration 'buffer_padding' definition 'padding_face'. [funcArgNamesDifferent] kakoune-2022.10.31/src/json_ui.hh:26:27: note: Function 'draw' argument 3 names different: declaration 'buffer_padding' definition 'padding_face'. kakoune-2022.10.31/src/json_ui.cc:146:57: note: Function 'draw' argument 3 names different: declaration 'buffer_padding' definition 'padding_face'. kakoune-2022.10.31/src/json_ui.cc:213:37: style:inconclusive: Function 'eval_json' argument 1 names different: declaration 'value' definition 'json'. [funcArgNamesDifferent] kakoune-2022.10.31/src/json_ui.hh:53:33: note: Function 'eval_json' argument 1 names different: declaration 'value' definition 'json'. kakoune-2022.10.31/src/json_ui.cc:213:37: note: Function 'eval_json' argument 1 names different: declaration 'value' definition 'json'. kakoune-2022.10.31/src/json_ui.cc:58:21: performance: Function parameter 'face' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/keys.cc:93:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/keymap_manager.cc:29:15: style: Variable 'map' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/parameters_parser.cc:8:47: style:inconclusive: Function 'generate_switches_doc' argument 1 names different: declaration 'opts' definition 'switches'. [funcArgNamesDifferent] kakoune-2022.10.31/src/parameters_parser.hh:48:47: note: Function 'generate_switches_doc' argument 1 names different: declaration 'opts' definition 'switches'. kakoune-2022.10.31/src/parameters_parser.cc:8:47: note: Function 'generate_switches_doc' argument 1 names different: declaration 'opts' definition 'switches'. kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/src/option_manager.cc:46:5: style: Struct 'option_not_found' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Range < LineCount > , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/line_modification.cc:145:37: style: Parameter 'r' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/input_handler.cc:581:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/input_handler.cc:772:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable initstr [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/input_handler.cc:1216:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/input_handler.cc:1320:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/input_handler.cc:1459:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/input_handler.cc:1496:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/insert_completer.cc:136:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable other_buffers [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/insert_completer.cc:211:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable require_slash [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/insert_completer.cc:273:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/insert_completer.cc:387:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable other_buffers [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/insert_completer.cc:437:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/insert_completer.cc:518:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable placeholders [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:366:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:541:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable option_name [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:572:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line_expr [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:624:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable col_expr [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:717:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:1172:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:1457:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:1982:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/highlighters.cc:2447:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable create [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:235:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Search [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:465:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Search [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:587:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotBeginOfLine [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:594:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotEndOfLine [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:601:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotBeginOfWord [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:289:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable save_count [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/ranked_match.hh:48:27: style: Unused private function: 'RankedMatch::with_bit_ops' [unusedPrivateFunction] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < SubseqRes >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < SubseqRes >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < SubseqRes >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/ranked_match.cc:113:75: style:inconclusive: Function 'RankedMatch' argument 3 names different: declaration 'test' definition 'func'. [funcArgNamesDifferent] kakoune-2022.10.31/src/ranked_match.hh:34:66: note: Function 'RankedMatch' argument 3 names different: declaration 'test' definition 'func'. kakoune-2022.10.31/src/ranked_match.cc:113:75: note: Function 'RankedMatch' argument 3 names different: declaration 'test' definition 'func'. kakoune-2022.10.31/src/regex.cc:16:57: style: Parameter 'c' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/ref_ptr.hh:30:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/regex_impl.cc:1037:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_step [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.cc:1058:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.cc:844:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable split [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.cc:128:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable children_end [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:304:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Saves [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.cc:735:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable save_index [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.cc:893:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyChar [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:2040:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/main.cc:296:16: debug: Scope::checkVariable found variable 'coord' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:297:17: debug: Scope::checkVariable found variable 'buffer' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:302:16: debug: Scope::checkVariable found variable 'coord' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:307:16: debug: Scope::checkVariable found variable 'coord' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:314:16: debug: Scope::checkVariable found variable 'cursor' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:368:18: debug: Scope::checkVariable found variable 'setup' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:203:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:207:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:211:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:215:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:219:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:223:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:227:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:232:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:236:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:240:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:244:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:248:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:252:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:256:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:261:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:265:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:269:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:273:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:277:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:283:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:287:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:291:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:295:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:301:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:306:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:313:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:318:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:322:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:329:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:336:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:343:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:347:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:354:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:358:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:362:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:366:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:374:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/main.cc:378:44: debug: Function::addArguments found argument 'context' with varid 0. [varid0] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < String >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/insert_completer.hh:80:5: style: Class 'InsertCompleter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/word_db.hh:23:5: style: Class 'WordDB' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex.hh:72:5: style: Struct 'MatchResults < String :: const_iterator >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < String >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < String >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: WordDB , Vector >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Candidate , MemoryDomain :: Completion >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < InsertCompleterDesc , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/display_buffer.hh:110:34: performance: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. [passedByValueCallback] kakoune-2022.10.31/src/insert_completer.cc:309:17: note: Function pointer used here. kakoune-2022.10.31/src/display_buffer.hh:110:34: note: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. kakoune-2022.10.31/src/insert_completer.cc:127:64: style: Parameter 'm' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/insert_completer.cc:169:45: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/insert_completer.cc:169:56: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/insert_completer.cc:317:29: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/insert_completer.cc:317:40: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/insert_completer.cc:522:20: style: Variable 'completer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/insert_completer.cc:579:16: style: Variable 'completer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/utf8_iterator.hh:30:5: warning: Member variable 'iterator < const char * , const char * , char32_t , int , InvalidPolicy >::m_it' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/utf8_iterator.hh:30:5: warning: Member variable 'iterator < const char * , const char * , char32_t , int , InvalidPolicy >::m_begin' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/utf8_iterator.hh:30:5: warning: Member variable 'iterator < const char * , const char * , char32_t , int , InvalidPolicy >::m_end' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/regex_impl.cc:176:27: style: Unused private function: 'RegexParser::with_bit_ops' [unusedPrivateFunction] kakoune-2022.10.31/src/insert_completer.cc:149:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/insert_completer.cc:224:24: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/insert_completer.cc:458:20: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/insert_completer.cc:563:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/insert_completer.cc:583:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/regex_impl.cc:139:14: performance:inconclusive: Technically the member function 'Children < RegexMode :: Forward >::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < ParsedRegex :: NodeIndex >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < Node , MemoryDomain :: Regex >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < Node , MemoryDomain :: Regex >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < CompiledRegex :: NamedCapture , MemoryDomain :: Regex >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < CompiledRegex :: NamedCapture , MemoryDomain :: Regex >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < CharacterClass :: Range , MemoryDomain :: Regex >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < CharacterClass :: Range , MemoryDomain :: Regex >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/regex_impl.cc:151:5: style: Struct 'RegexParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex_impl.cc:1198:5: style: Struct 'TestVM < RegexMode :: Forward >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex_impl.cc:1198:5: style: Struct 'TestVM < RegexMode :: Forward | RegexMode :: Search >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex_impl.cc:1198:5: style: Struct 'TestVM < RegexMode :: Backward | RegexMode :: Search >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex_impl.hh:205:5: style: Class 'ThreadedRegexVM < const char * , RegexMode :: Forward >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex_impl.hh:205:5: style: Class 'ThreadedRegexVM < const char * , RegexMode :: Forward | RegexMode :: Search >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex_impl.hh:205:5: style: Class 'ThreadedRegexVM < const char * , RegexMode :: Backward | RegexMode :: Search >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < ParsedRegex :: NodeIndex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < ParsedRegex :: NodeIndex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Node , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < CompiledRegex :: NamedCapture , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < CharacterClass :: Range , MemoryDomain :: Regex >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex_impl.cc:733:44: style: Condition 'RegexMode::Forward==RegexMode::Forward' is always true [knownConditionTrueFalse] kakoune-2022.10.31/src/regex_impl.cc:951:36: style: Local variable 'clamp' shadows outer function [shadowFunction] kakoune-2022.10.31/src/utils.hh:136:10: note: Shadowed declaration kakoune-2022.10.31/src/regex_impl.cc:951:36: note: Shadow variable kakoune-2022.10.31/src/regex_impl.cc:773:26: style: Local variable 'node' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/regex_impl.cc:726:15: note: Shadowed declaration kakoune-2022.10.31/src/regex_impl.cc:773:26: note: Shadow variable kakoune-2022.10.31/src/regex_impl.cc:395:69: style: Parameter 'c' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/regex_impl.cc:434:28: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/regex_impl.cc:434:39: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/regex_impl.cc:637:19: style: Variable 'child' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/regex_impl.cc:1175:39: style: Parameter 'range' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/regex_impl.cc:840:15: style: Variable 'quantifier' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/regex_impl.cc:823:20: style: Variable 'offset' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/highlighters.cc:2375:74: error: Using reference to dangling temporary. [danglingTempReference] kakoune-2022.10.31/src/highlighters.cc:2371:31: note: Assigned to reference. kakoune-2022.10.31/src/highlighters.cc:2375:74: note: Using reference to dangling temporary. kakoune-2022.10.31/src/highlighters.cc:2378:27: error: Using reference to dangling temporary. [danglingTempReference] kakoune-2022.10.31/src/highlighters.cc:2371:31: note: Assigned to reference. kakoune-2022.10.31/src/highlighters.cc:2378:27: note: Using reference to dangling temporary. kakoune-2022.10.31/src/regex_impl.cc:402:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/main.cc:175:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/main.cc:531:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/main.cc:608:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/main.cc:687:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/main.cc:711:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/main.cc:1047:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/main.cc:1058:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Kakoune [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:78:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:131:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:146:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:159:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:294:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:363:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:524:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posA [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:549:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable replace [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:688:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:724:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:745:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:793:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:910:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex_mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:943:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regex_mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:979:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable smart [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1002:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1024:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1050:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1088:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1121:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable matching [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1185:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1211:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1235:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1272:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1405:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable half [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1434:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1469:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1488:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1514:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1578:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable direction [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1607:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1655:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1742:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _str [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1919:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable combine [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1939:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable combine [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:2034:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable above [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:2064:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:2179:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_data [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:2184:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keymap_max_size [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/regex_impl.hh:305:16: style: Variable 'saves' is allocated memory that is never used. [unusedAllocatedMemory] kakoune-2022.10.31/src/input_handler.hh:83:10: style:inconclusive: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. [functionConst] kakoune-2022.10.31/src/input_handler.cc:1646:20: note: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. kakoune-2022.10.31/src/input_handler.hh:83:10: note: Technically the member function 'Kakoune::InputHandler::set_prompt_face' can be const. kakoune-2022.10.31/src/input_handler.cc:1472:10: style:inconclusive: Technically the member function 'Kakoune::InputModes::Insert::prepare' can be const. [functionConst] kakoune-2022.10.31/src/input_handler.cc:177:5: style: Class 'Normal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/input_handler.cc:445:5: style: Class 'LineEditor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/highlighters.cc:2145: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-2022.10.31/src/highlighters.cc:2276: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-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < SplitPos >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < RegionAndMatch >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/memory.hh:114:8: performance:inconclusive: Technically the member function 'Allocator < std :: pair < unsigned long , String > , MemoryDomain :: Highlight >::allocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/memory.hh:121:10: performance:inconclusive: Technically the member function 'Allocator < std :: pair < unsigned long , String > , MemoryDomain :: Highlight >::deallocate' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/highlighters.cc:2081:9: style: Struct 'RegionHighlighter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/highlighters.cc:1548: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-2022.10.31/src/highlighters.cc:1548: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-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < SplitPos >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < SplitPos >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < RegionAndMatch >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < RegionAndMatch >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < std :: pair < unsigned long , String > , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Range < BufferCoord > , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Codepoint , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < RegexMatch , MemoryDomain :: Regions >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Region , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < RangeAndMatches , MemoryDomain :: Highlight >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/highlighters.cc:2086:14: style: The function 'has_children' overrides a function in a base class but just delegates back to the base class. [uselessOverride] kakoune-2022.10.31/src/highlighter.hh:69:18: note: Virtual function in base class kakoune-2022.10.31/src/highlighters.cc:2086:14: note: Function in derived class kakoune-2022.10.31/src/highlighters.cc:2091:22: style: The function 'get_child' overrides a function in a base class but just delegates back to the base class. [uselessOverride] kakoune-2022.10.31/src/highlighter.hh:70:26: note: Virtual function in base class kakoune-2022.10.31/src/highlighters.cc:2091:22: note: Function in derived class kakoune-2022.10.31/src/highlighters.cc:2101:14: style: The function 'remove_child' overrides a function in a base class but just delegates back to the base class. [uselessOverride] kakoune-2022.10.31/src/highlighter.hh:72:18: note: Virtual function in base class kakoune-2022.10.31/src/highlighters.cc:2101:14: note: Function in derived class kakoune-2022.10.31/src/input_handler.cc:1582:40: style:inconclusive: Function 'pop_mode' argument 1 names different: declaration 'current_mode' definition 'mode'. [funcArgNamesDifferent] kakoune-2022.10.31/src/input_handler.hh:133:30: note: Function 'pop_mode' argument 1 names different: declaration 'current_mode' definition 'mode'. kakoune-2022.10.31/src/input_handler.cc:1582:40: note: Function 'pop_mode' argument 1 names different: declaration 'current_mode' definition 'mode'. kakoune-2022.10.31/src/input_handler.cc:1658:65: style:inconclusive: Function 'on_next_key' argument 2 names different: declaration 'mode' definition 'keymap_mode'. [funcArgNamesDifferent] kakoune-2022.10.31/src/input_handler.hh:93:55: note: Function 'on_next_key' argument 2 names different: declaration 'mode' definition 'keymap_mode'. kakoune-2022.10.31/src/input_handler.cc:1658:65: note: Function 'on_next_key' argument 2 names different: declaration 'mode' definition 'keymap_mode'. kakoune-2022.10.31/src/input_handler.cc:907:24: style: Local variable 'reverse' shadows outer function [shadowFunction] kakoune-2022.10.31/src/ranges.hh:70:16: note: Shadowed declaration kakoune-2022.10.31/src/input_handler.cc:907:24: note: Shadow variable kakoune-2022.10.31/src/input_handler.cc:1325:19: style: Local variable 'buffer' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/input_handler.cc:1251:15: note: Shadowed declaration kakoune-2022.10.31/src/input_handler.cc:1325:19: note: Shadow variable kakoune-2022.10.31/src/input_handler.cc:1648:25: style: Local variable 'prompt' shadows outer function [shadowFunction] kakoune-2022.10.31/src/input_handler.hh:80:10: note: Shadowed declaration kakoune-2022.10.31/src/input_handler.cc:1648:25: note: Shadow variable kakoune-2022.10.31/src/display_buffer.hh:110:34: performance: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. [passedByValueCallback] kakoune-2022.10.31/src/input_handler.cc:580:20: note: Function pointer used here. kakoune-2022.10.31/src/display_buffer.hh:110:34: note: Function parameter 'face' should be passed by const reference. However it seems that 'DisplayLine' is a callback function. kakoune-2022.10.31/src/input_handler.cc:750:19: performance: Function parameter 'initstr' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/input_handler.cc:1010:31: performance: Function parameter 'face' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/input_handler.cc:1638:32: performance: Function parameter 'prompt_face' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/input_handler.cc:1646:41: performance: Function parameter 'prompt_face' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/input_handler.cc:274:42: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/input_handler.cc:947:54: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/input_handler.cc:947:65: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/input_handler.cc:948:57: style: Parameter 'm' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/input_handler.cc:1059:19: style: Variable 'completer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/input_handler.cc:1713:20: style: Variable 'keymaps' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/highlighters.cc:2175: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-2022.10.31/src/highlighters.cc:2176:25: note: Assignment 'beg_pos=end_it->end_coord()' kakoune-2022.10.31/src/highlighters.cc:2175:25: note: Condition 'beg_pos!=end_it->end_coord()' is redundant kakoune-2022.10.31/src/input_handler.cc:1074:27: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/input_handler.cc:1293:22: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/main.cc:723:20: error:inconclusive: Using object that is a temporary. [danglingTemporaryLifetime] kakoune-2022.10.31/src/main.cc:717:51: note: Passed to constructor of 'RemoteClient'. kakoune-2022.10.31/src/main.cc:721:13: note: Assuming condition is false kakoune-2022.10.31/src/main.cc:717:51: note: Temporary created here. kakoune-2022.10.31/src/main.cc:723:20: note: Using object that is a temporary. kakoune-2022.10.31/src/highlighters.cc:279:14: style: Local variable 'overlaps' shadows outer function [shadowFunction] kakoune-2022.10.31/src/selection.hh:64:13: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:279:14: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:429:24: style: Local variable 'matches' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/highlighters.cc:402:15: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:429:24: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:719:31: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2022.10.31/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:719:31: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:750:26: style: Local variable 'it' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/highlighters.cc:714:19: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:750:26: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:819:31: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2022.10.31/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:819:31: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:868:20: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:868:20: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:930:22: style: Local variable 'split' shadows outer function [shadowFunction] kakoune-2022.10.31/src/ranges.hh:399:6: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:930:22: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:932:22: style: Local variable 'split' shadows outer function [shadowFunction] kakoune-2022.10.31/src/ranges.hh:399:6: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:932:22: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:1166:14: style: Local variable 'format' shadows outer function [shadowFunction] kakoune-2022.10.31/src/string_utils.hh:157:8: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:1166:14: note: Shadow variable kakoune-2022.10.31/src/highlighters.cc:1467:22: style: Local variable 'it' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/highlighters.cc:1458:18: note: Shadowed declaration kakoune-2022.10.31/src/highlighters.cc:1467:22: note: Shadow variable kakoune-2022.10.31/src/remote.cc:204:5: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kakoune-2022.10.31/src/highlighters.cc:235:45: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/highlighters.cc:573:35: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/highlighters.cc:625:35: performance: Function parameter 'context' should be passed by const reference. [passedByValue] kakoune-2022.10.31/src/highlighters.cc:1228:42: performance: Function parameter 'context' should be passed by const reference. However it seems that 'show_matching_char' is a callback function. [passedByValueCallback] kakoune-2022.10.31/src/highlighters.cc:1288:29: note: Function pointer used here. kakoune-2022.10.31/src/highlighters.cc:1228:42: note: Function parameter 'context' should be passed by const reference. However it seems that 'show_matching_char' is a callback function. kakoune-2022.10.31/src/highlighters.cc:1324:42: performance: Function parameter 'context' should be passed by const reference. However it seems that 'expand_unprintable' is a callback function. [passedByValueCallback] kakoune-2022.10.31/src/highlighters.cc:2413:57: note: Function pointer used here. kakoune-2022.10.31/src/highlighters.cc:1324:42: note: Function parameter 'context' should be passed by const reference. However it seems that 'expand_unprintable' is a callback function. kakoune-2022.10.31/src/highlighters.cc:61:15: style: Variable 'range' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/highlighters.cc:381:24: style: Variable 'face' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/highlighters.cc:1007:15: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/highlighters.cc:1978:26: style: Variable 'hl' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/highlighters.cc:2024:13: style: Instance of 'Regex' object is destroyed immediately. [unusedScopedObject] kakoune-2022.10.31/src/highlighters.cc:65:66: warning: Missing bounds check for extra iterator increment in loop. [StlMissingComparison] kakoune-2022.10.31/src/highlighters.cc:81:19: note: Missing bounds check for extra iterator increment in loop. kakoune-2022.10.31/src/highlighters.cc:65:66: note: Missing bounds check for extra iterator increment in loop. kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/register_manager.cc:104:72: style: Parameter 'i' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/highlighters.cc:1844:20: style: struct member 'RegionMatches::begin_matches' is never used. [unusedStructMember] kakoune-2022.10.31/src/highlighters.cc:1845:20: style: struct member 'RegionMatches::end_matches' is never used. [unusedStructMember] kakoune-2022.10.31/src/highlighters.cc:1846:20: style: struct member 'RegionMatches::recurse_matches' is never used. [unusedStructMember] kakoune-2022.10.31/src/remote.cc:79:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:166:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:177:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32_t [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:190:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32_t [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:209:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:261:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:299:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:450:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOL_SOCKET [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:616:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:675:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reader [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:864:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_un [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < Key >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < Key >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < Key >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < char32_t , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < String , MemoryDomain :: Options >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/main.cc:172:21: style: Local variable 'runtime_directory' shadows outer function [shadowFunction] kakoune-2022.10.31/src/main.cc:170:8: note: Shadowed declaration kakoune-2022.10.31/src/main.cc:172:21: note: Shadow variable kakoune-2022.10.31/src/main.cc:924:28: style: Local variable 'session' shadows outer argument [shadowArgument] kakoune-2022.10.31/src/main.cc:752:27: note: Shadowed declaration kakoune-2022.10.31/src/main.cc:924:28: note: Shadow variable kakoune-2022.10.31/src/main.cc:914:30: performance:inconclusive: Use const reference for 'buffer_name' to avoid unnecessary data copying. [redundantCopyLocalConst] kakoune-2022.10.31/src/main.cc:969:28: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/main.cc:980:20: style: Variable 'file' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/main.cc:157:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < Selection >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/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-2022.10.31/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-2022.10.31/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-2022.10.31/src/normal.cc:2188: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-2022.10.31/src/constexpr_utils.hh:16:22: note: Parent function 'Array < std :: conditional_t < has_value , HashItem < Key , NormalCmd > , Key > , keymap_max_size >::size' kakoune-2022.10.31/src/normal.cc:2188:22: note: Derived function 'KeymapBackend < std :: conditional_t < has_value , HashItem < Key , NormalCmd > , Key > , MemoryDomain :: Undefined >::size' kakoune-2022.10.31/src/normal.cc:1328:52: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/normal.cc:1788:36: style: Struct 'error' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/normal.cc:2043:15: style: Class 'Repeated' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < Selection >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < Selection >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/hash_map.hh:32:15: style: Struct 'HashIndex < MemoryDomain :: Undefined , KeymapBackend >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/memory.hh:109:5: style: Struct 'Allocator < Selection , MemoryDomain :: Selections >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/selection.cc:57:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rmin [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/selection.cc:161:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/normal.cc:1194:26: style: Condition 'new_main==-1' is always false [knownConditionTrueFalse] kakoune-2022.10.31/src/normal.cc:182:38: style: C-style pointer casting [cstyleCast] kakoune-2022.10.31/src/selectors.hh:68:12: debug: Failed to instantiate template "make_array". The checking continues anyway. [templateInstantiation] kakoune-2022.10.31/src/normal.cc:304:29: style: Local variable 'buffer' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/normal.cc:226:19: note: Shadowed declaration kakoune-2022.10.31/src/normal.cc:304:29: note: Shadow variable kakoune-2022.10.31/src/normal.cc:1239:18: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2022.10.31/src/normal.cc:1239:18: note: Shadow variable kakoune-2022.10.31/src/normal.cc:1668:22: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2022.10.31/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2022.10.31/src/normal.cc:1668:22: note: Shadow variable kakoune-2022.10.31/src/normal.cc:1676:14: style: Local variable 'line' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/normal.cc:1664:10: note: Shadowed declaration kakoune-2022.10.31/src/normal.cc:1676:14: note: Shadow variable kakoune-2022.10.31/src/normal.cc:1781:10: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2022.10.31/src/normal.cc:1781:10: note: Shadow variable kakoune-2022.10.31/src/normal.cc:1908:10: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2022.10.31/src/normal.cc:1908:10: note: Shadow variable kakoune-2022.10.31/src/normal.cc:162:34: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:175:11: style: Variable 'keymaps' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/normal.cc:188:16: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/normal.cc:503:23: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:659:31: style: Parameter 'buffer' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:820:53: style: Parameter 'lhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:820:64: style: Parameter 'rhs' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:1306:37: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:1306:57: style: Parameter 'sel' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:1528:23: style: Variable 'func' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/normal.cc:1534:44: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:1569:20: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/normal.cc:1912:15: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/normal.cc:2018:20: style: Variable 'key' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/normal.cc:2149:20: style: Variable 'sels' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/normal.cc:2157:28: style: Parameter 'context' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/normal.cc:1706:42: warning: Access of moved variable 'tabs'. [accessMoved] kakoune-2022.10.31/src/normal.cc:1706:32: note: Calling std::move(tabs) kakoune-2022.10.31/src/normal.cc:1706:42: note: Access of moved variable 'tabs'. kakoune-2022.10.31/src/normal.cc:1742:42: warning: Access of moved variable 'spaces'. [accessMoved] kakoune-2022.10.31/src/normal.cc:1742:32: note: Calling std::move(spaces) kakoune-2022.10.31/src/normal.cc:1742:42: note: Access of moved variable 'spaces'. kakoune-2022.10.31/src/remote.cc:584:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] kakoune-2022.10.31/src/normal.cc:189:15: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/normal.cc:1877:47: style: Consider using std::copy algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/remote.cc:426:19: style:inconclusive: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_send_buffer' due to the order of declarations. [initializerList] kakoune-2022.10.31/src/remote.cc:464:7: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_send_buffer' due to the order of declarations. kakoune-2022.10.31/src/remote.cc:426:19: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_send_buffer' due to the order of declarations. kakoune-2022.10.31/src/remote.cc:426:19: style:inconclusive: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_reader' due to the order of declarations. [initializerList] kakoune-2022.10.31/src/remote.cc:464:7: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_reader' due to the order of declarations. kakoune-2022.10.31/src/remote.cc:426:19: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_reader' due to the order of declarations. kakoune-2022.10.31/src/remote.cc:426:19: style:inconclusive: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. [initializerList] kakoune-2022.10.31/src/remote.cc:464:7: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. kakoune-2022.10.31/src/remote.cc:426:19: note: Member variable 'RemoteUI::m_socket_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. kakoune-2022.10.31/src/string.cc:11:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capacity [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/string.cc:67:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable capacity [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/remote.cc:774:5: style: Class 'Accepter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/remote.cc:80:20: style: C-style pointer casting [cstyleCast] kakoune-2022.10.31/src/remote.cc:629:23: style: C-style pointer casting [cstyleCast] kakoune-2022.10.31/src/remote.cc:639:26: style: C-style pointer casting [cstyleCast] kakoune-2022.10.31/src/remote.cc:864:27: style: C-style pointer casting [cstyleCast] kakoune-2022.10.31/src/remote.cc:875:41: style: C-style pointer casting [cstyleCast] kakoune-2022.10.31/src/remote.cc:851:42: style:inconclusive: Function 'Server' argument 2 names different: declaration 'daemon' definition 'is_daemon'. [funcArgNamesDifferent] kakoune-2022.10.31/src/remote.hh:53:38: note: Function 'Server' argument 2 names different: declaration 'daemon' definition 'is_daemon'. kakoune-2022.10.31/src/remote.cc:851:42: note: Function 'Server' argument 2 names different: declaration 'daemon' definition 'is_daemon'. kakoune-2022.10.31/src/remote.cc:354:16: style: Local variable 'content' shadows outer function [shadowFunction] kakoune-2022.10.31/src/buffer_utils.hh:13:15: note: Shadowed declaration kakoune-2022.10.31/src/remote.cc:354:16: note: Shadow variable kakoune-2022.10.31/src/remote.cc:98:20: style: Variable 'val' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/remote.cc:872:39: style: Parameter 'watcher' can be declared as reference to const [constParameterReference] kakoune-2022.10.31/src/selection.hh:91:10: performance:inconclusive: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/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-2022.10.31/src/selection.hh:91:10: note: Technically the member function 'Kakoune::SelectionList::check_invariant' can be static (but you may consider moving to unnamed namespace). kakoune-2022.10.31/src/selection.cc:19:64: style:inconclusive: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. [funcArgNamesDifferent] kakoune-2022.10.31/src/selection.hh:88:53: note: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. kakoune-2022.10.31/src/selection.cc:19:64: note: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. kakoune-2022.10.31/src/selection.cc:27:64: style:inconclusive: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. [funcArgNamesDifferent] kakoune-2022.10.31/src/selection.hh:87:53: note: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. kakoune-2022.10.31/src/selection.cc:27:64: note: Function 'SelectionList' argument 2 names different: declaration 's' definition 'list'. kakoune-2022.10.31/src/selection.cc:217:42: style:inconclusive: Function 'clamp_selections' argument 1 names different: declaration 'sel' definition 'selections'. [funcArgNamesDifferent] kakoune-2022.10.31/src/selection.hh:76:42: note: Function 'clamp_selections' argument 1 names different: declaration 'sel' definition 'selections'. kakoune-2022.10.31/src/selection.cc:217:42: note: Function 'clamp_selections' argument 1 names different: declaration 'sel' definition 'selections'. kakoune-2022.10.31/src/selection.cc:299:61: style:inconclusive: Function 'sort_selections' argument 2 names different: declaration 'main' definition 'main_index'. [funcArgNamesDifferent] kakoune-2022.10.31/src/selection.hh:74:61: note: Function 'sort_selections' argument 2 names different: declaration 'main' definition 'main_index'. kakoune-2022.10.31/src/selection.cc:299:61: note: Function 'sort_selections' argument 2 names different: declaration 'main' definition 'main_index'. kakoune-2022.10.31/src/selection.cc:317:74: style:inconclusive: Function 'merge_overlapping_selections' argument 2 names different: declaration 'main' definition 'main_index'. [funcArgNamesDifferent] kakoune-2022.10.31/src/selection.hh:75:74: note: Function 'merge_overlapping_selections' argument 2 names different: declaration 'main' definition 'main_index'. kakoune-2022.10.31/src/selection.cc:317:74: note: Function 'merge_overlapping_selections' argument 2 names different: declaration 'main' definition 'main_index'. kakoune-2022.10.31/src/selection.cc:365:40: style:inconclusive: Function 'for_each' argument 1 names different: declaration 'apply' definition 'func'. [funcArgNamesDifferent] kakoune-2022.10.31/src/selection.hh:140:29: note: Function 'for_each' argument 1 names different: declaration 'apply' definition 'func'. kakoune-2022.10.31/src/selection.cc:365:40: note: Function 'for_each' argument 1 names different: declaration 'apply' definition 'func'. kakoune-2022.10.31/src/selection.cc:469:10: style: Local variable 'to_string' shadows outer function [shadowFunction] kakoune-2022.10.31/src/color.hh:78:8: note: Shadowed declaration kakoune-2022.10.31/src/selection.cc:469:10: note: Shadow variable kakoune-2022.10.31/src/selection.cc:466:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/string_utils.cc:27:22: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2022.10.31/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2022.10.31/src/string_utils.cc:27:22: note: Shadow variable kakoune-2022.10.31/src/string_utils.cc:355:18: style: Local variable 'format' shadows outer function [shadowFunction] kakoune-2022.10.31/src/string_utils.hh:157:8: note: Shadowed declaration kakoune-2022.10.31/src/string_utils.cc:355:18: note: Shadow variable kakoune-2022.10.31/src/string_utils.cc:235:16: style: Variable 'c' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/unit_tests.cc:26:33: style: Variable 'd' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/shared_string.cc:35:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interned_flag [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shared_string.cc:54:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable refcount_mask [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:77:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:94:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:106:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:338:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable add [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:436:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable signal_flag [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:478:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:488:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:513:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IGNBRK [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:632:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:670:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/terminal_ui.cc:1328:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable column [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shared_string.cc:16:11: style: Local variable 'data' shadows outer function [shadowFunction] kakoune-2022.10.31/src/shared_string.hh:20:17: note: Shadowed declaration kakoune-2022.10.31/src/shared_string.cc:16:11: note: Shadow variable kakoune-2022.10.31/src/shared_string.cc:34:10: style: Local variable 'data' shadows outer function [shadowFunction] kakoune-2022.10.31/src/shared_string.hh:20:17: note: Shadowed declaration kakoune-2022.10.31/src/shared_string.cc:34:10: note: Shadow variable kakoune-2022.10.31/src/shared_string.cc:52:16: style: Variable 'st' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:291:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/selectors.cc:322:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/selectors.cc:360:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/selectors.cc:902:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/selectors.cc:187:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable max_non_eol_column [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/unicode.hh:118:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EndOfLine [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/file.hh:127:5: warning: Member variable 'BufferedWriter < 4096 >::m_buffer' is not initialized in the constructor. [uninitMemberVar] kakoune-2022.10.31/src/terminal_ui.hh:138:15: style:inconclusive: Member variable 'TerminalUI::m_stdin_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. [initializerList] kakoune-2022.10.31/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-2022.10.31/src/terminal_ui.hh:138:15: note: Member variable 'TerminalUI::m_stdin_watcher' uses an uninitialized argument 'm_on_key' due to the order of declarations. kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < unsigned char >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/file.hh:127:5: style: Struct 'BufferedWriter < 4096 >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < unsigned char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < unsigned char >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/terminal_ui.cc:1299:64: style: Condition 'style==InfoStyle::InlineAbove' is always false [knownConditionTrueFalse] kakoune-2022.10.31/src/terminal_ui.cc:1296:15: note: Assuming that condition 'style==InfoStyle::Prompt' is not redundant kakoune-2022.10.31/src/terminal_ui.cc:1299:64: note: Condition 'style==InfoStyle::InlineAbove' is always false kakoune-2022.10.31/src/shell_manager.cc:200:42: debug: Function::addArguments found argument 'watcher' with varid 0. [varid0] kakoune-2022.10.31/src/terminal_ui.cc:499:5: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] kakoune-2022.10.31/src/terminal_ui.cc:227:34: style: The scope of the variable 'attr_table' can be reduced. [variableScope] kakoune-2022.10.31/src/terminal_ui.cc:153:53: style:inconclusive: Function 'create' argument 1 names different: declaration 'pos' definition 'p'. [funcArgNamesDifferent] kakoune-2022.10.31/src/terminal_ui.hh:79:41: note: Function 'create' argument 1 names different: declaration 'pos' definition 'p'. kakoune-2022.10.31/src/terminal_ui.cc:153:53: note: Function 'create' argument 1 names different: declaration 'pos' definition 'p'. kakoune-2022.10.31/src/terminal_ui.cc:153:76: style:inconclusive: Function 'create' argument 2 names different: declaration 'size' definition 's'. [funcArgNamesDifferent] kakoune-2022.10.31/src/terminal_ui.hh:79:66: note: Function 'create' argument 2 names different: declaration 'size' definition 's'. kakoune-2022.10.31/src/terminal_ui.cc:153:76: note: Function 'create' argument 2 names different: declaration 'size' definition 's'. kakoune-2022.10.31/src/terminal_ui.cc:242:10: style: Local variable 'join' shadows outer function [shadowFunction] kakoune-2022.10.31/src/string_utils.hh:34:8: note: Shadowed declaration kakoune-2022.10.31/src/terminal_ui.cc:242:10: note: Shadow variable kakoune-2022.10.31/src/terminal_ui.cc:1466:10: style: Local variable 'find' shadows outer function [shadowFunction] kakoune-2022.10.31/src/ranges.hh:558:6: note: Shadowed declaration kakoune-2022.10.31/src/terminal_ui.cc:1466:10: note: Shadow variable kakoune-2022.10.31/src/terminal_ui.cc:348:20: style: Variable 'change' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/terminal_ui.cc:360:20: style: Variable 'change' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/terminal_ui.cc:988:19: style: Variable 'face' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/terminal_ui.cc:1021:19: style: Variable 'face' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/terminal_ui.cc:569:23: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] kakoune-2022.10.31/src/terminal_ui.cc:576:23: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] kakoune-2022.10.31/src/word_db.cc:213:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable match [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shell_manager.cc:42:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shell_manager.cc:94:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shell_manager.cc:137:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shell_manager.cc:150:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shell_manager.cc:183:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shell_manager.cc:197:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/shell_manager.cc:305:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/window.cc:80:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/window.cc:171:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chrono [valueFlowBailoutIncompleteVar] kakoune-2022.10.31/src/array_view.hh:21:15: style: Class 'ArrayView < const RankedMatch >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:31:15: style: Class 'ArrayView < const RankedMatch >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/array_view.hh:35:15: style: Class 'ArrayView < const RankedMatch >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex.hh:72:5: style: Struct 'MatchResults < BufferIterator >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/regex_impl.hh:205:5: style: Class 'ThreadedRegexVM < BufferIterator , RegexMode :: Forward | RegexMode :: Search >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/shell_manager.cc:130:21: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] kakoune-2022.10.31/src/word_db.cc:205:50: style:inconclusive: Function 'find_matching' argument 1 names different: declaration 'str' definition 'query'. [funcArgNamesDifferent] kakoune-2022.10.31/src/word_db.hh:28:46: note: Function 'find_matching' argument 1 names different: declaration 'str' definition 'query'. kakoune-2022.10.31/src/word_db.cc:205:50: note: Function 'find_matching' argument 1 names different: declaration 'str' definition 'query'. kakoune-2022.10.31/src/selectors.cc:686:16: style: Local variable 'indent' shadows outer function [shadowFunction] kakoune-2022.10.31/src/string_utils.hh:26:8: note: Shadowed declaration kakoune-2022.10.31/src/selectors.cc:686:16: note: Shadow variable kakoune-2022.10.31/src/selectors.cc:980:22: style: Local variable 'sel_end' shadows outer variable [shadowVariable] kakoune-2022.10.31/src/selectors.cc:969:14: note: Shadowed declaration kakoune-2022.10.31/src/selectors.cc:980:22: note: Shadow variable kakoune-2022.10.31/src/selectors.cc:129:10: style: Local variable 'is_punctuation' shadows outer function [shadowFunction] kakoune-2022.10.31/src/unicode.hh:77:13: note: Shadowed declaration kakoune-2022.10.31/src/selectors.cc:129:10: note: Shadow variable kakoune-2022.10.31/src/selectors.cc:100:10: style: Local variable 'is_punctuation' shadows outer function [shadowFunction] kakoune-2022.10.31/src/unicode.hh:77:13: note: Shadowed declaration kakoune-2022.10.31/src/selectors.cc:100:10: note: Shadow variable kakoune-2022.10.31/src/selectors.cc:66:10: style: Local variable 'is_punctuation' shadows outer function [shadowFunction] kakoune-2022.10.31/src/unicode.hh:77:13: note: Shadowed declaration kakoune-2022.10.31/src/selectors.cc:66:10: note: Shadow variable kakoune-2022.10.31/src/selectors.cc:382:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:446:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:482:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:551:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:615:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:649:20: style: Variable 'c' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:736:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:894:11: style: Variable 'buffer' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/selectors.cc:941:26: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/selectors.cc:907:18: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/shell_manager.cc:105:10: performance:inconclusive: Technically the member function 'Kakoune::::Pipe::close_fd' can be static (but you may consider moving to unnamed namespace). [functionStatic] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < CommandFifos >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/optional.hh:122:10: style:inconclusive: Technically the member function 'Optional < DisplayLine >::destruct_ifn' can be const. [functionConst] kakoune-2022.10.31/src/shell_manager.cc:90:5: style: Struct 'Pipe' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < CommandFifos >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < CommandFifos >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:16:5: style: Struct 'Optional < DisplayLine >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/optional.hh:17:5: style: Struct 'Optional < DisplayLine >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kakoune-2022.10.31/src/shell_manager.cc:135:20: style: C-style pointer casting [cstyleCast] kakoune-2022.10.31/src/window.cc:127:38: style: Condition 'm_display_buffer.timestamp()!=-1' is always true [knownConditionTrueFalse] kakoune-2022.10.31/src/shell_manager.cc:119:17: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/shell_manager.cc:127:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] kakoune-2022.10.31/src/window.cc:34:16: style: Variable 'option' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/window.cc:315:15: style: Variable 'range' can be declared as reference to const [constVariableReference] kakoune-2022.10.31/src/window.cc:89:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] diff: 2.14.0 kakoune-2022.10.31/src/constexpr_utils.hh:25:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] 2.14.0 kakoune-2022.10.31/src/constexpr_utils.hh:26:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] DONE