clang API Documentation

Public Member Functions | Static Public Member Functions
clang::driver::OptionGroup Class Reference

#include <Option.h>

Inheritance diagram for clang::driver::OptionGroup:
Inheritance graph
[legend]
Collaboration diagram for clang::driver::OptionGroup:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OptionGroup (OptSpecifier ID, const char *Name, const OptionGroup *Group)
virtual Argaccept (const ArgList &Args, unsigned &Index) const

Static Public Member Functions

static bool classof (const Option *O)
static bool classof (const OptionGroup *)

Detailed Description

OptionGroup - A set of options which are can be handled uniformly by the driver.

Definition at line 170 of file Option.h.


Constructor & Destructor Documentation

OptionGroup::OptionGroup ( OptSpecifier  ID,
const char *  Name,
const OptionGroup Group 
)

Definition at line 110 of file Option.cpp.


Member Function Documentation

Arg * OptionGroup::accept ( const ArgList Args,
unsigned &  Index 
) const [virtual]

accept - Potentially accept the current argument, returning a new Arg instance, or 0 if the option does not accept this argument (or the argument is missing values).

If the option accepts the current argument, accept() sets Index to the position where argument parsing should resume (even if the argument is missing values).

Implements clang::driver::Option.

Definition at line 115 of file Option.cpp.

static bool clang::driver::OptionGroup::classof ( const Option O) [inline, static]

Reimplemented from clang::driver::Option.

Definition at line 176 of file Option.h.

References clang::driver::Option::getKind(), and clang::driver::Option::GroupClass.

static bool clang::driver::OptionGroup::classof ( const OptionGroup ) [inline, static]

Definition at line 179 of file Option.h.


The documentation for this class was generated from the following files: