LLVM  6.0.0svn
Namespaces | Functions
OptTable.cpp File Reference
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/Option.h"
#include "llvm/Option/OptSpecifier.h"
#include "llvm/Option/OptTable.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cctype>
#include <cstring>
#include <map>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for OptTable.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 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 StringSet<> &Prefixes, StringRef Arg)
 
static unsigned matchOption (const OptTable::Info *I, StringRef Str, bool IgnoreCase)
 
static bool optionMatches (const OptTable::Info &In, StringRef Option)
 
static std::string getOptionHelpName (const OptTable &Opts, OptSpecifier Id)
 
static void PrintHelpOptionList (raw_ostream &OS, StringRef Title, std::vector< OptionInfo > &OptionHelp)
 
static const chargetOptionHelpGroup (const OptTable &Opts, OptSpecifier Id)
 

Function Documentation

◆ getOptionHelpGroup()

static const char* getOptionHelpGroup ( const OptTable Opts,
OptSpecifier  Id 
)
static

◆ getOptionHelpName()

static std::string getOptionHelpName ( const OptTable Opts,
OptSpecifier  Id 
)
static

◆ isInput()

static bool isInput ( const StringSet<> &  Prefixes,
StringRef  Arg 
)
static

◆ matchOption()

static unsigned matchOption ( const OptTable::Info I,
StringRef  Str,
bool  IgnoreCase 
)
static

◆ optionMatches()

static bool optionMatches ( const OptTable::Info In,
StringRef  Option 
)
static

◆ PrintHelpOptionList()

static void PrintHelpOptionList ( raw_ostream OS,
StringRef  Title,
std::vector< OptionInfo > &  OptionHelp 
)
static