Home | History | Annotate | Download | only in clang-format

Lines Matching refs:diff

3 #===- clang-format-diff.py - ClangFormat Diff Reformatter ----*- python -*--===#
13 ClangFormat Diff Reformatter
16 This script reads input from a unified diff and reformats all the changed
20 git diff -U0 HEAD^ | clang-format-diff.py -p1 -i
21 svn diff --diff-cmd=diff -x-U0 | clang-format-diff.py -i
36 'Reformat changed lines in diff. Without -i '
37 'option just output the diff that would be '
40 help='apply edits to files instead of displaying a diff')
113 diff = difflib.unified_diff(code, formatted_code,
116 diff_string = string.join(diff, '')