LLVM API Documentation

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

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  llvm::opt

Functions

static int llvm::opt::StrCmpOptionNameIgnoreCase (const char *A, const char *B)
static int llvm::opt::StrCmpOptionName (const char *A, const char *B)
static bool llvm::opt::operator< (const OptTable::Info &A, const OptTable::Info &B)
static bool llvm::opt::operator< (const OptTable::Info &I, const char *Name)
static bool isInput (const llvm::StringSet<> &Prefixes, StringRef Arg)
static unsigned matchOption (const OptTable::Info *I, StringRef Str, bool IgnoreCase)
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 bool isInput ( const llvm::StringSet<> &  Prefixes,
StringRef  Arg 
) [static]
static unsigned matchOption ( const OptTable::Info I,
StringRef  Str,
bool  IgnoreCase 
) [static]
static void PrintHelpOptionList ( raw_ostream OS,
StringRef  Title,
std::vector< std::pair< std::string, const char * > > &  OptionHelp 
) [static]

Definition at line 340 of file OptTable.cpp.

References llvm::raw_ostream::indent(), and llvm::StringRef::size().

Referenced by llvm::opt::OptTable::PrintHelp().