[PATCH] D109550: [clang_format] Add fallback_style flag to clang-format-diff.py

2021-09-09 Thread Haowei Wu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. haowei marked an inline comment as done. Closed by commit rG38a5bd4115af: [clang_format] Add fallback-style flag to clang-format-diff.py (authored by haowei). Reposito

[PATCH] D109550: [clang_format] Add fallback_style flag to clang-format-diff.py

2021-09-09 Thread Haowei Wu via Phabricator via cfe-commits
haowei marked an inline comment as done. haowei added inline comments. Comment at: clang/tools/clang-format/clang-format-diff.py:62 + parser.add_argument('-fallback-style', + dest='fallback_style', + help='The name of the predefined styl

[PATCH] D109550: [clang_format] Add fallback_style flag to clang-format-diff.py

2021-09-09 Thread Haowei Wu via Phabricator via cfe-commits
haowei updated this revision to Diff 371749. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109550/new/ https://reviews.llvm.org/D109550 Files: clang/tools/clang-format/clang-format-diff.py Index: clang/tools/clang-format/clang-format-diff.py ===

[PATCH] D109550: [clang_format] Add fallback_style flag to clang-format-diff.py

2021-09-09 Thread Petr Hosek via Phabricator via cfe-commits
phosek accepted this revision. phosek added a comment. This revision is now accepted and ready to land. LGTM Comment at: clang/tools/clang-format/clang-format-diff.py:62 + parser.add_argument('-fallback-style', + dest='fallback_style', +

[PATCH] D109550: [clang_format] Add fallback_style flag to clang-format-diff.py

2021-09-09 Thread Haowei Wu via Phabricator via cfe-commits
haowei created this revision. haowei requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. fallback-style is a frequently used flag in clang_format, however, it was not supported by clang-format-diff.py script. This change adds this flag. Repo