Searched refs:CommandName (Results 1 – 11 of 11) 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()
25 // CHECK: (CXComment_BlockCommand CommandName=[abstract]28 // CHECK: (CXComment_BlockCommand CommandName=[discussion]38 // CHECK: (CXComment_VerbatimBlockCommand CommandName=[link]42 // CHECK: (CXComment_BlockCommand CommandName=[see]46 // CHECK: (CXComment_BlockCommand CommandName=[seealso]62 // CHECK: (CXComment_BlockCommand CommandName=[arg]67 // CHECK: (CXComment_BlockCommand CommandName=[li]97 // CHECK: (CXComment_BlockCommand CommandName=[par]101 // CHECK: (CXComment_BlockCommand CommandName=[par]104 // CHECK: (CXComment_BlockCommand CommandName=[note][all …]
25 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]47 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]52 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]70 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]74 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]91 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]107 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
36 Command *Generator::getCommandHandler(llvm::StringRef CommandName) { in getCommandHandler() argument37 if (CommandName == IncludeFileCommand::Name) { in getCommandHandler()41 } else if (CommandName == PublicAPICommand::Name) { in getCommandHandler()93 llvm::StringRef CommandName = P.first; in generate() local94 Command *Cmd = getCommandHandler(CommandName); in generate()96 SrcMgr.PrintMessage(llvm::SMLoc::getFromPointer(CommandName.data()), in generate()98 "Unknown command '%%" + CommandName + "'."); in generate()107 llvm::SMLoc::getFromPointer(CommandName.data()), SrcMgr); in generate()
41 Command *getCommandHandler(llvm::StringRef CommandName);
155 const CommandInfo *registerUnknownCommand(StringRef CommandName);157 const CommandInfo *registerBlockCommand(StringRef CommandName);174 CommandInfo *createCommandInfoWithName(StringRef CommandName);
138 StringRef CommandName);
184 StringRef CommandName, in HasParamCommandAt() argument194 if (ActualCommandName != CommandName) in HasParamCommandAt()197 "expected \"" << CommandName.str() << "\""; in HasParamCommandAt()232 StringRef CommandName, in HasTParamCommandAt() argument240 if (ActualCommandName != CommandName) in HasTParamCommandAt()243 "expected \"" << CommandName.str() << "\""; in HasTParamCommandAt()
944 bool CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl() local963 if (CommandName) { in tokenizeWindowsCommandLineImpl()977 CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl()979 CommandName = false; in tokenizeWindowsCommandLineImpl()985 assert(!CommandName && "or else we'd have treated it as a normal char"); in tokenizeWindowsCommandLineImpl()1003 CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl()1006 CommandName = false; in tokenizeWindowsCommandLineImpl()1011 } else if (Src[I] == '\\' && !CommandName) { in tokenizeWindowsCommandLineImpl()1029 } else if (Src[I] == '\\' && !CommandName) { in tokenizeWindowsCommandLineImpl()