| /freebsd-head/contrib/llvm-project/clang/lib/Format/ |
| HD | NamespaceEndCommentsFixer.cpp | 249 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in getNamespaceToken() argument 255 assert(StartLineIndex < AnnotatedLines.size()); in getNamespaceToken() 256 const FormatToken *NamespaceTok = AnnotatedLines[StartLineIndex]->First; in getNamespaceToken() 261 NamespaceTok = AnnotatedLines[StartLineIndex - 1]->First; in getNamespaceToken() 262 if (AnnotatedLines[StartLineIndex - 1]->endsWith(tok::semi)) in getNamespaceToken() 272 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in getNamespaceTokenText() argument 273 const FormatToken *NamespaceTok = getNamespaceToken(Line, AnnotatedLines); in getNamespaceTokenText() 282 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 285 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 290 for (AnnotatedLine *Line : AnnotatedLines) { in analyze() [all …]
|
| HD | TokenAnalyzer.cpp | 119 SmallVector<AnnotatedLine *, 16> AnnotatedLines; in process() local 120 AnnotatedLines.reserve(Lines.size()); in process() 124 AnnotatedLines.push_back(new AnnotatedLine(Line)); in process() 126 Annotator.annotate(*AnnotatedLines.back()); in process() 130 analyze(Annotator, AnnotatedLines, Lex); in process() 137 for (AnnotatedLine *Line : AnnotatedLines) in process()
|
| HD | NamespaceEndCommentsFixer.h | 31 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines); 39 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
| HD | Format.cpp | 2130 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 2132 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 2134 removeParens(AnnotatedLines, Result); in analyze() 2174 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 2176 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 2178 insertBraces(AnnotatedLines, Result); in analyze() 2227 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 2229 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 2231 removeBraces(AnnotatedLines, Result); in analyze() 2278 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument [all …]
|
| HD | ObjCPropertyAttributeOrderFixer.cpp | 184 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 189 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 191 for (AnnotatedLine *Line : AnnotatedLines) { in analyze()
|
| HD | QualifierAlignmentFixer.h | 59 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, 64 void fixQualifierAlignment(SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
| HD | UnwrappedLineFormatter.cpp | 188 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in getMatchingNamespaceToken() argument 194 assert(StartLineIndex < AnnotatedLines.size()); in getMatchingNamespaceToken() 195 return AnnotatedLines[StartLineIndex]->First->getNamespaceToken(); in getMatchingNamespaceToken() 205 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in getMatchingNamespaceTokenText() argument 207 getMatchingNamespaceToken(Line, AnnotatedLines); in getMatchingNamespaceTokenText() 216 AnnotatedLines(Lines) {} in LineJoiner() 281 const auto *PreviousLine = I != AnnotatedLines.begin() ? I[-1] : nullptr; in tryFitMultipleLinesInOne() 335 for (auto J = I - 1; J >= AnnotatedLines.begin(); --J) { in tryFitMultipleLinesInOne() 380 auto *ClosingLine = AnnotatedLines.begin() + ClosingLineIndex + 1; in tryFitMultipleLinesInOne() 394 if (auto nsToken = getMatchingNamespaceToken(TheLine, AnnotatedLines)) { in tryFitMultipleLinesInOne() [all …]
|
| HD | UsingDeclarationsSorter.cpp | 213 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 216 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 219 for (const AnnotatedLine *Line : AnnotatedLines) { in analyze()
|
| HD | DefinitionBlockSeparator.cpp | 23 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 26 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 28 separateBlocks(AnnotatedLines, Result, Tokens); in analyze()
|
| HD | SortJavaScriptImports.cpp | 143 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 146 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 152 parseModuleReferences(Keywords, AnnotatedLines); in analyze() 364 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in parseModuleReferences() argument 370 for (auto *Line : AnnotatedLines) { in parseModuleReferences()
|
| HD | QualifierAlignmentFixer.cpp | 537 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() argument 540 AffectedRangeMgr.computeAffectedLines(AnnotatedLines); in analyze() 541 fixQualifierAlignment(AnnotatedLines, Tokens, Fixes); in analyze() 546 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, FormatTokenLexer &Tokens, in fixQualifierAlignment() argument 553 for (AnnotatedLine *Line : AnnotatedLines) { in fixQualifierAlignment()
|
| HD | UsingDeclarationsSorter.h | 29 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
| HD | DefinitionBlockSeparator.h | 31 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
| HD | ObjCPropertyAttributeOrderFixer.h | 40 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
| HD | TokenAnalyzer.h | 87 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|