clang API Documentation

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

InputOption - Dummy option class for representing driver inputs. More...

#include <Option.h>

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

List of all members.

Public Member Functions

 InputOption (OptSpecifier ID)
virtual Argaccept (const ArgList &Args, unsigned &Index) const

Static Public Member Functions

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

Detailed Description

InputOption - Dummy option class for representing driver inputs.

Definition at line 185 of file Option.h.


Constructor & Destructor Documentation

InputOption::InputOption ( OptSpecifier  ID)

Definition at line 119 of file Option.cpp.


Member Function Documentation

Arg * InputOption::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 123 of file Option.cpp.

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

Reimplemented from clang::driver::Option.

Definition at line 191 of file Option.h.

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

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

Definition at line 194 of file Option.h.


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