Searched refs:DryRun (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.h66 const AnnotatedLine *Line, bool DryRun);
82 /// If \p DryRun is \c false, also creates and stores the required
84 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
94 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
114 bool DryRun, bool Newline);
119 bool DryRun, bool AllowBreak, bool Newline);
146 bool AllowBreak, bool DryRun,
160 /// If \p DryRun is \c false, also creates and stores the required
162 void addTokenOnCurrentLine(LineState &State, bool DryRun,
170 /// If \p DryRun i
[all...]
H A DUnwrappedLineFormatter.cpp170 const AnnotatedLine *getNextMergedLine(bool DryRun,
183 if (!DryRun)
750 /// If \p DryRun is \c false, directly applies the changes.
752 unsigned FirstStartColumn, bool DryRun) = 0;
759 /// \p Penalty as well as \p State. If \p DryRun is false, also directly
775 bool formatChildren(LineState &State, bool NewLine, bool DryRun,
790 BlockFormatter->format(Previous.Children, DryRun, AdditionalIndent,
817 if (!DryRun) {
823 formatLine(*Child, State.Column + 1, /*FirstStartColumn=*/0, DryRun);
849 unsigned FirstStartColumn, bool DryRun) overrid
[all...]
H A DUnwrappedLineFormatter.h41 bool DryRun = false, int AdditionalIndent = 0,
H A DFormatToken.cpp76 bool DryRun) {
128 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces);
135 bool DryRun) {
74 formatAfterToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
133 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
H A DContinuationIndenter.cpp238 bool DryRun) {
273 moveStateToNextToken(State, DryRun, /*Newline=*/false);
507 bool DryRun,
530 moveStateToNextToken(State, DryRun, /*Newline=*/false);
536 Penalty = addTokenOnNewLine(State, DryRun);
538 addTokenOnCurrentLine(State, DryRun, ExtraSpaces);
540 return moveStateToNextToken(State, DryRun, Newline) + Penalty;
543 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, argument
581 if (!DryRun)
731 bool DryRun) {
235 getInitialState(unsigned FirstIndent, unsigned FirstStartColumn, const AnnotatedLine *Line, bool DryRun) argument
506 addTokenToState(LineState &State, bool Newline, bool DryRun, unsigned ExtraSpaces) argument
730 addTokenOnNewLine(LineState &State, bool DryRun) argument
1082 moveStateToNextToken(LineState &State, bool DryRun, bool Newline) argument
1501 reformatRawStringLiteral( const FormatToken &Current, LineState &State, const FormatStyle &RawStringStyle, bool DryRun, bool Newline) argument
1666 handleEndOfLine(const FormatToken &Current, LineState &State, bool DryRun, bool AllowBreak, bool Newline) argument
1838 breakProtrudingToken(const FormatToken &Current, LineState &State, bool AllowBreak, bool DryRun, bool Strict) argument
[all...]
H A DFormatToken.h604 bool DryRun) {
612 bool DryRun) {
633 bool DryRun) override;
636 bool DryRun) override;
602 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
610 formatAfterToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
/freebsd-11-stable/contrib/llvm-project/clang/tools/clang-format/
H A DClangFormat.cpp114 DryRun("dry-run",
120 cl::cat(ClangFormatCategory), cl::aliasopt(DryRun),
403 if (OutputXML || DryRun) {
404 if (DryRun) {

Completed in 217 milliseconds