iree/base/internal/flags.c
static void iree_flags_remove_arg(int arg, int* argc_ptr, char*** argv_ptr) {
  int argc = *argc_ptr;
  char** argv = *argv_ptr;
  memmove(&argv[arg], &argv[arg + 1], (argc - arg) * sizeof(char*));
  *argc_ptr = argc - 1;
}
// Removes argument |arg| from the argument list.
Removes argument |arg| from the argument list.
Removes argument |arg| from the argument list .
static void iree_flags_remove_arg(int arg, int* argc_ptr, char*** argv_ptr) {
  int argc = *argc_ptr;
  char** argv = *argv_ptr;
  memmove(&argv[arg], &argv[arg + 1], (argc - arg) * sizeof(char*));
  *argc_ptr = argc - 1;
}
static void iree_flags_remove_arg ( int arg , int * argc_ptr , char * * * argv_ptr ) { int argc = * argc_ptr ; char * * argv = * argv_ptr ; memmove ( & argv [ arg ] , & argv [ arg + 1 ] , ( argc - arg ) * sizeof ( char * ) ) ; * argc_ptr = argc - 1 ; }
Removes argument |arg| from the argument list.
Removes argument |arg| from the argument list .