Searched refs:getDirective (Results 1 – 4 of 4) sorted by relevance
40 static DirectiveType getDirective(const pp::Token* token) in getDirective() function258 DirectiveType directive = getDirective(token); in parseDirective()329 assert(getDirective(token) == DIRECTIVE_DEFINE); in parseDefine()409 assert(getDirective(token) == DIRECTIVE_UNDEF); in parseUndef()438 assert(getDirective(token) == DIRECTIVE_IF); in parseIf()444 assert(getDirective(token) == DIRECTIVE_IFDEF); in parseIfdef()450 assert(getDirective(token) == DIRECTIVE_IFNDEF); in parseIfndef()456 assert(getDirective(token) == DIRECTIVE_ELSE); in parseElse()497 assert(getDirective(token) == DIRECTIVE_ELIF); in parseElif()537 assert(getDirective(token) == DIRECTIVE_ENDIF); in parseEndif()[all …]
407 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective() function408 DefMacroDirective *getDirective() { return DefDirective; } in getDirective() function
293 if (Def.getDirective()->isAmbiguous()) { in HandleMacroExpandedIdentifier()301 if (PrevDef.getDirective()->isAmbiguous()) { in HandleMacroExpandedIdentifier()
1628 PrevDef.getDirective()->setAmbiguous(true); in installImportedMacro()