23 for (
unsigned ID = 1, E =
T.getNumOptions(); ID <= E; ++ID) {
24 unsigned Kind =
T.getOptionKind(ID);
31 Fn(
T.getOptionName(ID), MetaVar,
T.getOptionHelpText(ID));
39 std::unique_ptr<Arg>
A =
Table().ParseOneArg(
List, Consumed);
40 Consumed = std::min<unsigned>(Consumed, Args.size());
43 "' requires an argument");
48 "' in '" +
A->getAsString(
List) +
"'");
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
Represent a constant reference to an array (0 or more elements consecutively in memory),...
Lightweight error class with error context and mandatory checking.
static ErrorSuccess success()
Create a success value.
Represent a constant reference to a string, i.e.
constexpr bool empty() const
Check if the string is empty.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
An efficient, type-erasing, non-owning reference to a callable.
~LibraryOptTable() override
void forEachOption(function_ref< void(StringRef, StringRef, StringRef)> Fn) const override
Error parse(ArrayRef< const char * > Args, unsigned &Consumed) override
Parses the option spelled by Args[0], which may take Args[1] as its value, and sets Consumed to the n...
Provide access to the Option info table.
This is an optimization pass for GlobalISel generic memory operations.
Error createStringError(std::error_code EC, char const *Fmt, const Ts &... Vals)
Create formatted StringError object.