Home
last modified time | relevance | path

Searched refs:UnwrappedLine (Results 1 – 11 of 11) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Format/
HDUnwrappedLineParser.h32 struct UnwrappedLine { struct
33 UnwrappedLine() = default;
95 virtual void consumeUnwrappedLine(const UnwrappedLine &Line) = 0; argument
126 bool mightFitOnOneLine(UnwrappedLine &Line,
253 bool containsExpansion(const UnwrappedLine &Line) const;
265 std::unique_ptr<UnwrappedLine> Line;
274 SmallVector<UnwrappedLine, 8> CurrentExpandedLines;
279 llvm::DenseMap<FormatToken *, SmallVector<UnwrappedLine, 8>> ExpandedLines;
283 llvm::DenseMap<FormatToken *, std::unique_ptr<UnwrappedLine>> Unexpanded;
303 SmallVector<UnwrappedLine, 8> Lines;
[all …]
HDMacros.h49 struct UnwrappedLine;
180 const llvm::DenseMap<FormatToken *, std::unique_ptr<UnwrappedLine>>
187 void addLine(const UnwrappedLine &Line);
225 UnwrappedLine takeResult() &&;
242 UnwrappedLine createUnwrappedLine(const ReconstructedLine &Line, int Level);
375 const llvm::DenseMap<FormatToken *, std::unique_ptr<UnwrappedLine>>
HDMacroCallReconstructor.cpp32 void forEachToken(const UnwrappedLine &Line, const T &Call, in forEachToken()
45 const llvm::DenseMap<FormatToken *, std::unique_ptr<UnwrappedLine>> in MacroCallReconstructor()
52 void MacroCallReconstructor::addLine(const UnwrappedLine &Line) { in addLine()
60 UnwrappedLine MacroCallReconstructor::takeResult() && { in takeResult()
64 UnwrappedLine Final = createUnwrappedLine( in takeResult()
506 UnwrappedLine
509 UnwrappedLine Result; in createUnwrappedLine()
HDTokenAnalyzer.h90 void consumeUnwrappedLine(const UnwrappedLine &TheLine) override;
100 SmallVector<SmallVector<UnwrappedLine, 16>, 2> UnwrappedLines;
HDTokenAnalyzer.cpp123 for (const UnwrappedLine &Line : Lines) { in process()
154 void TokenAnalyzer::consumeUnwrappedLine(const UnwrappedLine &TheLine) { in consumeUnwrappedLine()
160 UnwrappedLines.push_back(SmallVector<UnwrappedLine, 16>()); in finishRun()
HDUnwrappedLineParser.cpp38 void printLine(llvm::raw_ostream &OS, const UnwrappedLine &Line, in printLine()
54 for (SmallVectorImpl<UnwrappedLine>::const_iterator in printLine()
67 LLVM_ATTRIBUTE_UNUSED static void printDebugInfo(const UnwrappedLine &Line) { in printDebugInfo()
73 ScopedDeclarationState(UnwrappedLine &Line, llvm::BitVector &Stack, in ScopedDeclarationState()
88 UnwrappedLine &Line;
94 std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line) { in operator <<()
110 Parser.Line = std::make_unique<UnwrappedLine>(); in ScopedLineState()
131 std::unique_ptr<UnwrappedLine> PreBlockLine;
132 SmallVectorImpl<UnwrappedLine> *OriginalLines;
163 : Line(new UnwrappedLine), MustBreakBeforeNextToken(false), in UnwrappedLineParser()
[all …]
HDFormatTokenSource.h193 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, in ScopedMacroState()
258 UnwrappedLine &Line;
HDAffectedRangeManager.cpp144 Line->MatchingOpeningBlockLineIndex != UnwrappedLine::kInvalidIndex && in nonPPLineAffected()
HDTokenAnnotator.h49 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine()
HDNamespaceEndCommentsFixer.cpp253 if (StartLineIndex == UnwrappedLine::kInvalidIndex) in getNamespaceToken()
HDUnwrappedLineFormatter.cpp192 if (StartLineIndex == UnwrappedLine::kInvalidIndex) in getMatchingNamespaceToken()