Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DAffectedRangeManager.cpp75 SourceLocation Start = First.WhitespaceRange.getBegin(); in affectsTokenRange()
86 Tok.WhitespaceRange.getBegin(), in affectsLeadingEmptyLines()
87 Tok.WhitespaceRange.getBegin().getLocWithOffset(Tok.LastNewlineOffset)); in affectsLeadingEmptyLines()
H A DUsingDeclarationsSorter.cpp142 (*UsingDeclarations)[I].Line->First->WhitespaceRange.getBegin(); in endUsingDeclarationBlock()
H A DFormatToken.h254 SourceRange WhitespaceRange; member
690 return WhitespaceRange.getEnd(); in getStartOfNonWhitespace()
696 return WhitespaceRange.getBegin() != WhitespaceRange.getEnd(); in hasWhitespaceBefore()
H A DSortJavaScriptImports.cpp546 Current->getPreviousNonComment()->Next->WhitespaceRange.getBegin()); in parseNamedBindings()
H A DWhitespaceManager.cpp55 Changes.push_back(Change(Tok, /*CreateReplacement=*/true, Tok.WhitespaceRange, in replaceWhitespace()
66 Tok.WhitespaceRange, /*Spaces=*/0, in addUntouchableToken()
H A DFormatTokenLexer.cpp1025 FormatTok->WhitespaceRange = SourceRange(
H A DContinuationIndenter.cpp606 SourceMgr.getSpellingColumnNumber(Current.WhitespaceRange.getEnd()); in addTokenToState()
613 SourceMgr.getSpellingColumnNumber(Current.WhitespaceRange.getBegin()); in addTokenToState()
H A DFormat.cpp1915 : Token->WhitespaceRange.getBegin(); in removeBraces()