Lines Matching defs:UnwrappedLine
32 struct UnwrappedLine {
33 UnwrappedLine() = default;
35 /// The \c Tokens comprising this \c UnwrappedLine.
38 /// The indent level of the \c UnwrappedLine.
45 /// Whether this \c UnwrappedLine is part of a preprocessor directive.
47 /// Whether this \c UnwrappedLine is part of a pramga directive.
64 /// If this \c UnwrappedLine closes a block in a sequence of lines,
70 /// If this \c UnwrappedLine opens a block, stores the index of the
95 virtual void consumeUnwrappedLine(const UnwrappedLine &Line) = 0;
126 bool mightFitOnOneLine(UnwrappedLine &Line,
255 bool containsExpansion(const UnwrappedLine &Line) const;
267 std::unique_ptr<UnwrappedLine> Line;
276 SmallVector<UnwrappedLine, 8> CurrentExpandedLines;
278 // Maps from the first token of a top-level UnwrappedLine that contains
281 llvm::DenseMap<FormatToken *, SmallVector<UnwrappedLine, 8>> ExpandedLines;
285 llvm::DenseMap<FormatToken *, std::unique_ptr<UnwrappedLine>> Unexpanded;
305 SmallVector<UnwrappedLine, 8> Lines;
310 SmallVector<UnwrappedLine, 4> PreprocessorDirectives;
316 SmallVectorImpl<UnwrappedLine> *CurrentLines;
414 llvm::ArrayRef<UnwrappedLine> Children = {})
418 SmallVector<UnwrappedLine, 0> Children;
421 std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line);