Searched refs:WhitespaceRange (Results 1 – 7 of 7) sorted by relevance
679 if (First[1]->WhitespaceRange.getBegin() != in tryMergeLessLess()680 First[1]->WhitespaceRange.getEnd()) in tryMergeLessLess()701 First[i]->WhitespaceRange.getBegin() != in tryMergeTokens()702 First[i]->WhitespaceRange.getEnd()) in tryMergeTokens()876 String->WhitespaceRange = Macro->WhitespaceRange; in tryMerge_TMacro()963 FormatTok->WhitespaceRange = SourceRange(TokLocation, TokLocation); in getStashedToken()1051 FormatTok->WhitespaceRange = SourceRange( in getNextToken()1363 SourceLocation Start = First.WhitespaceRange.getBegin(); in affectsTokenRange()1376 Tok.WhitespaceRange.getBegin(), in affectsLeadingEmptyLines()1377 Tok.WhitespaceRange.getBegin().getLocWithOffset(Tok.LastNewlineOffset)); in affectsLeadingEmptyLines()[all …]
138 SourceRange WhitespaceRange; member171 return WhitespaceRange.getEnd(); in getStartOfNonWhitespace()
55 Changes.push_back(Change(true, Tok.WhitespaceRange, IndentLevel, Spaces, in replaceWhitespace()64 Changes.push_back(Change(false, Tok.WhitespaceRange, /*IndentLevel=*/0, in addUntouchableToken()
252 SourceMgr.getSpellingColumnNumber(Current.WhitespaceRange.getEnd()); in addTokenToState()259 SourceMgr.getSpellingColumnNumber(Current.WhitespaceRange.getBegin()); in addTokenToState()
585 FormatTok->WhitespaceRange.getBegin() == in parsePPDefine()586 FormatTok->WhitespaceRange.getEnd()) { in parsePPDefine()
405 if (FirstTok->WhitespaceRange.isValid()) { in format()
1817 return Right.WhitespaceRange.getBegin() != Right.WhitespaceRange.getEnd(); in spaceRequiredBefore()