clang API Documentation

Namespaces | Functions
OptTable.cpp File Reference
#include "clang/Driver/OptTable.h"
#include "clang/Driver/Arg.h"
#include "clang/Driver/ArgList.h"
#include "clang/Driver/Option.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
#include <map>
Include dependency graph for OptTable.cpp:

Go to the source code of this file.

Namespaces

namespace  clang
namespace  clang::driver

Functions

static int StrCmpOptionName (const char *A, const char *B)
static bool clang::driver::operator< (const OptTable::Info &A, const OptTable::Info &B)
static bool clang::driver::operator< (const OptTable::Info &I, const char *Name)
static bool clang::driver::operator< (const char *Name, const OptTable::Info &I)
static std::string getOptionHelpName (const OptTable &Opts, OptSpecifier Id)
static void PrintHelpOptionList (raw_ostream &OS, StringRef Title, std::vector< std::pair< std::string, const char * > > &OptionHelp)
static const char * getOptionHelpGroup (const OptTable &Opts, OptSpecifier Id)

Function Documentation

static const char* getOptionHelpGroup ( const OptTable Opts,
OptSpecifier  Id 
) [static]
static std::string getOptionHelpName ( const OptTable Opts,
OptSpecifier  Id 
) [static]
static void PrintHelpOptionList ( raw_ostream &  OS,
StringRef  Title,
std::vector< std::pair< std::string, const char * > > &  OptionHelp 
) [static]

Definition at line 295 of file OptTable.cpp.

References clang::io::Pad().

Referenced by clang::driver::OptTable::PrintHelp().

static int StrCmpOptionName ( const char *  A,
const char *  B 
) [static]

Definition at line 29 of file OptTable.cpp.

Referenced by clang::driver::operator<().