Home
last modified time | relevance | path

Searched refs:getDirective (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/preprocessor/
DDirectiveParser.cpp49 static DirectiveType getDirective(const pp::Token *token) in getDirective() function
272 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 …]
/external/clang/include/clang/Lex/
DMacroInfo.h364 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective() function
365 DefMacroDirective *getDirective() { return DefDirective; } in getDirective() function
DPreprocessor.h840 return MacroDefinition(DI.getDirective(), in getMacroDefinitionAtLoc()