Lines Matching refs:CommandInfo
34 const CommandInfo *CommandTraits::getCommandInfoOrNULL(StringRef Name) const { in getCommandInfoOrNULL()
35 if (const CommandInfo *Info = getBuiltinCommandInfo(Name)) in getCommandInfoOrNULL()
40 const CommandInfo *CommandTraits::getCommandInfo(unsigned CommandID) const { in getCommandInfo()
41 if (const CommandInfo *Info = getBuiltinCommandInfo(CommandID)) in getCommandInfo()
46 const CommandInfo *
57 SmallVector<const CommandInfo *, 2> BestCommand; in getTypoCorrectCommandInfo()
59 auto ConsiderCorrection = [&](const CommandInfo *Command) { in getTypoCorrectCommandInfo()
84 CommandInfo *CommandTraits::createCommandInfoWithName(StringRef CommandName) { in createCommandInfoWithName()
90 CommandInfo *Info = new (Allocator) CommandInfo(); in createCommandInfoWithName()
94 assert((NextID < (1 << CommandInfo::NumCommandIDBits)) in createCommandInfoWithName()
103 const CommandInfo *CommandTraits::registerUnknownCommand( in registerUnknownCommand()
105 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerUnknownCommand()
110 const CommandInfo *CommandTraits::registerBlockCommand(StringRef CommandName) { in registerBlockCommand()
111 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerBlockCommand()
116 const CommandInfo *CommandTraits::getBuiltinCommandInfo( in getBuiltinCommandInfo()
123 const CommandInfo *CommandTraits::getRegisteredCommandInfo( in getRegisteredCommandInfo()
132 const CommandInfo *CommandTraits::getRegisteredCommandInfo( in getRegisteredCommandInfo()