std::string GCCSuffix;
29std::string IncludeSuffix;
34StringRef IncludeSuffix);
42assert(GCCSuffix.empty() ||
43(StringRef(GCCSuffix).front() ==
'/'&& GCCSuffix.size() > 1));
53assert(OSSuffix.empty() ||
54(StringRef(OSSuffix).front() ==
'/'&& OSSuffix.size() > 1));
64assert(IncludeSuffix.empty() || (StringRef(IncludeSuffix).front() ==
'/'&&
65IncludeSuffix.size() > 1));
89 returnGCCSuffix.empty() && OSSuffix.empty() && IncludeSuffix.empty();
This corresponds to a single GCC multilib, or a segment of one controlled by a command line flag.
bool isValid() const
Check whether any of the 'against' flags contradict the 'for' flags.
MultilibBuilder & flag(StringRef Flag, bool Disallow=false)
Add a flag to the flags list Flag must be a flag accepted by the driver.
const std::string & gccSuffix() const
Get the detected GCC installation path suffix for the multi-arch target variant.
const std::string & includeSuffix() const
Get the include directory suffix.
const std::string & osSuffix() const
Get the detected os path suffix for the multi-arch target variant.
bool isDefault() const
Check whether the default is selected.
std::vector< std::string > flags_list
Multilib makeMultilib() const
const flags_list & flags() const
Get the flags that indicate or contraindicate this multilib's use All elements begin with either '-' ...
This class can be used to create a MultilibSet, and contains helper functions to add combinations of ...
MultilibSetBuilder & Maybe(const MultilibBuilder &M)
Add an optional Multilib segment.
MultilibSetBuilder & FilterOut(const char *Regex)
Filter out those Multilibs whose gccSuffix matches the given expression.
MultilibSetBuilder & Either(const MultilibBuilder &M1, const MultilibBuilder &M2)
Add a set of mutually incompatible Multilib segments.
std::vector< MultilibBuilder > multilib_list
MultilibSetBuilder()=default
MultilibSet makeMultilibSet() const
See also MultilibSetBuilder for combining multilibs into a set.
This corresponds to a single GCC Multilib, or a segment of one controlled by a command line flag.
The JSON file list parser is used to communicate input to InstallAPI.
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