Searched refs:AnnotatedLines (Results 1 - 9 of 9) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/lib/Format/
H A DNamespaceEndCommentsFixer.h28 // \p AnnotatedLines is the sequence of lines from which \p Line is a member of.
31 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines);
39 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
H A DUsingDeclarationsSorter.h29 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
H A DNamespaceEndCommentsFixer.cpp172 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) {
178 assert(StartLineIndex < AnnotatedLines.size());
179 const FormatToken *NamespaceTok = AnnotatedLines[StartLineIndex]->First;
184 NamespaceTok = AnnotatedLines[StartLineIndex - 1]->First;
191 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) {
192 const FormatToken *NamespaceTok = getNamespaceToken(Line, AnnotatedLines);
201 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
204 AffectedRangeMgr.computeAffectedLines(AnnotatedLines);
209 for (size_t I = 0, E = AnnotatedLines.size(); I != E; ++I) {
210 FormatToken *Tok = AnnotatedLines[
171 getNamespaceToken(const AnnotatedLine *Line, const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) argument
[all...]
H A DTokenAnalyzer.cpp82 SmallVector<AnnotatedLine *, 16> AnnotatedLines; local
86 AnnotatedLines.push_back(new AnnotatedLine(UnwrappedLines[Run][i]));
87 Annotator.annotate(*AnnotatedLines.back());
91 analyze(Annotator, AnnotatedLines, Lex);
101 for (unsigned i = 0, e = AnnotatedLines.size(); i != e; ++i) {
102 delete AnnotatedLines[i];
H A DUsingDeclarationsSorter.cpp185 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
188 AffectedRangeMgr.computeAffectedLines(AnnotatedLines);
191 for (size_t I = 0, E = AnnotatedLines.size(); I != E; ++I) {
192 const auto *FirstTok = AnnotatedLines[I]->First;
193 if (AnnotatedLines[I]->InPPDirective ||
194 !AnnotatedLines[I]->startsWith(tok::kw_using) || FirstTok->Finalized) {
207 UsingDeclarations.push_back(UsingDeclaration(AnnotatedLines[I], Label));
184 analyze( TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, FormatTokenLexer &Tokens) argument
H A DTokenAnalyzer.h89 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
H A DSortJavaScriptImports.cpp137 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
140 AffectedRangeMgr.computeAffectedLines(AnnotatedLines);
146 parseModuleReferences(Keywords, AnnotatedLines);
350 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) {
356 for (auto *Line : AnnotatedLines) {
349 parseModuleReferences(const AdditionalKeywords &Keywords, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) argument
H A DUnwrappedLineFormatter.cpp29 /// Tracks the indent level of \c AnnotatedLines across levels.
146 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) {
152 assert(StartLineIndex < AnnotatedLines.size());
153 return AnnotatedLines[StartLineIndex]->First->getNamespaceToken();
163 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) {
165 getMatchingNamespaceToken(Line, AnnotatedLines);
174 AnnotatedLines(Lines) {}
237 I != AnnotatedLines.begin()) {
289 if (auto nsToken = getMatchingNamespaceToken(TheLine, AnnotatedLines)) {
294 getMatchingNamespaceTokenText(I[i + 1], AnnotatedLines)
144 getMatchingNamespaceToken( const AnnotatedLine *Line, const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) argument
[all...]
H A DFormat.cpp1541 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
1543 AffectedRangeMgr.computeAffectedLines(AnnotatedLines);
1545 requoteJSStringLiteral(AnnotatedLines, Result);
1629 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
1632 deriveLocalStyle(AnnotatedLines); variable
1633 AffectedRangeMgr.computeAffectedLines(AnnotatedLines);
1634 for (unsigned i = 0, e = AnnotatedLines.size(); i != e; ++i) {
1635 Annotator.calculateFormattingInformation(*AnnotatedLines[i]);
1637 Annotator.setCommentLineLevels(AnnotatedLines);
1653 .format(AnnotatedLines, /*DryRu
1711 deriveLocalStyle(const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) argument
1834 checkEmptyNamespace(AnnotatedLines); variable
1868 checkEmptyNamespace(SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) argument
1890 checkEmptyNamespace(SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, unsigned CurrentLine, unsigned &NewLine, std::set<unsigned> &DeletedLines) argument
2059 guessIsObjC(const SourceManager &SourceManager, const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, const AdditionalKeywords &Keywords) argument
[all...]

Completed in 188 milliseconds