Searched defs:DryRun (Results 1 - 4 of 4) sorted by relevance

/external/clang/lib/Format/
H A DFormatToken.cpp61 bool DryRun) {
108 Penalty += Indenter->addTokenToState(State, NewLine, DryRun, ExtraSpaces);
115 bool DryRun) {
59 formatAfterToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
113 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
H A DContinuationIndenter.cpp71 bool DryRun) {
87 moveStateToNextToken(State, DryRun, /*Newline=*/false);
229 bool DryRun,
244 moveStateToNextToken(State, DryRun, /*Newline=*/false);
250 Penalty = addTokenOnNewLine(State, DryRun);
252 addTokenOnCurrentLine(State, DryRun, ExtraSpaces);
254 return moveStateToNextToken(State, DryRun, Newline) + Penalty;
257 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, argument
279 if (!DryRun)
345 bool DryRun) {
69 getInitialState(unsigned FirstIndent, const AnnotatedLine *Line, bool DryRun) argument
228 addTokenToState(LineState &State, bool Newline, bool DryRun, unsigned ExtraSpaces) argument
344 addTokenOnNewLine(LineState &State, bool DryRun) argument
570 moveStateToNextToken(LineState &State, bool DryRun, bool Newline) argument
935 breakProtrudingToken(const FormatToken &Current, LineState &State, bool DryRun) argument
[all...]
H A DFormatToken.h431 bool DryRun) {
439 bool DryRun) {
458 bool DryRun) override;
461 bool DryRun) override;
429 formatFromToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
437 formatAfterToken(LineState &State, ContinuationIndenter *Indenter, bool DryRun) argument
H A DFormat.cpp553 Indenter->getInitialState(FirstIndent, Line, /*DryRun=*/false);
558 Indenter->addTokenToState(State, Newline, /*DryRun=*/false);
799 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines, bool DryRun, argument
801 // Try to look up already computed penalty in DryRun-mode.
805 if (DryRun && CacheIt != PenaltyCache.end())
845 if (!DryRun) {
855 if (PreviousLine && PreviousLine->Affected && !DryRun) {
865 if (!DryRun)
881 LineState State = Indenter->getInitialState(Indent, &TheLine, DryRun);
883 formatChildren(State, /*Newline=*/false, /*DryRun
941 format(const AnnotatedLine &Line, unsigned FirstIndent, bool DryRun) argument
1197 formatChildren(LineState &State, bool NewLine, bool DryRun, unsigned &Penalty) argument
[all...]

Completed in 313 milliseconds