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

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Format/
H A DContinuationIndenter.h48 bool DryRun);
64 /// If \p DryRun is \c false, also creates and stores the required
66 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
76 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
100 bool DryRun);
107 /// If \p DryRun is \c false, also creates and stores the required
109 void addTokenOnCurrentLine(LineState &State, bool DryRun,
117 /// If \p DryRun is \c false, also creates and stores the required
119 unsigned addTokenOnNewLine(LineState &State, bool DryRun);
H A DUnwrappedLineFormatter.cpp137 const AnnotatedLine *getNextMergedLine(bool DryRun, argument
151 if (!DryRun)
484 /// If \p DryRun is \c false, directly applies the changes.
486 bool DryRun) = 0;
493 /// \p Penalty as well as \p State. If \p DryRun is false, also directly
509 bool formatChildren(LineState &State, bool NewLine, bool DryRun, argument
524 BlockFormatter->format(Previous.Children, DryRun, AdditionalIndent,
551 if (!DryRun) {
557 Penalty += formatLine(*Previous.Children[0], State.Column + 1, DryRun);
583 bool DryRun) overrid
684 analyzeSolutionSpace(LineState &InitialState, bool DryRun) argument
797 format(const SmallVectorImpl<AnnotatedLine *> &Lines, bool DryRun, int AdditionalIndent, bool FixBadIndentation) argument
[all...]
H A DUnwrappedLineFormatter.h43 bool DryRun = false, int AdditionalIndent = 0,
H A DFormatToken.cpp76 bool DryRun) {
124 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces);
131 bool DryRun) {
74 formatAfterToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
129 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
H A DContinuationIndenter.cpp78 bool DryRun) {
94 moveStateToNextToken(State, DryRun, /*Newline=*/false);
277 bool DryRun,
298 moveStateToNextToken(State, DryRun, /*Newline=*/false);
304 Penalty = addTokenOnNewLine(State, DryRun);
306 addTokenOnCurrentLine(State, DryRun, ExtraSpaces);
308 return moveStateToNextToken(State, DryRun, Newline) + Penalty;
311 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, argument
333 if (!DryRun)
428 bool DryRun) {
76 getInitialState(unsigned FirstIndent, const AnnotatedLine *Line, bool DryRun) argument
276 addTokenToState(LineState &State, bool Newline, bool DryRun, unsigned ExtraSpaces) argument
427 addTokenOnNewLine(LineState &State, bool DryRun) argument
687 moveStateToNextToken(LineState &State, bool DryRun, bool Newline) argument
1039 breakProtrudingToken(const FormatToken &Current, LineState &State, bool DryRun) argument
[all...]
H A DFormatToken.h453 bool DryRun) {
461 bool DryRun) {
480 bool DryRun) override;
483 bool DryRun) override;
451 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
459 formatAfterToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument

Completed in 94 milliseconds