MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / GetCommandSettingsArgsId

Function GetCommandSettingsArgsId

vkconfig_core/command_line.cpp:218–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static CommandSettingsArg GetCommandSettingsArgsId(const char* token) {
219 assert(token != nullptr);
220
221 for (std::size_t i = 0, n = std::size(command_settings_desc); i < n; ++i) {
222 if (std::strcmp(command_settings_desc[i].token, token) == 0) {
223 return command_settings_desc[i].arguments;
224 }
225 }
226
227 return COMMAND_SETTINGS_NONE;
228}
229
230CommandLine::CommandLine(int argc, char* argv[])
231 : command(_command),

Callers 1

CommandLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected