Refactoring ClangCompleter to use ResultAnd<>