Home
last modified time | relevance | path

Searched refs:CommandName (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCommentCommandTraits.cpp83 CommandInfo *CommandTraits::createCommandInfoWithName(StringRef CommandName) { in createCommandInfoWithName() argument
84 char *Name = Allocator.Allocate<char>(CommandName.size() + 1); in createCommandInfoWithName()
85 memcpy(Name, CommandName.data(), CommandName.size()); in createCommandInfoWithName()
86 Name[CommandName.size()] = '\0'; in createCommandInfoWithName()
103 StringRef CommandName) { in registerUnknownCommand() argument
104 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerUnknownCommand()
109 const CommandInfo *CommandTraits::registerBlockCommand(StringRef CommandName) { in registerBlockCommand() argument
110 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerBlockCommand()
H A DCommentSema.cpp367 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand() local
371 getInlineCommandRenderKind(CommandName), Args); in actOnInlineCommand()
376 StringRef CommandName) { in actOnUnknownCommand() argument
377 unsigned CommandID = Traits.registerUnknownCommand(CommandName)->getID(); in actOnUnknownCommand()
397 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnVerbatimBlockStart() local
400 Loc.getLocWithOffset(1 + CommandName.size()), in actOnVerbatimBlockStart()
621 StringRef CommandName = Command->getCommandName(Traits); in checkBlockCommandDuplicate() local
625 << CommandName in checkBlockCommandDuplicate()
627 if (CommandName == PrevCommandName) in checkBlockCommandDuplicate()
637 << CommandName; in checkBlockCommandDuplicate()
H A DCommentLexer.cpp409 StringRef CommandName(BufferPtr + 1, Length); in lexCommentText() local
411 const CommandInfo *Info = Traits.getCommandInfoOrNULL(CommandName); in lexCommentText()
413 if ((Info = Traits.getTypoCorrectCommandInfo(CommandName))) { in lexCommentText()
420 << FullRange << CommandName << CorrectedName in lexCommentText()
424 T.setUnknownCommandName(CommandName); in lexCommentText()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCommentCommandTraits.h177 const CommandInfo *registerUnknownCommand(StringRef CommandName);
179 const CommandInfo *registerBlockCommand(StringRef CommandName);
196 CommandInfo *createCommandInfoWithName(StringRef CommandName);
H A DCommentSema.h138 StringRef CommandName);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp944 bool CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl() local
963 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()
/freebsd/contrib/ntp/util/
H A Dtg2.c528 char *CommandName; variable
680 CommandName = argv[0];
2455 printf ("\n\nUsage: %s [option]*", CommandName);