Home
last modified time | relevance | path

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

/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DCommentCommandTraits.cpp84 CommandInfo *CommandTraits::createCommandInfoWithName(StringRef CommandName) { in createCommandInfoWithName() argument
85 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() argument
105 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerUnknownCommand()
110 const CommandInfo *CommandTraits::registerBlockCommand(StringRef CommandName) { in registerBlockCommand() argument
111 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerBlockCommand()
H A DCommentSema.cpp365 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand() local
369 getInlineCommandRenderKind(CommandName), Args); in actOnInlineCommand()
374 StringRef CommandName) { in actOnUnknownCommand() argument
375 unsigned CommandID = Traits.registerUnknownCommand(CommandName)->getID(); in actOnUnknownCommand()
395 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnVerbatimBlockStart() local
398 Loc.getLocWithOffset(1 + CommandName.size()), in actOnVerbatimBlockStart()
619 StringRef CommandName = Command->getCommandName(Traits); in checkBlockCommandDuplicate() local
623 << CommandName in checkBlockCommandDuplicate()
625 if (CommandName == PrevCommandName) in checkBlockCommandDuplicate()
635 << CommandName; in checkBlockCommandDuplicate()
H A DCommentLexer.cpp400 StringRef CommandName(BufferPtr + 1, Length); in lexCommentText() local
402 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()
/freebsd-src/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-src/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp927 bool CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl() local
946 if (CommandName) { in tokenizeWindowsCommandLineImpl()
960 CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl()
962 CommandName = false; in tokenizeWindowsCommandLineImpl()
968 assert(!CommandName && "or else we'd have treated it as a normal char"); in tokenizeWindowsCommandLineImpl()
986 CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl()
989 CommandName = false; in tokenizeWindowsCommandLineImpl()
994 } else if (Src[I] == '\\' && !CommandName) { in tokenizeWindowsCommandLineImpl()
1012 } else if (Src[I] == '\\' && !CommandName) { in tokenizeWindowsCommandLineImpl()
/freebsd-src/contrib/ntp/util/
H A Dtg2.c528 char *CommandName; variable
680 CommandName = argv[0];
2455 printf ("\n\nUsage: %s [option]*", CommandName);