This corresponds to a single GCC Multilib, or a segment of one controlled by a command line flag. More...
#include "clang/Driver/Multilib.h"
This corresponds to a single GCC Multilib, or a segment of one controlled by a command line flag.
See also MultilibBuilder for building a multilib by mutating it incrementally.
Definition at line 35 of file Multilib.h.
◆ flags_list ◆ Multilib() Multilib::Multilib ( StringRef GCCSuffix ={}
, StringRef OSSuffix = {}
, StringRef IncludeSuffix = {}
, const flags_list & Flags = flags_list()
, StringRef ExclusiveGroup = {}
, std::optional< StringRef > Error = std::nullopt
)
GCCSuffix, OSSuffix & IncludeSuffix will be appended directly to the sysroot string so they must either be empty or begin with a '/' character.
This is enforced with an assert in the constructor.
Definition at line 30 of file Multilib.cpp.
◆ dump() LLVM_DUMP_METHOD void Multilib::dump ( ) const ◆ exclusiveGroup() const std::string & clang::driver::Multilib::exclusiveGroup ( ) const inlineGet the exclusive group label.
Definition at line 85 of file Multilib.h.
◆ flags() const flags_list & clang::driver::Multilib::flags ( ) const inlineGet the flags that indicate or contraindicate this multilib's use All elements begin with either '-' or '!'.
Definition at line 82 of file Multilib.h.
Referenced by findMultilibsFromYAML().
◆ gccSuffix() const std::string & clang::driver::Multilib::gccSuffix ( ) const inlineGet the detected GCC installation path suffix for the multi-arch target variant.
Always starts with a '/', unless empty
Definition at line 70 of file Multilib.h.
Referenced by clang::driver::toolchains::Fuchsia::AddClangCXXStdlibIncludeArgs(), findMipsImgMultilibs(), findMipsMtiMultilibs(), findRISCVBareMetalMultilibs(), clang::driver::toolchains::OHOS::getCompilerRT(), clang::driver::toolchains::OHOS::getRuntimePaths(), clang::driver::Driver::HandleImmediateArgs(), clang::driver::toolchains::MSP430ToolChain::MSP430ToolChain(), clang::driver::toolchains::OHOS::OHOS(), operator==(), and clang::driver::toolchains::Solaris::Solaris().
◆ getErrorMessage() const std::string & clang::driver::Multilib::getErrorMessage ( ) const inline ◆ includeSuffix() const std::string & clang::driver::Multilib::includeSuffix ( ) const inline ◆ isDefault() bool clang::driver::Multilib::isDefault ( ) const inline ◆ isError() bool clang::driver::Multilib::isError ( ) const inline ◆ operator==() ◆ osSuffix() const std::string & clang::driver::Multilib::osSuffix ( ) const inline ◆ print() void Multilib::print ( raw_ostream & OS ) constThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4