clang  6.0.0svn
Public Member Functions | Public Attributes | List of all members
clang::driver::ParsedClangName Struct Reference

Helper structure used to pass information extracted from clang executable name such as i686-linux-android-g++. More...

#include "clang/Driver/ToolChain.h"

Collaboration diagram for clang::driver::ParsedClangName:
Collaboration graph
[legend]

Public Member Functions

 ParsedClangName ()
 
 ParsedClangName (std::string Suffix, const char *Mode)
 
 ParsedClangName (std::string Target, std::string Suffix, const char *Mode, bool IsRegistered)
 

Public Attributes

std::string TargetPrefix
 Target part of the executable name, as i686-linux-android. More...
 
std::string ModeSuffix
 Driver mode part of the executable name, as g++. More...
 
const char * DriverMode
 Corresponding driver mode argument, as '–driver-mode=g++'. More...
 
bool TargetIsValid
 True if TargetPrefix is recognized as a registered target name. More...
 

Detailed Description

Helper structure used to pass information extracted from clang executable name such as i686-linux-android-g++.

Definition at line 53 of file ToolChain.h.

Constructor & Destructor Documentation

◆ ParsedClangName() [1/3]

clang::driver::ParsedClangName::ParsedClangName ( )
inline

Definition at line 63 of file ToolChain.h.

◆ ParsedClangName() [2/3]

clang::driver::ParsedClangName::ParsedClangName ( std::string  Suffix,
const char *  Mode 
)
inline

Definition at line 64 of file ToolChain.h.

◆ ParsedClangName() [3/3]

clang::driver::ParsedClangName::ParsedClangName ( std::string  Target,
std::string  Suffix,
const char *  Mode,
bool  IsRegistered 
)
inline

Definition at line 66 of file ToolChain.h.

Member Data Documentation

◆ DriverMode

const char* clang::driver::ParsedClangName::DriverMode

Corresponding driver mode argument, as '–driver-mode=g++'.

Definition at line 59 of file ToolChain.h.

Referenced by clang::driver::Driver::ParseDriverMode().

◆ ModeSuffix

std::string clang::driver::ParsedClangName::ModeSuffix

Driver mode part of the executable name, as g++.

Definition at line 57 of file ToolChain.h.

◆ TargetIsValid

bool clang::driver::ParsedClangName::TargetIsValid

True if TargetPrefix is recognized as a registered target name.

Definition at line 61 of file ToolChain.h.

◆ TargetPrefix

std::string clang::driver::ParsedClangName::TargetPrefix

Target part of the executable name, as i686-linux-android.

Definition at line 55 of file ToolChain.h.


The documentation for this struct was generated from the following file: