Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/src/compiler/preprocessor/
DDirectiveParser.cpp40 static DirectiveType getDirective(const pp::Token* token) in getDirective() function
258 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 …]
/external/clang/include/clang/Lex/
DMacroInfo.h407 const DefMacroDirective *getDirective() const { return DefDirective; } in getDirective() function
408 DefMacroDirective *getDirective() { return DefDirective; } in getDirective() function
/external/clang/lib/Lex/
DPPMacroExpansion.cpp293 if (Def.getDirective()->isAmbiguous()) { in HandleMacroExpandedIdentifier()
301 if (PrevDef.getDirective()->isAmbiguous()) { in HandleMacroExpandedIdentifier()
/external/clang/lib/Serialization/
DASTReader.cpp1628 PrevDef.getDirective()->setAmbiguous(true); in installImportedMacro()