Searched refs:CommandID (Results 1 – 7 of 7) sorted by relevance
40 const CommandInfo *CommandTraits::getCommandInfo(unsigned CommandID) const { in getCommandInfo()41 if (const CommandInfo *Info = getBuiltinCommandInfo(CommandID)) in getCommandInfo()43 return getRegisteredCommandInfo(CommandID); in getCommandInfo()117 unsigned CommandID) { in getBuiltinCommandInfo() argument118 if (CommandID < std::size(Commands)) in getBuiltinCommandInfo()119 return &Commands[CommandID]; in getBuiltinCommandInfo()133 unsigned CommandID) const { in getRegisteredCommandInfo()134 return RegisteredCommands[CommandID - std::size(Commands)]; in getRegisteredCommandInfo()
1713 StringRef JSONNodeDumper::getCommentCommandName(unsigned CommandID) const { in getCommentCommandName()1715 return Traits->getCommandInfo(CommandID)->Name; in getCommentCommandName()1717 comments::CommandTraits::getBuiltinCommandInfo(CommandID)) in getCommentCommandName()
976 const char *TextNodeDumper::getCommandName(unsigned CommandID) { in getCommandName() argument978 return Traits->getCommandInfo(CommandID)->Name; in getCommandName()980 comments::CommandTraits::getBuiltinCommandInfo(CommandID); in getCommandName()
175 const CommandInfo *getCommandInfo(unsigned CommandID) const;187 static const CommandInfo *getBuiltinCommandInfo(unsigned CommandID);194 const CommandInfo *getRegisteredCommandInfo(unsigned CommandID) const;
158 const char *getCommandName(unsigned CommandID);
185 StringRef getCommentCommandName(unsigned CommandID) const;
715 const unsigned CommandID = C->getCommandID(); in visitBlockCommandComment() local716 const CommandInfo *Info = Traits.getCommandInfo(CommandID); in visitBlockCommandComment()721 switch (CommandID) { in visitBlockCommandComment()