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
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
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
===
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',
+
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