Searched refs:Spaces (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.h50 /// this replacement. It is needed for determining how \p Spaces is turned
52 void replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned Spaces,
66 /// Inserts \p PreviousPostfix, \p Newlines, \p Spaces and \p CurrentPrefix
70 /// Note: \p Spaces can be negative to retain information about initial
73 /// alignment here. In all other cases negative \p Spaces will be truncated to
76 /// When \p InPPDirective is true, escaped newlines are inserted. \p Spaces is
82 unsigned Newlines, int Spaces);
104 /// \p PreviousLinePostfix, \p NewlinesBefore line breaks, \p Spaces spaces
110 SourceRange OriginalWhitespaceRange, int Spaces,
137 int Spaces; member in struct:clang::format::WhitespaceManager::Change
[all...]
H A DWhitespaceManager.cpp30 int Spaces, unsigned StartOfTokenColumn,
40 ContinuesPPDirective(ContinuesPPDirective), Spaces(Spaces),
47 unsigned Spaces,
54 Spaces, StartOfTokenColumn, Newlines, "", "",
64 Tok.WhitespaceRange, /*Spaces=*/0,
78 unsigned Newlines, int Spaces) {
84 SourceRange(Start, Start.getLocWithOffset(ReplaceChars)), Spaces,
85 std::max(0, Spaces), Newlines, PreviousPostfix, CurrentPrefix,
163 Changes[i - 1].TokenLength + Changes[i - 1].Spaces;
27 Change(const FormatToken &Tok, bool CreateReplacement, SourceRange OriginalWhitespaceRange, int Spaces, unsigned StartOfTokenColumn, unsigned NewlinesBefore, StringRef PreviousLinePostfix, StringRef CurrentLinePrefix, bool IsAligned, bool ContinuesPPDirective, bool IsInsideToken) argument
46 replaceWhitespace(FormatToken &Tok, unsigned Newlines, unsigned Spaces, unsigned StartOfTokenColumn, bool IsAligned, bool InPPDirective) argument
75 replaceWhitespaceInToken( const FormatToken &Tok, unsigned Offset, unsigned ReplaceChars, StringRef PreviousPostfix, StringRef CurrentPrefix, bool InPPDirective, unsigned Newlines, int Spaces) argument
907 unsigned Spaces = local
917 appendIndentText(std::string &Text, unsigned IndentLevel, unsigned Spaces, unsigned WhitespaceStartColumn, bool IsAligned) argument
969 appendTabIndent(std::string &Text, unsigned Spaces, unsigned Indentation) argument
[all...]
H A DContinuationIndenter.cpp580 unsigned Spaces = Current.SpacesRequiredBefore + ExtraSpaces; local
588 Spaces += State.FirstIndent;
599 Whitespaces.replaceWhitespace(Current, /*Newlines=*/0, Spaces,
600 State.Column + Spaces + PPColumnCorrection);
616 unsigned FirstColonPos = State.Column + Spaces + Current.ColumnWidth;
652 State.Stack.back().Indent = State.Column + Spaces;
703 State.Column += Spaces;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp311 unsigned Spaces = 0; local
318 Spaces += (P % 8) == 0 ? 2 : 1;
321 while (Spaces--)
329 Spaces += 2;
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Dcond-func-empty.mk139 # Spaces inside the parentheses are interpreted as part of the variable name.

Completed in 127 milliseconds