diff --git a/python/ycm/completers/cpp/clang_completer.py b/python/ycm/completers/cpp/clang_completer.py index 3e2e318a..5aebae8e 100644 --- a/python/ycm/completers/cpp/clang_completer.py +++ b/python/ycm/completers/cpp/clang_completer.py @@ -152,7 +152,7 @@ class ClangCompleter( Completer ): elif command == 'GoToDefinitionElseDeclaration': return self._GoToDefinitionElseDeclaration( request_data ) elif command == 'ClearCompilationFlagCache': - return self._ClearCompilationFlagCache( request_data ) + return self._ClearCompilationFlagCache() raise ValueError( self.UserCommandsHelpMessage() )