Home
last modified time | relevance | path

Searched refs:WhitespaceRange (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Format/
DFormat.cpp864 if (FirstTok->WhitespaceRange.isValid()) { in format()
1336 if (!First[i]->is(Kinds[i]) || First[i]->WhitespaceRange.getBegin() != in tryMergeTokens()
1337 First[i]->WhitespaceRange.getEnd()) in tryMergeTokens()
1421 String->WhitespaceRange = Macro->WhitespaceRange; in tryMerge_TMacro()
1504 FormatTok->WhitespaceRange = in getNextToken()
1578 FormatTok->WhitespaceRange = SourceRange( in getNextToken()
1851 SourceLocation Start = First.WhitespaceRange.getBegin(); in affectsTokenRange()
1865 Tok.WhitespaceRange.getBegin(), in affectsLeadingEmptyLines()
1866 Tok.WhitespaceRange.getBegin().getLocWithOffset(Tok.LastNewlineOffset)); in affectsLeadingEmptyLines()
1900 Tok->WhitespaceRange.getBegin() != Tok->WhitespaceRange.getEnd(); in deriveLocalStyle()
[all …]
DFormatToken.h131 SourceRange WhitespaceRange; member
164 return WhitespaceRange.getEnd(); in getStartOfNonWhitespace()
DWhitespaceManager.cpp53 Changes.push_back(Change(true, Tok.WhitespaceRange, IndentLevel, Spaces, in replaceWhitespace()
62 Changes.push_back(Change(false, Tok.WhitespaceRange, /*IndentLevel=*/0, in addUntouchableToken()
DUnwrappedLineParser.cpp567 FormatTok->WhitespaceRange.getBegin() == in parsePPDefine()
568 FormatTok->WhitespaceRange.getEnd()) { in parsePPDefine()
DContinuationIndenter.cpp240 State.NextToken->WhitespaceRange.getEnd()) - in addTokenToState()
242 State.NextToken->WhitespaceRange.getBegin()); in addTokenToState()
DTokenAnnotator.cpp1577 return Tok.WhitespaceRange.getBegin() != Tok.WhitespaceRange.getEnd(); in spaceRequiredBefore()