Searched refs:getDirective (Results 1 – 3 of 3) sorted by relevance
49 static DirectiveType getDirective(const pp::Token *token) in getDirective() function272 DirectiveType directive = getDirective(token); in parseDirective()343 assert(getDirective(token) == DIRECTIVE_DEFINE); in parseDefine()439 assert(getDirective(token) == DIRECTIVE_UNDEF); in parseUndef()480 assert(getDirective(token) == DIRECTIVE_IF); in parseIf()486 assert(getDirective(token) == DIRECTIVE_IFDEF); in parseIfdef()492 assert(getDirective(token) == DIRECTIVE_IFNDEF); in parseIfndef()498 assert(getDirective(token) == DIRECTIVE_ELSE); in parseElse()539 assert(getDirective(token) == DIRECTIVE_ELIF); in parseElif()579 assert(getDirective(token) == DIRECTIVE_ENDIF); in parseEndif()[all …]
364 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective() function365 DefMacroDirective *getDirective() { return DefDirective; } in getDirective() function
840 return MacroDefinition(DI.getDirective(), in getMacroDefinitionAtLoc()