parameters: (filename)
return_statement: return {
      'flags': final_flags,
      'do_cache': True
    }
docstring: This is the main entry point for YCM. Its interface is fixed.
  
    Args:
      filename: (String) Path to source file being edited.
  
    Returns:
      (Dictionary)
        'flags': (List of Strings) Command line flags.
        'do_cache': (Boolean) True if the result should be cached.
docstring_summary: This is the main entry point for YCM. Its interface is fixed.
docstring_tokens: This is the main entry point for YCM . Its interface is fixed .
function: def FlagsForFile(filename):
    """This is the main entry point for YCM. Its interface is fixed.
  
    Args:
      filename: (String) Path to source file being edited.
  
    Returns:
      (Dictionary)
        'flags': (List of Strings) Command line flags.
        'do_cache': (Boolean) True if the result should be cached.
    """
    v8_root = FindV8SrcFromFilename(filename)
    v8_flags = GetClangCommandFromNinjaForFilename(v8_root, filename)
    final_flags = flags + v8_flags
    return {
      'flags': final_flags,
      'do_cache': True
    }
function_tokens: def FlagsForFile ( filename ) : v8_root = FindV8SrcFromFilename ( filename ) v8_flags = GetClangCommandFromNinjaForFilename ( v8_root , filename ) final_flags = flags + v8_flags return { 'flags' : final_flags , 'do_cache' : True }