Home
last modified time | relevance | path

Searched refs:LineNode (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DMacros.h264 struct LineNode { struct
265 LineNode() = default;
266 LineNode(FormatToken *Tok) : Tok(Tok) {} in LineNode() argument
275 llvm::SmallVector<std::unique_ptr<LineNode>> Tokens; argument
H A DMacroCallReconstructor.cpp48 Result.Tokens.push_back(std::make_unique<LineNode>()); in MacroCallReconstructor()
478 LineNode &Top = *Result.Tokens.front(); in finalize()
482 LineNode *Last = (*I)->Tokens.back().get(); in finalize()
501 L->Tokens.push_back(std::make_unique<LineNode>(Token)); in appendToken()
H A DUnwrappedLineParser.cpp1393 bool HasAt = llvm::any_of(Line->Tokens, [](UnwrappedLineNode &LineNode) { in readTokenWithJavaScriptASI() argument
1394 return LineNode.Tok->is(tok::at); in readTokenWithJavaScriptASI()