parameters: (clang_format, files)
docstring: Format a list of files with clang-format
docstring_summary: Format a list of files with clang-format
docstring_tokens: Format a list of files with clang - format
function: def _format_files(clang_format, files):
      """Format a list of files with clang-format
      """
      clang_format = ClangFormat(clang_format, _get_build_dir())
  
      format_clean = parallel_process([os.path.abspath(f) for f in files], clang_format.format)
  
      if not format_clean:
          print("ERROR: failed to format files")
          sys.exit(1)
function_tokens: def _format_files ( clang_format , files ) : clang_format = ClangFormat ( clang_format , _get_build_dir ( ) ) format_clean = parallel_process ( [ os . path . abspath ( f ) for f in files ] , clang_format . format ) if not format_clean : print ( "ERROR: failed to format files" ) sys . exit ( 1 )