extern const char *const lang_names[];
extern const unsigned int cl_lang_count;
-#define CL_PARAMS (1 << 14) /* Fake entry. Used to display --param info with --help. */
-#define CL_WARNING (1 << 15) /* Enables an (optional) warning message. */
-#define CL_OPTIMIZATION (1 << 16) /* Enables an (optional) optimization. */
-#define CL_DRIVER (1 << 17) /* Driver option. */
-#define CL_TARGET (1 << 18) /* Target-specific option. */
-#define CL_COMMON (1 << 19) /* Language-independent. */
+#define CL_PARAMS (1 << 13) /* Fake entry. Used to display --param info with --help. */
+#define CL_WARNING (1 << 14) /* Enables an (optional) warning message. */
+#define CL_OPTIMIZATION (1 << 15) /* Enables an (optional) optimization. */
+#define CL_DRIVER (1 << 16) /* Driver option. */
+#define CL_TARGET (1 << 17) /* Target-specific option. */
+#define CL_COMMON (1 << 18) /* Language-independent. */
#define CL_MIN_OPTION_CLASS CL_PARAMS
#define CL_MAX_OPTION_CLASS CL_COMMON
This distinction is important because --help will not list options
which only have these higher bits set. */
+#define CL_SEPARATE_ALIAS (1 << 19) /* Option is an alias when used with separate argument. */
#define CL_NO_DRIVER_ARG (1 << 20) /* Option takes no argument in the driver. */
#define CL_REJECT_DRIVER (1 << 21) /* Reject this option in the driver. */
#define CL_SAVE (1 << 22) /* Target-specific option for attribute. */
unsigned int lang_mask,
struct cl_decoded_option **decoded_options,
unsigned int *decoded_options_count);
-extern void prune_options (int *argcp, char ***argvp);
extern void decode_options (unsigned int argc, const char **argv,
struct cl_decoded_option **decoded_options,
unsigned int *decoded_options_count);