/netbsd-current/external/apache2/llvm/dist/clang/lib/Format/ |
H A D | AffectedRangeManager.h | 23 class AnnotatedLine; 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);
|
H A D | NamespaceEndCommentsFixer.h | 30 getNamespaceToken(const AnnotatedLine *Line, 31 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines); 39 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
H A D | TokenAnnotator.h | 37 class AnnotatedLine { class in namespace:clang::format 39 AnnotatedLine(const UnwrappedLine &Line) function in class:clang::format::AnnotatedLine 64 Children.push_back(new AnnotatedLine(Child)); 72 ~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 [all...] |
H A D | 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>,
|
H A D | AffectedRangeManager.cpp | 23 SmallVectorImpl<AnnotatedLine *> &Lines) { 24 SmallVectorImpl<AnnotatedLine *>::iterator I = Lines.begin(); 25 SmallVectorImpl<AnnotatedLine *>::iterator E = Lines.end(); 27 const AnnotatedLine *PreviousLine = nullptr; 29 AnnotatedLine *Line = *I; 36 SmallVectorImpl<AnnotatedLine *>::iterator PPEnd = I + 1; 92 SmallVectorImpl<AnnotatedLine *>::iterator I, 93 SmallVectorImpl<AnnotatedLine *>::iterator E) { 102 AnnotatedLine *Line, const AnnotatedLine *PreviousLin [all...] |
H A D | UsingDeclarationsSorter.h | 29 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
H A D | UnwrappedLineFormatter.cpp | 22 bool startsExternCBlock(const AnnotatedLine &Line) { 31 /// \c nextLine must be called for each \c AnnotatedLine, after which \c 53 void nextLine(const AnnotatedLine &Line) { 73 void skipLine(const AnnotatedLine &Line) { 83 void adjustToUnmodifiedLine(const AnnotatedLine &Line) { 145 const AnnotatedLine *Line, 146 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { 156 StringRef getNamespaceTokenText(const AnnotatedLine *Line) { 162 const AnnotatedLine *Line, 163 const SmallVectorImpl<AnnotatedLine *> [all...] |
H A D | NamespaceEndCommentsFixer.cpp | 171 getNamespaceToken(const AnnotatedLine *Line, 172 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { 190 getNamespaceTokenText(const AnnotatedLine *Line, 191 const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { 201 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, 228 const AnnotatedLine *EndLine = AnnotatedLines[I];
|
H A D | TokenAnalyzer.h | 89 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
H A D | TokenAnalyzer.cpp | 82 SmallVector<AnnotatedLine *, 16> AnnotatedLines; 86 AnnotatedLines.push_back(new AnnotatedLine(UnwrappedLines[Run][i]));
|
H A D | UsingDeclarationsSorter.cpp | 68 const AnnotatedLine *Line; 71 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) 185 TokenAnnotator &Annotator, SmallVectorImpl<AnnotatedLine *> &AnnotatedLines,
|
H A D | ContinuationIndenter.h | 30 class AnnotatedLine; 66 const AnnotatedLine *Line, bool DryRun); 454 const AnnotatedLine *Line;
|
H A D | SortJavaScriptImports.cpp | 137 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, 144 AnnotatedLine *FirstNonImportLine; 348 std::pair<SmallVector<JsModuleReference, 16>, AnnotatedLine *> 350 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { 353 AnnotatedLine *FirstNonImportLine = nullptr;
|
H A D | TokenAnnotator.cpp | 73 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, 2050 AnnotatedLine &Line; 2070 AnnotatedLine &Line) 2267 SmallVectorImpl<AnnotatedLine *> &Lines) { 2268 const AnnotatedLine *NextNonCommentLine = nullptr; 2269 for (SmallVectorImpl<AnnotatedLine *>::reverse_iterator I = Lines.rbegin(), 2303 static unsigned maxNestingDepth(const AnnotatedLine &Line) { 2310 void TokenAnnotator::annotate(AnnotatedLine &Line) { 2311 for (SmallVectorImpl<AnnotatedLine *>::iterator I = Line.Children.begin(), 2346 const AnnotatedLine [all...] |
H A D | FormatToken.h | 205 class AnnotatedLine; 436 SmallVector<AnnotatedLine *, 1> Children;
|
H A D | Format.cpp | 1541 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, 1552 void requoteJSStringLiteral(SmallVectorImpl<AnnotatedLine *> &Lines, 1554 for (AnnotatedLine *Line : Lines) { 1629 SmallVectorImpl<AnnotatedLine *> &AnnotatedLines, 1673 hasCpp03IncompatibleFormat(const SmallVectorImpl<AnnotatedLine *> &Lines) { 1674 for (const AnnotatedLine *Line : Lines) { 1690 int countVariableAlignments(const SmallVectorImpl<AnnotatedLine *> &Lines) { 1692 for (const AnnotatedLine *Line : Lines) { 1711 deriveLocalStyle(const SmallVectorImpl<AnnotatedLine *> &AnnotatedLines) { 1761 SmallVectorImpl<AnnotatedLine *> [all...] |
H A D | ContinuationIndenter.cpp | 237 const AnnotatedLine *Line,
|