Lines Matching refs:MacroArgs
14 #include "MacroArgs.h"
24 /// MacroArgs ctor function - This destroys the vector passed in.
25 MacroArgs *MacroArgs::create(const MacroInfo *MI,
30 MacroArgs **ResultEnt = 0;
35 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry;
48 MacroArgs *Result;
50 // Allocate memory for a MacroArgs object with the lexer tokens at the end.
51 Result = (MacroArgs*)malloc(sizeof(MacroArgs) +
53 // Construct the MacroArgs object.
54 new (Result) MacroArgs(UnexpArgTokens.size(), VarargsElided);
73 void MacroArgs::destroy(Preprocessor &PP) {
88 MacroArgs *MacroArgs::deallocate() {
89 MacroArgs *Next = ArgCache;
92 this->~MacroArgs();
103 unsigned MacroArgs::getArgLength(const Token *ArgPtr) {
113 const Token *MacroArgs::getUnexpArgument(unsigned Arg) const {
114 // The unexpanded argument tokens start immediately after the MacroArgs object
131 bool MacroArgs::ArgNeedsPreexpansion(const Token *ArgTok,
148 MacroArgs::getPreExpArgument(unsigned Arg, const MacroInfo *MI,
195 Token MacroArgs::StringifyArgument(const Token *ArgToks,
297 const Token &MacroArgs::getStringifiedArgument(unsigned ArgNo,