Searched refs:TryConsumeIdentifier (Results 1 – 2 of 2) sorted by relevance
803 auto TryConsumeIdentifier = [&](StringRef Ident) -> bool { in HandlePragmaModuleBuild() local833 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()
1172 if (not tokenizer.TryConsumeIdentifier() and1300 def TryConsumeIdentifier(self): member in Tokenizer