Home
last modified time | relevance | path

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

/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp294 const TokenInfo NameToken = Tokenizer->consumeNextToken(); in parseIdentifierPrefixImpl() local
299 NamedValues ? NamedValues->lookup(NameToken.Text) in parseIdentifierPrefixImpl()
309 !S->lookupMatcherCtor(NameToken.Text)) { in parseIdentifierPrefixImpl()
310 Error->addError(NameToken.Range, Error->ET_RegistryValueNotFound) in parseIdentifierPrefixImpl()
311 << NameToken.Text; in parseIdentifierPrefixImpl()
318 return parseMatcherExpressionImpl(NameToken, Value); in parseIdentifierPrefixImpl()
325 bool Parser::parseMatcherExpressionImpl(const TokenInfo &NameToken, in parseMatcherExpressionImpl() argument
327 assert(NameToken.Kind == TokenInfo::TK_Ident); in parseMatcherExpressionImpl()
335 llvm::Optional<MatcherCtor> Ctor = S->lookupMatcherCtor(NameToken.Text); in parseMatcherExpressionImpl()
338 Error->addError(NameToken.Range, Error->ET_RegistryMatcherNotFound) in parseMatcherExpressionImpl()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceScriptParser.cpp53 ASSIGN_OR_RETURN(NameToken, readTypeOrName()); in parseSingleResource()
55 if (NameToken->equalsLower("LANGUAGE")) in parseSingleResource()
57 else if (NameToken->equalsLower("STRINGTABLE")) in parseSingleResource()
91 (*Result)->setName(*NameToken); in parseSingleResource()
/external/clang/include/clang/ASTMatchers/Dynamic/
DParser.h232 bool parseMatcherExpressionImpl(const TokenInfo &NameToken,