Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp364 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand() local
368 getInlineCommandRenderKind(CommandName), Args); in actOnInlineCommand()
373 StringRef CommandName) { in actOnUnknownCommand() argument
374 unsigned CommandID = Traits.registerUnknownCommand(CommandName)->getID(); in actOnUnknownCommand()
396 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnVerbatimBlockStart() local
399 Loc.getLocWithOffset(1 + CommandName.size()), in actOnVerbatimBlockStart()
620 StringRef CommandName = Command->getCommandName(Traits); in checkBlockCommandDuplicate() local
624 << CommandName in checkBlockCommandDuplicate()
626 if (CommandName == PrevCommandName) in checkBlockCommandDuplicate()
636 << 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()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DCommentCommandTraits.h155 const CommandInfo *registerUnknownCommand(StringRef CommandName);
157 const CommandInfo *registerBlockCommand(StringRef CommandName);
174 CommandInfo *createCommandInfoWithName(StringRef CommandName);
H A DCommentSema.h138 StringRef CommandName);
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DCommandLine.cpp946 bool CommandName = InitialCommandName; in tokenizeWindowsCommandLineImpl() local
965 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()