Searched refs:CommandName (Results 1 – 6 of 6) sorted by relevance
84 CommandInfo *CommandTraits::createCommandInfoWithName(StringRef CommandName) { in createCommandInfoWithName() argument85 char *Name = Allocator.Allocate<char>(CommandName.size() + 1); in createCommandInfoWithName()86 memcpy(Name, CommandName.data(), CommandName.size()); in createCommandInfoWithName()87 Name[CommandName.size()] = '\0'; in createCommandInfoWithName()104 StringRef CommandName) { in registerUnknownCommand() argument105 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerUnknownCommand()110 const CommandInfo *CommandTraits::registerBlockCommand(StringRef CommandName) { in registerBlockCommand() argument111 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerBlockCommand()
364 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand() local368 getInlineCommandRenderKind(CommandName), Args); in actOnInlineCommand()373 StringRef CommandName) { in actOnUnknownCommand() argument374 unsigned CommandID = Traits.registerUnknownCommand(CommandName)->getID(); in actOnUnknownCommand()396 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnVerbatimBlockStart() local399 Loc.getLocWithOffset(1 + CommandName.size()), in actOnVerbatimBlockStart()620 StringRef CommandName = Command->getCommandName(Traits); in checkBlockCommandDuplicate() local624 << CommandName in checkBlockCommandDuplicate()626 if (CommandName == PrevCommandName) in checkBlockCommandDuplicate()636 << CommandName; in checkBlockCommandDuplicate()
400 StringRef CommandName(BufferPtr + 1, Length); in lexCommentText() local402 const CommandInfo *Info = Traits.getCommandInfoOrNULL(CommandName); in lexCommentText()404 if ((Info = Traits.getTypoCorrectCommandInfo(CommandName))) { in lexCommentText()411 << FullRange << CommandName << CorrectedName in lexCommentText()415 T.setUnknownCommandName(CommandName); in lexCommentText()
155 const CommandInfo *registerUnknownCommand(StringRef CommandName);157 const CommandInfo *registerBlockCommand(StringRef CommandName);174 CommandInfo *createCommandInfoWithName(StringRef CommandName);
138 StringRef CommandName);
946 bool CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl() local965 if (CommandName) { in tokenizeWindowsCommandLineImpl()979 CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl()981 CommandName = false; in tokenizeWindowsCommandLineImpl()987 assert(!CommandName && "or else we'd have treated it as a normal char"); in tokenizeWindowsCommandLineImpl()1005 CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl()1008 CommandName = false; in tokenizeWindowsCommandLineImpl()1013 } else if (Src[I] == '\\' && !CommandName) { in tokenizeWindowsCommandLineImpl()1031 } else if (Src[I] == '\\' && !CommandName) { in tokenizeWindowsCommandLineImpl()