Searched refs:WhitespaceRange (Results 1 – 6 of 6) sorted by relevance
864 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 …]
131 SourceRange WhitespaceRange; member164 return WhitespaceRange.getEnd(); in getStartOfNonWhitespace()
53 Changes.push_back(Change(true, Tok.WhitespaceRange, IndentLevel, Spaces, in replaceWhitespace()62 Changes.push_back(Change(false, Tok.WhitespaceRange, /*IndentLevel=*/0, in addUntouchableToken()
567 FormatTok->WhitespaceRange.getBegin() == in parsePPDefine()568 FormatTok->WhitespaceRange.getEnd()) { in parsePPDefine()
240 State.NextToken->WhitespaceRange.getEnd()) - in addTokenToState()242 State.NextToken->WhitespaceRange.getBegin()); in addTokenToState()
1577 return Tok.WhitespaceRange.getBegin() != Tok.WhitespaceRange.getEnd(); in spaceRequiredBefore()