2025-08-31 21:18 ftp://ftp.de.debian.org/debian/pool/main/k/ktextwidgets/ktextwidgets_5.116.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=kde --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 20 171 elapsed-time: 0.2 1.4 head-timing-info: old-timing-info: head results: ktextwidgets-5.116.0/autotests/kfindtest.h:59:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/autotests/kfindtest.h:59:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/autotests/kreplacetest.cpp:47:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/autotests/kreplacetest.cpp:47:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:246:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:246:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/autotests/ktextedit_unittest.cpp:34:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ControlModifier [valueFlowBailoutIncompleteVar] ktextwidgets-5.116.0/src/dialogs/klinkdialog.cpp:61:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] ktextwidgets-5.116.0/src/dialogs/klinkdialog.cpp:78:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] ktextwidgets-5.116.0/src/findreplace/kfind.h:250:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/src/findreplace/kfind.h:250:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:130:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:130:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/src/widgets/kpluralhandlingspinbox.cpp:15:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable valueChanged [valueFlowBailoutIncompleteVar] ktextwidgets-5.116.0/src/widgets/kpluralhandlingspinbox.cpp:12:5: style: Class 'KPluralHandlingSpinBoxPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ktextwidgets-5.116.0/src/widgets/krichtextedit.h:357:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/src/widgets/krichtextedit.h:357:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/src/widgets/ktextedit.h:48:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/src/widgets/ktextedit.h:48:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] ktextwidgets-5.116.0/tests/ktextedittest.cpp:27:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] diff: 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:110:58: style:inconclusive: Function 'slotHighlight' argument 3 names different: declaration 'matchedLengthlength' definition 'matchedLength'. [funcArgNamesDifferent] ktextwidgets-5.116.0/autotests/kfindtest.h:41:47: note: Function 'slotHighlight' argument 3 names different: declaration 'matchedLengthlength' definition 'matchedLength'. ktextwidgets-5.116.0/autotests/kfindtest.cpp:110:58: note: Function 'slotHighlight' argument 3 names different: declaration 'matchedLengthlength' definition 'matchedLength'. 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:121:5: performance: Variable 'm_text' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:214:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindBackwards [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:253:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RegularExpression [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:287:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RegularExpression [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:310:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RegularExpression [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:339:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RegularExpression [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:348:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindIncremental [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:386:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindIncremental [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:60:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoMatch [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kfindtest.cpp:82:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoMatch [valueFlowBailoutIncompleteVar] head ktextwidgets-5.116.0/autotests/kfindtest.h:59:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head ktextwidgets-5.116.0/autotests/kfindtest.h:59:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 ktextwidgets-5.116.0/autotests/kreplacetest.cpp:117:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoMatch [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kreplacetest.cpp:24:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quit [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kreplacetest.cpp:258:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BackReference [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kreplacetest.cpp:258:64: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] 2.18.0 ktextwidgets-5.116.0/autotests/kreplacetest.cpp:28:15: warning: Member variable 'KReplaceTest::m_needEventLoop' is not initialized in the constructor. [uninitMemberVar] 2.18.0 ktextwidgets-5.116.0/autotests/kreplacetest.cpp:312:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindBackwards [valueFlowBailoutIncompleteVar] head ktextwidgets-5.116.0/autotests/kreplacetest.cpp:47:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head ktextwidgets-5.116.0/autotests/kreplacetest.cpp:47:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 ktextwidgets-5.116.0/autotests/kreplacetest.cpp:64:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FromCursor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/kreplacetest.cpp:90:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PromptOnReplace [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:166:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListDecimal [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:216:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListDisc [valueFlowBailoutIncompleteVar] head ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:246:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:246:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:269:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Bold [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:379:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListSquare [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/autotests/krichtextedittest.cpp:80:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BlockUnderCursor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:109:40: style:inconclusive: Function 'init' argument 1 names different: declaration 'pattern' definition '_pattern'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/findreplace/kfind_p.h:91:30: note: Function 'init' argument 1 names different: declaration 'pattern' definition '_pattern'. ktextwidgets-5.116.0/src/findreplace/kfind.cpp:109:40: note: Function 'init' argument 1 names different: declaration 'pattern' definition '_pattern'. 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:243:21: style: The scope of the variable 'previousPattern' can be reduced. [variableScope] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:332:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dirty [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:421:26: style: Variable 'match' can be declared as pointer to const [constVariablePointer] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:474:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UseUnicodePropertiesOption [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:490:14: warning: Return value of function text.lastIndexOf() is not used. [ignoredReturnValue] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:530:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:63:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionRole [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:680:20: performance:inconclusive: Technically the member function 'KFindPrivate::slotFindNext' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/findreplace/kfind_p.h:94:10: note: Technically the member function 'KFindPrivate::slotFindNext' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/findreplace/kfind.cpp:680:20: note: Technically the member function 'KFindPrivate::slotFindNext' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind.cpp:749:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PrimaryAction [valueFlowBailoutIncompleteVar] head ktextwidgets-5.116.0/src/findreplace/kfind.h:250:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head ktextwidgets-5.116.0/src/findreplace/kfind.h:250:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:23:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:23:5: performance:inconclusive: Technically the member function 'KFindPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:26:5: style: Class 'KFindPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:26:5: warning: Member variable 'KFindPrivate::dialog' is not initialized in the constructor. [uninitMemberVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:26:5: warning: Member variable 'KFindPrivate::dialogClosed' is not initialized in the constructor. [uninitMemberVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:26:5: warning: Member variable 'KFindPrivate::index' is not initialized in the constructor. [uninitMemberVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:26:5: warning: Member variable 'KFindPrivate::lastResult' is not initialized in the constructor. [uninitMemberVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:26:5: warning: Member variable 'KFindPrivate::matchedLength' is not initialized in the constructor. [uninitMemberVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:26:5: warning: Member variable 'KFindPrivate::matches' is not initialized in the constructor. [uninitMemberVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfind_p.h:26:5: warning: Member variable 'KFindPrivate::options' is not initialized in the constructor. [uninitMemberVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:136:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:244:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:322:53: style:inconclusive: Function 'setFindHistory' argument 1 names different: declaration 'history' definition 'strings'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/findreplace/kfinddialog.h:97:44: note: Function 'setFindHistory' argument 1 names different: declaration 'history' definition 'strings'. ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:322:53: note: Function 'setFindHistory' argument 1 names different: declaration 'history' definition 'strings'. 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:485:17: performance: Function 'text()' should return member 'mText' by const reference. [returnByReference] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:516:13: style: Condition 'regExpAction' is always true [knownConditionTrueFalse] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:535:13: performance: Function 'text()' should return member 'mText' by const reference. [returnByReference] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:558:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aboutToShow [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:566:28: style: Variable 'placeHolderAction' can be declared as pointer to const [constVariablePointer] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:567:13: style: Condition 'placeHolderAction' is always true [knownConditionTrueFalse] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:576:5: style: Variable 'q' can be declared as pointer to const [constVariablePointer] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:581:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UseUnicodePropertiesOption [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:599:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UseUnicodePropertiesOption [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:613:26: performance:inconclusive: Technically the member function 'KFindDialogPrivate::slotReject' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/findreplace/kfinddialog_p.h:47:10: note: Technically the member function 'KFindDialogPrivate::slotReject' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:613:26: note: Technically the member function 'KFindDialogPrivate::slotReject' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:69:67: style:inconclusive: Function 'init' argument 2 names different: declaration 'findStrings' definition '_findStrings'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/findreplace/kfinddialog_p.h:43:51: note: Function 'init' argument 2 names different: declaration 'findStrings' definition '_findStrings'. ktextwidgets-5.116.0/src/findreplace/kfinddialog.cpp:69:67: note: Function 'init' argument 2 names different: declaration 'findStrings' definition '_findStrings'. 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog_p.h:28:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog_p.h:28:5: performance:inconclusive: Technically the member function 'KFindDialogPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kfinddialog_p.h:31:5: style: Class 'KFindDialogPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:102:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:102:5: performance:inconclusive: Technically the member function 'KReplacePrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:130:112: style:inconclusive: Function 'KReplace' argument 5 names different: declaration 'replaceDialog' definition 'dlg'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/findreplace/kreplace.h:105:106: note: Function 'KReplace' argument 5 names different: declaration 'replaceDialog' definition 'dlg'. ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:130:112: note: Function 'KReplace' argument 5 names different: declaration 'replaceDialog' definition 'dlg'. 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:159:15: style: Local variable 'nextDialog' shadows outer function [shadowFunction] ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:111:25: note: Shadowed declaration ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:159:15: note: Shadow variable 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:160:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clicked [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:240:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Match [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:451:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PrimaryAction [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplace.cpp:68:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionRole [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:117:22: warning: The class 'KReplaceDialog' defines member function with name 'setOptions' also defined in its parent class 'KFindDialog'. [duplInheritedMember] ktextwidgets-5.116.0/src/findreplace/kfinddialog.h:167:10: note: Parent function 'KFindDialog::setOptions' ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:117:22: note: Derived function 'KReplaceDialog::setOptions' 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:126:63: style:inconclusive: Function 'setReplacementHistory' argument 1 names different: declaration 'history' definition 'strings'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:88:51: note: Function 'setReplacementHistory' argument 1 names different: declaration 'history' definition 'strings'. ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:126:63: note: Function 'setReplacementHistory' argument 1 names different: declaration 'history' definition 'strings'. 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:137:29: warning: The class 'KReplaceDialogPrivate' defines member function with name 'slotOk' also defined in its parent class 'KFindDialogPrivate'. [duplInheritedMember] ktextwidgets-5.116.0/src/findreplace/kfinddialog_p.h:46:10: note: Parent function 'KFindDialogPrivate::slotOk' ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:137:29: note: Derived function 'KReplaceDialogPrivate::slotOk' 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:143:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UseUnicodePropertiesOption [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:29:5: performance:inconclusive: Technically the member function 'KReplaceDialogPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:41:10: warning: The class 'KReplaceDialogPrivate' defines member variable with name 'initialShowDone' also defined in its parent class 'KFindDialogPrivate'. [duplInheritedMember] ktextwidgets-5.116.0/src/findreplace/kfinddialog_p.h:56:10: note: Parent variable 'KFindDialogPrivate::initialShowDone' ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:41:10: note: Derived variable 'KReplaceDialogPrivate::initialShowDone' 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:70:22: warning: The class 'KReplaceDialog' defines member function with name 'options' also defined in its parent class 'KFindDialog'. [duplInheritedMember] ktextwidgets-5.116.0/src/findreplace/kfinddialog.h:176:10: note: Parent function 'KFindDialog::options' ktextwidgets-5.116.0/src/findreplace/kreplacedialog.cpp:70:22: note: Derived function 'KReplaceDialog::options' 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:102:10: warning: The class 'KReplaceDialog' defines member function with name 'setOptions' also defined in its parent class 'KFindDialog'. [duplInheritedMember] ktextwidgets-5.116.0/src/findreplace/kfinddialog.h:167:10: note: Parent function 'KFindDialog::setOptions' ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:102:10: note: Derived function 'KReplaceDialog::setOptions' 2.18.0 ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:110:10: warning: The class 'KReplaceDialog' defines member function with name 'options' also defined in its parent class 'KFindDialog'. [duplInheritedMember] ktextwidgets-5.116.0/src/findreplace/kfinddialog.h:176:10: note: Parent function 'KFindDialog::options' ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:110:10: note: Derived function 'KReplaceDialog::options' head ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:130:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head ktextwidgets-5.116.0/src/findreplace/kreplacedialog.h:130:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:143:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignLeft [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:152:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignHCenter [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:161:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignRight [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:170:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignJustify [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:180:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RightToLeft [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:193:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftToRight [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:206:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:326:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignNormal [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:337:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignNormal [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:34:28: performance:inconclusive: Technically the member function 'KRichTextEditPrivate::setTextCursor' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:50:10: note: Technically the member function 'KRichTextEditPrivate::setTextCursor' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:34:28: note: Technically the member function 'KRichTextEditPrivate::setTextCursor' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:360:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:41:28: performance:inconclusive: Technically the member function 'KRichTextEditPrivate::mergeFormatOnWordOrSelection' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:48:10: note: Technically the member function 'KRichTextEditPrivate::mergeFormatOnWordOrSelection' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:41:28: note: Technically the member function 'KRichTextEditPrivate::mergeFormatOnWordOrSelection' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:458:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:495:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WordUnderCursor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:49:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfWord [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:559:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Backspace [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:90:28: performance:inconclusive: Technically the member function 'KRichTextEditPrivate::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:41:10: note: Technically the member function 'KRichTextEditPrivate::init' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:90:28: note: Technically the member function 'KRichTextEditPrivate::init' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:90:28: warning: The class 'KRichTextEditPrivate' defines member function with name 'init' also defined in its parent class 'KTextEditPrivate'. [duplInheritedMember] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:88:10: note: Parent function 'KTextEditPrivate::init' ktextwidgets-5.116.0/src/widgets/krichtextedit.cpp:90:28: note: Derived function 'KRichTextEditPrivate::init' head ktextwidgets-5.116.0/src/widgets/krichtextedit.h:357:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head ktextwidgets-5.116.0/src/widgets/krichtextedit.h:357:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit.h:379:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:18:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:18:5: performance:inconclusive: Technically the member function 'KRichTextEditPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:23:11: warning: Class 'KRichTextEditPrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:23:11: warning: Class 'KRichTextEditPrivate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:41:10: warning: The class 'KRichTextEditPrivate' defines member function with name 'init' also defined in its parent class 'KTextEditPrivate'. [duplInheritedMember] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:88:10: note: Parent function 'KTextEditPrivate::init' ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:41:10: note: Derived function 'KRichTextEditPrivate::init' 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:146:30: performance:inconclusive: Technically the member function 'KRichTextWidgetPrivate::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:91:10: note: Technically the member function 'KRichTextWidgetPrivate::init' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:146:30: note: Technically the member function 'KRichTextWidgetPrivate::init' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:146:30: warning: The class 'KRichTextWidgetPrivate' defines member function with name 'init' also defined in its parent class 'KRichTextEditPrivate'. [duplInheritedMember] ktextwidgets-5.116.0/src/widgets/krichtextedit_p.h:41:10: note: Parent function 'KRichTextEditPrivate::init' ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:146:30: note: Derived function 'KRichTextWidgetPrivate::init' 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:146:30: warning: The class 'KRichTextWidgetPrivate' defines member function with name 'init' also defined in its parent class 'KTextEditPrivate'. [duplInheritedMember] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:88:10: note: Parent function 'KTextEditPrivate::init' ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:146:30: note: Derived function 'KRichTextWidgetPrivate::init' 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:237:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setFontFamily [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:37:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:37:5: performance:inconclusive: Technically the member function 'KRichTextWidgetPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:40:5: style: Class 'KRichTextWidgetPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:544:5: style: Variable 'q' can be declared as pointer to const [constVariablePointer] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:575:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignSuperScript [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:586:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignLeft [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:632:30: performance:inconclusive: Technically the member function 'KRichTextWidgetPrivate::_k_setTextForegroundColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:100:10: note: Technically the member function 'KRichTextWidgetPrivate::_k_setTextForegroundColor' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:632:30: note: Technically the member function 'KRichTextWidgetPrivate::_k_setTextForegroundColor' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:637:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable View [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:648:30: performance:inconclusive: Technically the member function 'KRichTextWidgetPrivate::_k_setTextBackgroundColor' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:105:10: note: Technically the member function 'KRichTextWidgetPrivate::_k_setTextBackgroundColor' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:648:30: note: Technically the member function 'KRichTextWidgetPrivate::_k_setTextBackgroundColor' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:654:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable View [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:673:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.cpp:712:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IBeamCursor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/krichtextwidget.h:353:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:102:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::spellCheckerAutoCorrect' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:71:10: note: Technically the member function 'KTextEditPrivate::spellCheckerAutoCorrect' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:102:24: note: Technically the member function 'KTextEditPrivate::spellCheckerAutoCorrect' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:1035:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectAll [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:109:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::spellCheckerMisspelling' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:69:10: note: Technically the member function 'KTextEditPrivate::spellCheckerMisspelling' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:109:24: note: Technically the member function 'KTextEditPrivate::spellCheckerMisspelling' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:117:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::spellCheckerCorrected' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:70:10: note: Technically the member function 'KTextEditPrivate::spellCheckerCorrected' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:117:24: note: Technically the member function 'KTextEditPrivate::spellCheckerCorrected' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:125:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:130:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::spellCheckerFinished' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:73:10: note: Technically the member function 'KTextEditPrivate::spellCheckerFinished' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:130:24: note: Technically the member function 'KTextEditPrivate::spellCheckerFinished' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:142:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::toggleAutoSpellCheck' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:74:10: note: Technically the member function 'KTextEditPrivate::toggleAutoSpellCheck' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:142:24: note: Technically the member function 'KTextEditPrivate::toggleAutoSpellCheck' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:149:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::undoableClear' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:83:10: note: Technically the member function 'KTextEditPrivate::undoableClear' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:149:24: note: Technically the member function 'KTextEditPrivate::undoableClear' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:155:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Start [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:161:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::slotAllowTab' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:85:10: note: Technically the member function 'KTextEditPrivate::slotAllowTab' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:161:24: note: Technically the member function 'KTextEditPrivate::slotAllowTab' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:168:47: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:181:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::slotFindHighlight' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:76:10: note: Technically the member function 'KTextEditPrivate::slotFindHighlight' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:181:24: note: Technically the member function 'KTextEditPrivate::slotFindHighlight' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:189:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:201:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:211:24: performance:inconclusive: Technically the member function 'KTextEditPrivate::init' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:88:10: note: Technically the member function 'KTextEditPrivate::init' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:211:24: note: Technically the member function 'KTextEditPrivate::init' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:267:57: style:inconclusive: Function 'setSpellCheckingLanguage' argument 1 names different: declaration 'language' definition '_language'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/widgets/ktextedit.h:292:50: note: Function 'setSpellCheckingLanguage' argument 1 names different: declaration 'language' definition '_language'. ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:267:57: note: Function 'setSpellCheckingLanguage' argument 1 names different: declaration 'language' definition '_language'. 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:302:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShortcutOverride [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:312:24: style:inconclusive: Technically the member function 'KTextEditPrivate::handleShortcut' can be const. [functionConst] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:67:10: note: Technically the member function 'KTextEditPrivate::handleShortcut' can be const. ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:312:24: note: Technically the member function 'KTextEditPrivate::handleShortcut' can be const. 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:312:56: style:inconclusive: Function 'handleShortcut' argument 1 names different: declaration 'e' definition 'event'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:67:42: note: Function 'handleShortcut' argument 1 names different: declaration 'e' definition 'event'. ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:312:56: note: Function 'handleShortcut' argument 1 names different: declaration 'e' definition 'event'. 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:350:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WordLeft [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:442:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:450:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PreviousWord [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:457:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NextWord [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:520:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable triggered [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:576:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:61:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable replace [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:677:5: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:717:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_SetPalette [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:756:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:797:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FromCursor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:833:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PromptOnReplace [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:883:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FromCursor [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:917:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoMatch [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:936:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FindBackwards [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:936:6: warning: Either the condition 'd->find' is redundant or there is possible null pointer dereference: d->find. [nullPointerRedundantCheck] ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:938:10: note: Assuming that condition 'd->find' is not redundant ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:936:6: note: Null pointer dereference 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:991:24: style:inconclusive: Technically the member function 'KTextEditPrivate::overrideShortcut' can be const. [functionConst] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:63:10: note: Technically the member function 'KTextEditPrivate::overrideShortcut' can be const. ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:991:24: note: Technically the member function 'KTextEditPrivate::overrideShortcut' can be const. 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:991:58: style:inconclusive: Function 'overrideShortcut' argument 1 names different: declaration 'e' definition 'event'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:63:44: note: Function 'overrideShortcut' argument 1 names different: declaration 'e' definition 'event'. ktextwidgets-5.116.0/src/widgets/ktextedit.cpp:991:58: note: Function 'overrideShortcut' argument 1 names different: declaration 'e' definition 'event'. head ktextwidgets-5.116.0/src/widgets/ktextedit.h:48:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head ktextwidgets-5.116.0/src/widgets/ktextedit.h:48:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KTEXTWIDGETS_BUILD_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/ktextedit_p.h:29:5: performance:inconclusive: Technically the member function 'KTextEditPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] 2.18.0 ktextwidgets-5.116.0/src/widgets/nestedlisthelper.cpp:115:24: performance:inconclusive: Technically the member function 'NestedListHelper::processList' can be static (but you may consider moving to unnamed namespace). [functionStatic] ktextwidgets-5.116.0/src/widgets/nestedlisthelper_p.h:105:10: note: Technically the member function 'NestedListHelper::processList' can be static (but you may consider moving to unnamed namespace). ktextwidgets-5.116.0/src/widgets/nestedlisthelper.cpp:115:24: note: Technically the member function 'NestedListHelper::processList' can be static (but you may consider moving to unnamed namespace). 2.18.0 ktextwidgets-5.116.0/src/widgets/nestedlisthelper.cpp:210:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListDisc [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/nestedlisthelper.cpp:33:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Backspace [valueFlowBailoutIncompleteVar] 2.18.0 ktextwidgets-5.116.0/src/widgets/nestedlisthelper.cpp:85:24: style:inconclusive: Technically the member function 'NestedListHelper::handleAfterDropEvent' can be const. [functionConst] ktextwidgets-5.116.0/src/widgets/nestedlisthelper_p.h:60:10: note: Technically the member function 'NestedListHelper::handleAfterDropEvent' can be const. ktextwidgets-5.116.0/src/widgets/nestedlisthelper.cpp:85:24: note: Technically the member function 'NestedListHelper::handleAfterDropEvent' can be const. 2.18.0 ktextwidgets-5.116.0/src/widgets/nestedlisthelper.cpp:85:57: style:inconclusive: Function 'handleAfterDropEvent' argument 1 names different: declaration 'event' definition 'dropEvent'. [funcArgNamesDifferent] ktextwidgets-5.116.0/src/widgets/nestedlisthelper_p.h:60:43: note: Function 'handleAfterDropEvent' argument 1 names different: declaration 'event' definition 'dropEvent'. ktextwidgets-5.116.0/src/widgets/nestedlisthelper.cpp:85:57: note: Function 'handleAfterDropEvent' argument 1 names different: declaration 'event' definition 'dropEvent'. DONE