Lines Matching refs:mMacroSet
153 : mLexer(lexer), mMacroSet(macroSet), mDiagnostics(diagnostics) in DefinedParser()
182 MacroSet::const_iterator iter = mMacroSet->find(token->text); in lex()
183 std::string expression = iter != mMacroSet->end() ? "1" : "0"; in lex()
205 const MacroSet *mMacroSet; member in pp::DefinedParser
217 mMacroSet(macroSet), in DirectiveParser()
352 if (isMacroPredefined(token->text, *mMacroSet)) in parseDefine()
428 MacroSet::const_iterator iter = mMacroSet->find(macro->name); in parseDefine()
429 if (iter != mMacroSet->end() && !macro->equals(*iter->second)) in parseDefine()
434 mMacroSet->insert(std::make_pair(macro->name, macro)); in parseDefine()
449 MacroSet::iterator iter = mMacroSet->find(token->text); in parseUndef()
450 if (iter != mMacroSet->end()) in parseUndef()
466 mMacroSet->erase(iter); in parseUndef()
842 PredefineMacro(mMacroSet, "__VERSION__", version); in parseVersion()
854 MacroExpander macroExpander(mTokenizer, mMacroSet, mDiagnostics, false, mMaxMacroExpansionDepth); in parseLine()
962 DefinedParser definedParser(mTokenizer, mMacroSet, mDiagnostics); in parseExpressionIf()
963 …MacroExpander macroExpander(&definedParser, mMacroSet, mDiagnostics, true, mMaxMacroExpansionDepth… in parseExpressionIf()
999 MacroSet::const_iterator iter = mMacroSet->find(token->text); in parseExpressionIfdef()
1000 int expression = iter != mMacroSet->end() ? 1 : 0; in parseExpressionIfdef()