@mwolff No, it's not to improve performance. This project will not be built without these changes.
createCompletionContext is an override function, so its definition must correspond with the original one from /usr/include/kdevplatform/language/codecompletion/codecompletionworker.h.
See, that's why the commit message should be rephrased :)
Also, add the missing "override" keyword to make it clear that this overrides a function (and thus needs to match the signature)