clang API Documentation

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

UnknownOption - Dummy option class for represent unknown arguments. More...

#include <Option.h>

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

List of all members.

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

UnknownOption - Dummy option class for represent unknown arguments.

Definition at line 198 of file Option.h.


Constructor & Destructor Documentation

UnknownOption::UnknownOption ( OptSpecifier  ID)

Definition at line 127 of file Option.cpp.


Member Function Documentation

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

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

Reimplemented from clang::driver::Option.

Definition at line 204 of file Option.h.

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

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

Definition at line 207 of file Option.h.


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