reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

unittests/Support/CommandLineTest.cpp
   56 class StackOption : public Base {

References

include/llvm/MC/MCTargetOptionsCommandFlags.inc
   44 static cl::alias NoWarnW("W", cl::desc("Alias for --no-warn"), cl::aliasopt(NoWarn));
include/llvm/Support/CommandLine.h
  459   template <class Opt> void apply(Opt &O) const { O.addCategory(Category); }
  468   template <class Opt> void apply(Opt &O) const { O.addSubCommand(Sub); }
 1169   template <class Opt> static void opt(const Mod &M, Opt &O) { M.apply(O); }
 1174   template <class Opt> static void opt(StringRef Str, Opt &O) {
 1217 void apply(Opt *O, const Mod &M, const Mods &... Ms) {
 1222 template <class Opt, class Mod> void apply(Opt *O, const Mod &M) {
 1784   alias(const alias &) = delete;
 1785   alias &operator=(const alias &) = delete;
 1785   alias &operator=(const alias &) = delete;
 1794   explicit alias(const Mods &... Ms)
 1807   void apply(alias &A) const { A.setAliasFor(Opt); }
lib/Support/CommandLine.cpp
 2307 static cl::alias HOpA("h", cl::desc("Alias for --help"), cl::aliasopt(HOp),
tools/clang/tools/clang-format/ClangFormat.cpp
  119 static cl::alias DryRunShort("n", cl::desc("Alias for --dry-run"),
tools/llvm-cov/CodeCoverage.cpp
  651   cl::alias NumThreadsA("j", cl::desc("Alias for --num-threads"),
  827   cl::alias ShowOutputDirectoryA("o", cl::desc("Alias for --output-dir"),
tools/llvm-cov/gcov.cpp
   89   cl::alias AllBlocksA("all-blocks", cl::aliasopt(AllBlocks));
   93   cl::alias BranchProbA("branch-probabilities", cl::aliasopt(BranchProb));
   98   cl::alias BranchCountA("branch-counts", cl::aliasopt(BranchCount));
  102   cl::alias LongNamesA("long-file-names", cl::aliasopt(LongNames));
  106   cl::alias FuncSummaryA("function-summaries", cl::aliasopt(FuncSummary));
  110   cl::alias NoOutputA("no-output", cl::aliasopt(NoOutput));
  115   cl::alias ObjectDirA("object-directory", cl::aliasopt(ObjectDir));
  116   cl::alias ObjectDirB("object-file", cl::aliasopt(ObjectDir));
  120   cl::alias PreservePathsA("preserve-paths", cl::aliasopt(PreservePaths));
  125   cl::alias UncondBranchA("unconditional-branches", cl::aliasopt(UncondBranch));
  129   cl::alias HashFilenamesA("hash-filenames", cl::aliasopt(HashFilenames));
tools/llvm-cxxfilt/llvm-cxxfilt.cpp
   35 static cl::alias FormatShort("s", cl::desc("alias for --format"),
   41 static cl::alias StripUnderscoreShort("_",
   49 static cl::alias TypesShort("t", cl::desc("alias for --types"),
tools/llvm-cxxmap/llvm-cxxmap.cpp
   33 cl::alias RemappingFileA("r", cl::aliasopt(RemappingFile));
   36 cl::alias OutputFilenameA("o", cl::aliasopt(OutputFilename));
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  107 static alias DumpAllAlias("a", desc("Alias for -all"), aliasopt(DumpAll));
  120 static alias DumpDebugFrameAlias("eh-frame", desc("Alias for -debug-frame"),
  141 static alias FindAlias("f", desc("Alias for -find."), aliasopt(Find));
  145 static alias IgnoreCaseAlias("i", desc("Alias for -ignore-case."),
  153 static alias NameAlias("n", desc("Alias for -name"), aliasopt(Name));
  163 static alias OutputFilenameAlias("out-file", desc("Alias for -o."),
  170 static alias RegexAlias("x", desc("Alias for -regex"), aliasopt(UseRegex));
  176 static alias ShowChildrenAlias("c", desc("Alias for -show-children."),
  183 static alias ShowParentsAlias("p", desc("Alias for -show-parents."),
  189 static alias ShowFormAlias("F", desc("Alias for -show-form."),
  196 static alias ChildRecurseDepthAlias("r", desc("Alias for -recurse-depth."),
  217 static alias DumpUUIDAlias("u", desc("Alias for -uuid."), aliasopt(DumpUUID));
  221 static alias VerboseAlias("v", desc("Alias for -verbose."), aliasopt(Verbose),
tools/llvm-nm/llvm-nm.cpp
   58 cl::alias OutputFormat2("f", cl::desc("Alias for --format"),
   67 cl::alias UndefinedOnly2("u", cl::desc("Alias for --undefined-only"),
   74 cl::alias DynamicSyms2("D", cl::desc("Alias for --dynamic"),
   79 cl::alias DefinedOnly2("U", cl::desc("Alias for --defined-only"),
   85 cl::alias ExternalOnly2("g", cl::desc("Alias for --extern-only"),
   91 cl::alias NoWeakSymbols2("W", cl::desc("Alias for --no-weak"),
   98 cl::alias Portability("portability", cl::desc("Alias for --format=posix"),
  113 cl::alias PrintFileNameA("A", cl::desc("Alias for --print-file-name"),
  115 cl::alias PrintFileNameo("o", cl::desc("Alias for --print-file-name"),
  121 cl::alias DebugSymsa("a", cl::desc("Alias for --debug-syms"),
  126 cl::alias NumericSortn("n", cl::desc("Alias for --numeric-sort"),
  128 cl::alias NumericSortv("v", cl::desc("Alias for --numeric-sort"),
  133 cl::alias NoSortp("p", cl::desc("Alias for --no-sort"), cl::aliasopt(NoSort),
  138 cl::alias DemangleC("C", cl::desc("Alias for --demangle"),
  146 cl::alias ReverseSortr("r", cl::desc("Alias for --reverse-sort"),
  152 cl::alias PrintSizeS("S", cl::desc("Alias for --print-size"),
  165 cl::alias ArchiveMaps("M", cl::desc("Alias for --print-armap"),
  174 cl::alias RadixAlias("t", cl::desc("Alias for --radix"),
  180 cl::alias JustSymbolNames("j", cl::desc("Alias for --just-symbol-name"),
tools/llvm-objdump/llvm-objdump.cpp
  105 static cl::alias AllHeadersShort("x", cl::desc("Alias for --all-headers"),
  118 static cl::alias ArchiveHeadersShort("a",
  125 static cl::alias DemangleShort("C", cl::desc("Alias for --demangle"),
  133 static cl::alias DisassembleShort("d", cl::desc("Alias for --disassemble"),
  141 static cl::alias DisassembleAllShort("D",
  157 static cl::alias
  167 static cl::alias
  182 static cl::alias DynamicRelocationShort("R",
  196 static cl::alias FileHeadersShort("f", cl::desc("Alias for --file-headers"),
  203 static cl::alias SectionContentsShort("s",
  218 static cl::alias PrintLinesShort("l", cl::desc("Alias for --line-numbers"),
  225 static cl::alias MachOm("m", cl::desc("Alias for --macho"), cl::NotHidden,
  255 static cl::alias RelocationsShort("r", cl::desc("Alias for --reloc"),
  266 static cl::alias PrivateHeadersShort("p",
  276 static cl::alias FilterSectionsj("j", cl::desc("Alias for --section"),
  284 static cl::alias SectionHeadersShort("headers",
  288 static cl::alias SectionHeadersShorter("h",
  303 static cl::alias PrintSourceShort("S", cl::desc("Alias for -source"),
  317 static cl::alias SymbolTableShort("t", cl::desc("Alias for --syms"),
  328 static cl::alias UnwindInfoShort("u", cl::desc("Alias for --unwind-info"),
  335 static cl::alias WideShort("w", cl::Grouping, cl::aliasopt(Wide));
tools/llvm-profdata/llvm-profdata.cpp
  607   cl::alias InputFilenamesFileA("f", cl::desc("Alias for --input-files"),
  614   cl::alias RemappingFileA("r", cl::desc("Alias for --remapping-file"),
  619   cl::alias OutputFilenameA("o", cl::desc("Alias for --output"),
  646   cl::alias NumThreadsA("j", cl::desc("Alias for --num-threads"),
  729   cl::alias OutputA("o", cl::desc("Alias for --output"), cl::aliasopt(Output));
 1082   cl::alias OutputFilenameA("o", cl::desc("Alias for --output"),
tools/llvm-readobj/llvm-readobj.cpp
   59   cl::alias AllShort("a", cl::desc("Alias for --all"), cl::aliasopt(All));
   66   cl::alias HeadersShort("e", cl::desc("Alias for --headers"),
   73   cl::alias WideOutputShort("W",
   80   cl::alias FileHeadersShort("h", cl::desc("Alias for --file-headers"),
   82   cl::alias FileHeadersSingular("file-header",
   90   cl::alias SectionsShortUpper("S", cl::desc("Alias for --section-headers"),
   92   cl::alias SectionHeadersAlias("sections",
  119   cl::alias RelocationsShort("r", cl::desc("Alias for --relocations"),
  121   cl::alias RelocationsGNU("relocs", cl::desc("Alias for --relocations"),
  126   cl::alias NotesShort("n", cl::desc("Alias for --notes"), cl::aliasopt(Notes));
  138   cl::alias SymbolsGNU("syms", cl::desc("Alias for --symbols"),
  145   cl::alias DynSymsGNU("dyn-syms", cl::desc("Alias for --dyn-symbols"),
  156   cl::alias UnwindInfoShort("u",
  163   cl::alias DynamicTableShort("d", cl::desc("Alias for --dynamic-table"),
  165   cl::alias DynamicTableAlias("dynamic", cl::desc("Alias for --dynamic-table"),
  175   cl::alias ProgramHeadersShort("l", cl::desc("Alias for --program-headers"),
  177   cl::alias SegmentsAlias("segments", cl::desc("Alias for --program-headers"),
  183   cl::alias StringDumpShort("p", cl::desc("Alias for --string-dump"),
  189   cl::alias HexDumpShort("x", cl::desc("Alias for --hex-dump"),
  195   cl::alias DemangleShort("C", cl::desc("Alias for --demangle"),
  237   cl::alias ArchSpecifcInfoShort("A", cl::desc("Alias for --arch-specific"),
  321   cl::alias VersionInfoShort("V", cl::desc("Alias for -version-info"),
  327   cl::alias SectionGroupsAlias("section-groups",
  330   cl::alias SectionGroupsShort("g", cl::desc("Alias for -elf-sections-groups"),
  337   cl::alias HashHistogramShort("I", cl::desc("Alias for -elf-hash-histogram"),
  339   cl::alias HistogramAlias("histogram",
  626   static cl::alias SectionsShort("s", cl::desc("Alias for --section-headers"),
  632   static cl::alias SymbolsShort("t", cl::desc("Alias for --symbols"),
  637   static cl::alias SectionRelocationsShort(
  640   static cl::alias SectionDataShort("sd", cl::desc("Alias for --section-data"),
  642   static cl::alias SectionSymbolsShort("st",
  645   static cl::alias DynamicSymbolsShort("dt",
  653   static cl::alias SymbolsShort("s", cl::desc("Alias for --symbols"),
tools/llvm-reduce/llvm-reduce.cpp
   48 static cl::alias OutputFileAlias("o", cl::desc("Alias for -output"),
tools/llvm-size/llvm-size.cpp
   97 static cl::alias TotalSizesShort("t", cl::desc("Short for --totals"),
tools/llvm-strings/llvm-strings.cpp
   34 static cl::alias PrintFileNameShort("f", cl::desc(""),
   40 static cl::alias MinLengthShort("n", cl::desc(""), cl::aliasopt(MinLength));
   45 static cl::alias AllSectionsShort("a", cl::desc(""),
   55 static cl::alias RadixShort("t", cl::desc(""), cl::aliasopt(Radix));
tools/llvm-symbolizer/llvm-symbolizer.cpp
   49 static cl::alias ClPrintFunctionsShort("f", cl::desc("Alias for -functions"),
   65 static cl::alias
   69 static cl::alias
   76 static cl::alias ClBasenamesShort("s", cl::desc("Alias for -basenames"),
   82 static cl::alias
   98 static cl::alias
  101 static cl::alias ClBinaryNameAliasE("e", cl::desc("Alias for -obj"),
  118 static cl::alias
  121 static cl::alias
  129 static cl::alias ClPrettyPrintShort("p", cl::desc("Alias for -pretty-print"),
tools/llvm-xray/xray-account.cpp
   36 static cl::alias AccountKeepGoing2("k", cl::aliasopt(AccountKeepGoing),
   43 static cl::alias
   51 static cl::alias AccountOutput2("o", cl::aliasopt(AccountOutput),
   62 static cl::alias AccountOutputFormat2("f", cl::desc("Alias of -format"),
   90 static cl::alias AccountSortOutput2("s", cl::aliasopt(AccountSortOutput),
  103 static cl::alias AccountSortOrder2("r", cl::aliasopt(AccountSortOrder),
  110 static cl::alias AccountTop2("p", cl::desc("Alias for -top"),
  119 static cl::alias AccountInstrMap2("m", cl::aliasopt(AccountInstrMap),
tools/llvm-xray/xray-converter.cpp
   45 static cl::alias ConvertOutputFormat2("f", cl::aliasopt(ConvertOutputFormat),
   52 static cl::alias ConvertOutput2("o", cl::aliasopt(ConvertOutput),
   60 static cl::alias ConvertSymbolize2("y", cl::aliasopt(ConvertSymbolize),
   70 static cl::alias ConvertInstrMap2("m", cl::aliasopt(ConvertInstrMap),
   77 static cl::alias ConvertSortInput2("s", cl::aliasopt(ConvertSortInput),
tools/llvm-xray/xray-extract.cpp
   40 static cl::alias ExtractOutput2("o", cl::aliasopt(ExtractOutput),
   47 static cl::alias ExtractSymbolize2("s", cl::aliasopt(ExtractSymbolize),
tools/llvm-xray/xray-graph-diff.cpp
   43 static cl::alias GraphDiffKeepGoingA("k", cl::aliasopt(GraphDiffKeepGoing),
   50 static cl::alias GraphDiffKeepGoing1A("k1", cl::aliasopt(GraphDiffKeepGoing1),
   57 static cl::alias GraphDiffKeepGoing2A("k2", cl::aliasopt(GraphDiffKeepGoing2),
   67 static cl::alias GraphDiffInstrMapA("m", cl::aliasopt(GraphDiffInstrMap),
   76 static cl::alias GraphDiffInstrMap1A("m1", cl::aliasopt(GraphDiffInstrMap1),
   85 static cl::alias GraphDiffInstrMap2A("m2", cl::aliasopt(GraphDiffInstrMap2),
   93 static cl::alias
  101 static cl::alias GraphDiffDeduceSiblingCalls1A(
  108 static cl::alias GraphDiffDeduceSiblingCalls2A(
  132 static cl::alias GraphDiffEdgeLabelA("e", cl::aliasopt(GraphDiffEdgeLabel),
  156 static cl::alias GraphDiffEdgeColorA("c", cl::aliasopt(GraphDiffEdgeColor),
  181 static cl::alias GraphDiffVertexLabelA("v", cl::aliasopt(GraphDiffVertexLabel),
  206 static cl::alias GraphDiffVertexColorA("b", cl::aliasopt(GraphDiffVertexColor),
  213 static cl::alias
  222 static cl::alias GraphDiffOutputA("o", cl::aliasopt(GraphDiffOutput),
  420 template <typename T> static T &ifSpecified(T &A, cl::alias &AA, T &B) {
tools/llvm-xray/xray-graph.cpp
   32 static cl::alias GraphKeepGoing2("k", cl::aliasopt(GraphKeepGoing),
   39 static cl::alias GraphOutput2("o", cl::aliasopt(GraphOutput),
   48 static cl::alias GraphInstrMap2("m", cl::aliasopt(GraphInstrMap),
   56 static cl::alias
   82 static cl::alias GraphEdgeLabel2("e", cl::aliasopt(GraphEdgeLabel),
  107 static cl::alias GraphVertexLabel2("v", cl::aliasopt(GraphVertexLabel),
  132 static cl::alias GraphEdgeColorType2("c", cl::aliasopt(GraphEdgeColorType),
  157 static cl::alias GraphVertexColorType2("b", cl::aliasopt(GraphVertexColorType),
tools/llvm-xray/xray-stacks.cpp
   44 static cl::alias StackKeepGoing2("k", cl::aliasopt(StackKeepGoing),
   55 static cl::alias StacksInstrMap2("m", cl::aliasopt(StacksInstrMap),
   74 static cl::alias DumpAllStacksShort("all", cl::aliasopt(DumpAllStacks),
tools/opt/opt.cpp
  199 static cl::alias
unittests/Support/CommandLineTest.cpp
   56 class StackOption : public Base {
  353     cl::alias Alias("alias", llvm::cl::aliasopt(Actual));
  365   cl::alias Alias("o", llvm::cl::aliasopt(Option));
  684   StackOption<std::string, cl::alias> Bar_Alias(
  689   StackOption<bool, cl::alias> Foo_Alias("f", cl::desc("Alias for -foo"),
  965   cl::alias Alias("alias", llvm::cl::aliasopt(Opt2));
 1588   StackOption<bool, cl::alias> OptB("b", cl::desc("Alias to --long-flag"),
utils/FileCheck/FileCheck.cpp
   41 static cl::alias CheckPrefixesAlias(