Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DFormat.cpp679 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 …]
DFormatToken.h138 SourceRange WhitespaceRange; member
171 return WhitespaceRange.getEnd(); in getStartOfNonWhitespace()
DWhitespaceManager.cpp55 Changes.push_back(Change(true, Tok.WhitespaceRange, IndentLevel, Spaces, in replaceWhitespace()
64 Changes.push_back(Change(false, Tok.WhitespaceRange, /*IndentLevel=*/0, in addUntouchableToken()
DContinuationIndenter.cpp252 SourceMgr.getSpellingColumnNumber(Current.WhitespaceRange.getEnd()); in addTokenToState()
259 SourceMgr.getSpellingColumnNumber(Current.WhitespaceRange.getBegin()); in addTokenToState()
DUnwrappedLineParser.cpp585 FormatTok->WhitespaceRange.getBegin() == in parsePPDefine()
586 FormatTok->WhitespaceRange.getEnd()) { in parsePPDefine()
DUnwrappedLineFormatter.cpp405 if (FirstTok->WhitespaceRange.isValid()) { in format()
DTokenAnnotator.cpp1817 return Right.WhitespaceRange.getBegin() != Right.WhitespaceRange.getEnd(); in spaceRequiredBefore()