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,
253 bool containsExpansion(const UnwrappedLine &Line) const;
265 std::unique_ptr<UnwrappedLine> Line;
274 SmallVector<UnwrappedLine, 8> CurrentExpandedLines;
276 // Maps from the first token of a top-level UnwrappedLine that contains
279 llvm::DenseMap<FormatToken *, SmallVector<UnwrappedLine, 8>> ExpandedLines;
283 llvm::DenseMap<FormatToken *, std::unique_ptr<UnwrappedLine>> Unexpanded;
303 SmallVector<UnwrappedLine, 8> Lines;
308 SmallVector<UnwrappedLine, 4> PreprocessorDirectives;
314 SmallVectorImpl<UnwrappedLine> *CurrentLines;
412 llvm::ArrayRef<UnwrappedLine> Children = {})
416 SmallVector<UnwrappedLine, 0> Children;
419 std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line);