This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdb15e3121243: [clang-format] Handle do-while loops for
RemoveBracesLLVM (authored by owenpan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE
HazardyKnusperkeks accepted this revision.
HazardyKnusperkeks added inline comments.
Comment at: clang/lib/Format/UnwrappedLineParser.h:118-119
TokenType NextLBracesType = TT_Unknown,
+ bool *HasDoWhile = nullptr,
owenpan added inline comments.
Comment at: clang/lib/Format/UnwrappedLineParser.h:118-119
TokenType NextLBracesType = TT_Unknown,
+ bool *HasDoWhile = nullptr,
bool *HasLabel = nullptr);
HazardyKnusperkeks added inline comments.
Comment at: clang/lib/Format/UnwrappedLineParser.h:118-119
TokenType NextLBracesType = TT_Unknown,
+ bool *HasDoWhile = nullptr,
bool *HasLabel = n
owenpan updated this revision to Diff 433432.
owenpan added a comment.
Removed the numbering of the examples from the coding standards.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126758/new/
https://reviews.llvm.org/D126758
Files:
clang/lib/Format/UnwrappedLineParser.cpp
clang/l
owenpan added inline comments.
Comment at: clang/unittests/Format/FormatTest.cpp:25103
- // The following eight test cases are fully-braced versions of the examples
at
+ // The following nine test cases are fully-braced versions of the examples at
// "llvm.org/docs/Coding
MyDeveloperDay accepted this revision.
MyDeveloperDay added a comment.
LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126758/new/
https://reviews.llvm.org/D126758
___
cfe-commits mailing list
cfe-com
curdeius accepted this revision.
curdeius added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/unittests/Format/FormatTest.cpp:25103
- // The following eight test cases are fully-braced versions of the examples
at
+ // The following nine
owenpan created this revision.
owenpan added reviewers: curdeius, HazardyKnusperkeks, MyDeveloperDay.
owenpan added a project: clang-format.
Herald added a project: All.
owenpan requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
If a do-while