GCC Middle and Back End API Reference
cl_option_handler_func Struct Reference

#include <opts.h>

Data Fields

bool(* handler )(struct gcc_options *opts, struct gcc_options *opts_set, const struct cl_decoded_option *decoded, unsigned int lang_mask, int kind, location_t loc, const struct cl_option_handlers *handlers, diagnostic_context *dc)
unsigned int mask

Detailed Description

Structure describing a single option-handling callback.


Field Documentation

bool(* cl_option_handler_func::handler)(struct gcc_options *opts, struct gcc_options *opts_set, const struct cl_decoded_option *decoded, unsigned int lang_mask, int kind, location_t loc, const struct cl_option_handlers *handlers, diagnostic_context *dc)

The function called to handle the option.

unsigned int cl_option_handler_func::mask

The mask that must have some bit in common with the flags for the option for this particular handler to be used.


The documentation for this struct was generated from the following file: