parameters: (args)
docstring: Checks if invoking supplied clang-apply-replacements binary works.
docstring_summary: Checks if invoking supplied clang-apply-replacements binary works.
docstring_tokens: Checks if invoking supplied clang - apply - replacements binary works .
function: def check_clang_apply_replacements_binary(args):
    """Checks if invoking supplied clang-apply-replacements binary works."""
    try:
      subprocess.check_call([args.clang_apply_replacements_binary, '--version'])
    except:
      print('Unable to run clang-apply-replacements. Is clang-apply-replacements '
            'binary correctly specified?', file=sys.stderr)
      traceback.print_exc()
      sys.exit(1)
function_tokens: def check_clang_apply_replacements_binary ( args ) : try : subprocess . check_call ( [ args . clang_apply_replacements_binary , '--version' ] ) except : print ( 'Unable to run clang-apply-replacements. Is clang-apply-replacements ' 'binary correctly specified?' , file = sys . stderr ) traceback . print_exc ( ) sys . exit ( 1 )