Home
last modified time | relevance | path

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

/external/clang/lib/Format/
DAffectedRangeManager.cpp75 SourceLocation Start = First.WhitespaceRange.getBegin(); in affectsTokenRange()
86 Tok.WhitespaceRange.getBegin(), in affectsLeadingEmptyLines()
87 Tok.WhitespaceRange.getBegin().getLocWithOffset(Tok.LastNewlineOffset)); in affectsLeadingEmptyLines()
DFormatTokenLexer.cpp103 if (First[1]->WhitespaceRange.getBegin() != in tryMergeLessLess()
104 First[1]->WhitespaceRange.getEnd()) in tryMergeLessLess()
126 First[i]->WhitespaceRange.getBegin() != in tryMergeTokens()
127 First[i]->WhitespaceRange.getEnd()) in tryMergeTokens()
291 String->WhitespaceRange = Macro->WhitespaceRange; in tryMerge_TMacro()
378 FormatTok->WhitespaceRange = SourceRange(TokLocation, TokLocation); in getStashedToken()
474 FormatTok->WhitespaceRange = SourceRange( in getNextToken()
DFormatToken.h130 SourceRange WhitespaceRange; member
405 return WhitespaceRange.getEnd(); in getStartOfNonWhitespace()
DFormat.cpp917 if (Tok->WhitespaceRange.getBegin() == Tok->WhitespaceRange.getEnd()) { in hasCpp03IncompatibleFormat()
937 Tok->WhitespaceRange.getBegin() != Tok->WhitespaceRange.getEnd(); in countVariableAlignments()
938 bool SpaceAfter = Tok->Next->WhitespaceRange.getBegin() != in countVariableAlignments()
939 Tok->Next->WhitespaceRange.getEnd(); in countVariableAlignments()
DWhitespaceManager.cpp58 Change(/*CreateReplacement=*/true, Tok.WhitespaceRange, IndentLevel, in replaceWhitespace()
70 /*CreateReplacement=*/false, Tok.WhitespaceRange, /*IndentLevel=*/0, in addUntouchableToken()
DSortJavaScriptImports.cpp408 Current->getPreviousNonComment()->Next->WhitespaceRange.getBegin()); in parseNamedBindings()
DContinuationIndenter.cpp288 SourceMgr.getSpellingColumnNumber(Current.WhitespaceRange.getEnd()); in addTokenToState()
295 SourceMgr.getSpellingColumnNumber(Current.WhitespaceRange.getBegin()); in addTokenToState()
DUnwrappedLineParser.cpp615 FormatTok->WhitespaceRange.getBegin() == in parsePPDefine()
616 FormatTok->WhitespaceRange.getEnd()) { in parsePPDefine()
DTokenAnnotator.cpp2162 return Right.WhitespaceRange.getBegin() != Right.WhitespaceRange.getEnd(); in spaceRequiredBefore()