Home
last modified time | relevance | path

Searched refs:TryConsumeIdentifier (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/Lex/
DPragma.cpp803 auto TryConsumeIdentifier = [&](StringRef Ident) -> bool { in HandlePragmaModuleBuild() local
833 if (TryConsumeIdentifier("pragma") && TryConsumeIdentifier("clang") && in HandlePragmaModuleBuild()
834 TryConsumeIdentifier("module")) { in HandlePragmaModuleBuild()
835 if (TryConsumeIdentifier("build")) in HandlePragmaModuleBuild()
838 else if (TryConsumeIdentifier("endbuild")) { in HandlePragmaModuleBuild()
/external/protobuf/python/google/protobuf/
Dtext_format.py1172 if (not tokenizer.TryConsumeIdentifier() and
1300 def TryConsumeIdentifier(self): member in Tokenizer