Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp138 SmallVectorImpl<UsingDeclaration> *UsingDeclarations, in endUsingDeclarationBlock() argument
142 for (const UsingDeclaration &Declaration : *UsingDeclarations) { in endUsingDeclarationBlock()
149 UsingDeclarations->clear(); in endUsingDeclarationBlock()
153 UsingDeclarations->begin(), UsingDeclarations->end()); in endUsingDeclarationBlock()
166 for (size_t I = 0, E = UsingDeclarations->size(); I < E; ++I) { in endUsingDeclarationBlock()
170 (*UsingDeclarations)[I].Line->First->WhitespaceRange.getBegin(); in endUsingDeclarationBlock()
171 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
180 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line) in endUsingDeclarationBlock()
182 auto Begin = (*UsingDeclarations)[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock()
183 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
[all …]