clang  6.0.0svn
Functions
Multilib.cpp File Reference
#include "clang/Driver/Multilib.h"
#include "ToolChains/CommonArgs.h"
#include "clang/Driver/Options.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Option/Arg.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Option/OptTable.h"
#include "llvm/Option/Option.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/YAMLParser.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
Include dependency graph for Multilib.cpp:

Go to the source code of this file.

Functions

static void normalizePathSegment (std::string &Segment)
 normalize Segment to "/foo/bar" or "". More...
 
static Multilib compose (const Multilib &Base, const Multilib &New)
 
static bool isFlagEnabled (StringRef Flag)
 

Function Documentation

◆ compose()

static Multilib compose ( const Multilib Base,
const Multilib New 
)
static

◆ isFlagEnabled()

static bool isFlagEnabled ( StringRef  Flag)
static

Definition at line 241 of file Multilib.cpp.

Referenced by clang::driver::MultilibSet::select().

◆ normalizePathSegment()

static void normalizePathSegment ( std::string &  Segment)
static

normalize Segment to "/foo/bar" or "".

Definition at line 33 of file Multilib.cpp.

Referenced by clang::driver::Multilib::Multilib().