Lines Matching refs:FormatToken
37 SmallVector<FormatToken *, 8> Params;
38 SmallVector<FormatToken *, 8> Body;
51 DefinitionParser(ArrayRef<FormatToken *> Tokens) : Tokens(Tokens) { in DefinitionParser()
117 FormatToken *Current = nullptr;
119 ArrayRef<FormatToken *> Tokens;
125 llvm::SpecificBumpPtrAllocator<FormatToken> &Allocator, in MacroExpander()
158 llvm::SmallVector<FormatToken *, 8> MacroExpander::expand(FormatToken *ID, in expand()
161 SmallVector<FormatToken *, 8> Result; in expand()
168 auto pushToken = [&](FormatToken *Tok) { in expand()
175 auto expandArgument = [&](FormatToken *Tok) -> bool { in expand()
189 for (FormatToken *Arg : Args[I->getValue()]) { in expand()
203 for (FormatToken *Tok : Def.Body) { in expand()
208 FormatToken *New = new (Allocator.Allocate()) FormatToken; in expand()