| /freebsd-11-stable/contrib/llvm-project/clang/lib/Format/ |
| HD | TokenAnnotator.h | 37 class AnnotatedLine { 39 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() function 64 Children.push_back(new AnnotatedLine(Child)); in AnnotatedLine() 72 ~AnnotatedLine() { in ~AnnotatedLine() 125 SmallVector<AnnotatedLine *, 0> Children; 151 AnnotatedLine(const AnnotatedLine &) = delete; 152 void operator=(const AnnotatedLine &) = delete; 165 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines); 167 void annotate(AnnotatedLine &Line); 168 void calculateFormattingInformation(AnnotatedLine &Line); [all …]
|
| HD | UnwrappedLineFormatter.cpp | 22 bool startsExternCBlock(const AnnotatedLine &Line) { in startsExternCBlock() 53 void nextLine(const AnnotatedLine &Line) { in nextLine() 71 void skipLine(const AnnotatedLine &Line) { in skipLine() 81 void adjustToUnmodifiedLine(const AnnotatedLine &Line) { in adjustToUnmodifiedLine() 138 const AnnotatedLine *Line, in getMatchingNamespaceToken() 139 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in getMatchingNamespaceToken() 149 StringRef getNamespaceTokenText(const AnnotatedLine *Line) { in getNamespaceTokenText() 155 const AnnotatedLine *Line, in getMatchingNamespaceTokenText() 156 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in getMatchingNamespaceTokenText() 165 const SmallVectorImpl<AnnotatedLine *> &Lines) in LineJoiner() [all …]
|
| HD | AffectedRangeManager.cpp | 23 SmallVectorImpl<AnnotatedLine *> &Lines) { in computeAffectedLines() 24 SmallVectorImpl<AnnotatedLine *>::iterator I = Lines.begin(); in computeAffectedLines() 25 SmallVectorImpl<AnnotatedLine *>::iterator E = Lines.end(); in computeAffectedLines() 27 const AnnotatedLine *PreviousLine = nullptr; in computeAffectedLines() 29 AnnotatedLine *Line = *I; in computeAffectedLines() 36 SmallVectorImpl<AnnotatedLine *>::iterator PPEnd = I + 1; in computeAffectedLines() 92 SmallVectorImpl<AnnotatedLine *>::iterator I, in markAllAsAffected() 93 SmallVectorImpl<AnnotatedLine *>::iterator E) { in markAllAsAffected() 102 AnnotatedLine *Line, const AnnotatedLine *PreviousLine, in nonPPLineAffected() 103 SmallVectorImpl<AnnotatedLine *> &Lines) { in nonPPLineAffected()
|
| HD | AffectedRangeManager.h | 23 class AnnotatedLine; variable 34 bool computeAffectedLines(SmallVectorImpl<AnnotatedLine *> &Lines); 50 void markAllAsAffected(SmallVectorImpl<AnnotatedLine *>::iterator I, 51 SmallVectorImpl<AnnotatedLine *>::iterator E); 55 bool nonPPLineAffected(AnnotatedLine *Line, const AnnotatedLine *PreviousLine, 56 SmallVectorImpl<AnnotatedLine *> &Lines);
|
| HD | UnwrappedLineFormatter.h | 40 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines, 48 void formatFirstToken(const AnnotatedLine &Line, 49 const AnnotatedLine *PreviousLine, 50 const SmallVectorImpl<AnnotatedLine *> &Lines, 56 const AnnotatedLine *NextLine) const; 61 std::map<std::pair<const SmallVectorImpl<AnnotatedLine *> *, unsigned>,
|
| HD | NamespaceEndCommentsFixer.h | 30 getNamespaceToken(const AnnotatedLine *Line, 31 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines); 39 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
| HD | NamespaceEndCommentsFixer.cpp | 155 getNamespaceToken(const AnnotatedLine *Line, in getNamespaceToken() 156 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in getNamespaceToken() 174 getNamespaceTokenText(const AnnotatedLine *Line, in getNamespaceTokenText() 175 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in getNamespaceTokenText() 185 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() 195 const AnnotatedLine *EndLine = AnnotatedLines[I]; in analyze()
|
| HD | SortJavaScriptImports.cpp | 127 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() 134 AnnotatedLine *FirstNonImportLine; in analyze() 276 std::pair<SmallVector<JsModuleReference, 16>, AnnotatedLine *> 278 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in parseModuleReferences() 281 AnnotatedLine *FirstNonImportLine = nullptr; in parseModuleReferences()
|
| HD | ContinuationIndenter.h | 30 class AnnotatedLine; variable 66 const AnnotatedLine *Line, bool DryRun); 424 const AnnotatedLine *Line;
|
| HD | UsingDeclarationsSorter.cpp | 68 const AnnotatedLine *Line; 71 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration() 185 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze()
|
| HD | TokenAnalyzer.cpp | 77 SmallVector<AnnotatedLine *, 16> AnnotatedLines; in process() 81 AnnotatedLines.push_back(new AnnotatedLine(UnwrappedLines[Run][i])); in process()
|
| HD | UsingDeclarationsSorter.h | 29 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
| HD | Format.cpp | 1263 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() 1274 void requoteJSStringLiteral(SmallVectorImpl<AnnotatedLine *> &Lines, in requoteJSStringLiteral() 1276 for (AnnotatedLine *Line : Lines) { in requoteJSStringLiteral() 1351 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() 1395 hasCpp03IncompatibleFormat(const SmallVectorImpl<AnnotatedLine *> &Lines) { in hasCpp03IncompatibleFormat() 1396 for (const AnnotatedLine *Line : Lines) { in hasCpp03IncompatibleFormat() 1412 int countVariableAlignments(const SmallVectorImpl<AnnotatedLine *> &Lines) { in countVariableAlignments() 1414 for (const AnnotatedLine *Line : Lines) { in countVariableAlignments() 1433 deriveLocalStyle(const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { in deriveLocalStyle() 1476 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, in analyze() [all …]
|
| HD | TokenAnalyzer.h | 89 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
| HD | TokenAnnotator.cpp | 66 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, in AnnotatingParser() 1858 AnnotatedLine &Line; 1878 AnnotatedLine &Line) in ExpressionParser() 2075 SmallVectorImpl<AnnotatedLine *> &Lines) { in setCommentLineLevels() 2076 const AnnotatedLine *NextNonCommentLine = nullptr; in setCommentLineLevels() 2077 for (SmallVectorImpl<AnnotatedLine *>::reverse_iterator I = Lines.rbegin(), in setCommentLineLevels() 2111 static unsigned maxNestingDepth(const AnnotatedLine &Line) { in maxNestingDepth() 2118 void TokenAnnotator::annotate(AnnotatedLine &Line) { in annotate() 2119 for (SmallVectorImpl<AnnotatedLine *>::iterator I = Line.Children.begin(), in annotate() 2154 const AnnotatedLine &Line) { in isFunctionDeclarationName() [all …]
|
| HD | FormatToken.h | 127 class AnnotatedLine; variable 304 SmallVector<AnnotatedLine *, 1> Children;
|
| HD | ContinuationIndenter.cpp | 237 const AnnotatedLine *Line, in getInitialState()
|