Lines Matching refs:MacroExpander
65 class MacroExpander::ScopedMacroReenabler final
68 ScopedMacroReenabler(MacroExpander *expander);
74 MacroExpander *mExpander;
77 MacroExpander::ScopedMacroReenabler::ScopedMacroReenabler(MacroExpander *expander) in ScopedMacroReenabler()
83 MacroExpander::ScopedMacroReenabler::~ScopedMacroReenabler() in ~ScopedMacroReenabler()
96 MacroExpander::MacroExpander(Lexer *lexer, in MacroExpander() function in pp::MacroExpander
111 MacroExpander::~MacroExpander() in ~MacroExpander()
120 void MacroExpander::lex(Token *token) in lex()
200 void MacroExpander::getToken(Token *token) in getToken()
226 void MacroExpander::ungetToken(const Token &token) in ungetToken()
241 bool MacroExpander::isNextTokenLeftParen() in isNextTokenLeftParen()
252 bool MacroExpander::pushMacro(std::shared_ptr<Macro> macro, const Token &identifier) in pushMacro()
274 void MacroExpander::popMacro() in popMacro()
297 bool MacroExpander::expandMacro(const Macro ¯o, in expandMacro()
355 bool MacroExpander::collectMacroArgs(const Macro ¯o, in collectMacroArgs()
448 …MacroExpander expander(&lexer, mMacroSet, mDiagnostics, mParseDefined, mAllowedMacroExpansionDepth… in collectMacroArgs()
467 void MacroExpander::replaceMacroParams(const Macro ¯o, in replaceMacroParams()
513 MacroExpander::MacroContext::MacroContext() : macro(0), index(0) in MacroContext()
517 MacroExpander::MacroContext::~MacroContext() in ~MacroContext()
521 bool MacroExpander::MacroContext::empty() const in empty()
526 const Token &MacroExpander::MacroContext::get() in get()
531 void MacroExpander::MacroContext::unget() in unget()