Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DUnwrappedLineParser.h41 struct UnwrappedLine { struct
42 UnwrappedLine() = default;
101 virtual void consumeUnwrappedLine(const UnwrappedLine &Line) = 0; argument
132 bool mightFitOnOneLine(UnwrappedLine &Line,
259 bool containsExpansion(const UnwrappedLine &Line) const;
271 std::unique_ptr<UnwrappedLine> Line;
280 SmallVector<UnwrappedLine, 8> CurrentExpandedLines;
309 SmallVector<UnwrappedLine, 8> Lines;
314 SmallVector<UnwrappedLine, 4> PreprocessorDirectives;
320 SmallVectorImpl<UnwrappedLine> *CurrentLines;
[all …]
H A DMacros.h55 struct UnwrappedLine;
186 const llvm::DenseMap<FormatToken *, std::unique_ptr<UnwrappedLine>>
193 void addLine(const UnwrappedLine &Line);
231 UnwrappedLine takeResult() &&;
247 UnwrappedLine createUnwrappedLine(const ReconstructedLine &Line, int Level);
381 const llvm::DenseMap<FormatToken *, std::unique_ptr<UnwrappedLine>>
H A DMacroCallReconstructor.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()
61 UnwrappedLine MacroCallReconstructor::takeResult() && { in takeResult()
65 UnwrappedLine Final = in takeResult()
504 UnwrappedLine
507 UnwrappedLine Result; in createUnwrappedLine()
H A DTokenAnalyzer.h101 void consumeUnwrappedLine(const UnwrappedLine &TheLine) override;
110 SmallVector<SmallVector<UnwrappedLine, 16>, 2> UnwrappedLines;
H A DTokenAnalyzer.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()
H A DFormatTokenSource.h187 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, in ScopedMacroState()
252 UnwrappedLine &Line;
H A DUnwrappedLineParser.cpp53 for (SmallVectorImpl<UnwrappedLine>::const_iterator in printLine()
87 UnwrappedLine &Line;
103 Parser.Line = std::make_unique<UnwrappedLine>(); in ScopedLineState()
123 std::unique_ptr<UnwrappedLine> PreBlockLine;
124 SmallVectorImpl<UnwrappedLine> *OriginalLines;
171 Line.reset(new UnwrappedLine); in reset()
241 for (const UnwrappedLine &Line : Lines) { in parse()
795 ? (UnwrappedLine::kInvalidIndex) in parseBlock()
930 static bool isIIFE(const UnwrappedLine &Line, in isIIFE()
4418 for (const UnwrappedLine &Child : N.Children) in containsExpansion()
[all …]
H A DAffectedRangeManager.cpp144 Line->MatchingOpeningBlockLineIndex != UnwrappedLine::kInvalidIndex && in nonPPLineAffected()
H A DTokenAnnotator.h48 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine()
H A DNamespaceEndCommentsFixer.cpp253 if (StartLineIndex == UnwrappedLine::kInvalidIndex) in getNamespaceToken()
H A DUnwrappedLineFormatter.cpp193 if (StartLineIndex == UnwrappedLine::kInvalidIndex) in getMatchingNamespaceToken()