Lines Matching +full:id +full:- +full:base
1 //===- OptionUtils.h - Utilities for command line arguments -----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
32 /// is non-null, emits an error if the argument is given, but non-integral.
34 llvm::opt::OptSpecifier Id, int Default,
35 DiagnosticsEngine *Diags = nullptr, unsigned Base = 0);
38 llvm::opt::OptSpecifier Id, int Default,
39 DiagnosticsEngine &Diags, unsigned Base = 0) {
40 return getLastArgIntValue(Args, Id, Default, &Diags, Base);
44 llvm::opt::OptSpecifier Id, uint64_t Default,
46 unsigned Base = 0);
49 llvm::opt::OptSpecifier Id,
52 unsigned Base = 0) {
53 return getLastArgUInt64Value(Args, Id, Default, &Diags, Base);