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

References

lib/Option/ArgList.cpp
   40         OptRanges.insert(std::make_pair(O.getID(), emptyRange())).first->second;
lib/Option/OptTable.cpp
   95 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {}
  566         HelpText = getOptionHelpText(Alias.getID());
lib/Option/Option.cpp
  100   if (getID() == Opt.getID())
  241   if (getID() == UnaliasedOption.getID())
  241   if (getID() == UnaliasedOption.getID())
tools/clang/lib/Driver/Driver.cpp
 2216     } else if (A->getOption().getID() == options::OPT_U) {
tools/clang/lib/Driver/SanitizerArgs.cpp
  760       switch (WindowsDebugRTArg->getOption().getID()) {
tools/clang/lib/Driver/ToolChain.cpp
  910     if (!A || A->getOption().getID() == options::OPT_fno_fast_math ||
  911         A->getOption().getID() == options::OPT_fno_unsafe_math_optimizations)
tools/clang/lib/Driver/ToolChains/Clang.cpp
  931     if (A->getOption().getID() == options::OPT_gz) {
 1954     if (O.getID() == options::OPT_x)
 1957     if (O.getGroup().isValid() && O.getGroup().getID() == options::OPT_M_Group)
 1959     if (O.getID() == options::OPT_gen_cdb_fragment_path)
 2242     switch (A->getOption().getID()) {
 2520     switch (A->getOption().getID()) {
 2590       switch (A->getOption().getID()) {
 2997     switch (A->getOption().getID()) {
 3703       if (llvm::find(kBitcodeOptionBlacklist, A->getOption().getID()) !=
 4019              (A->getOption().getID() != options::OPT_mlong_double_80))
 5793     RTOptionID = A->getOption().getID();
 5890     VolatileOptionID = A->getOption().getID();
 5936     unsigned DCCOptId = CCArg->getOption().getID();
tools/clang/lib/Driver/ToolChains/Darwin.cpp
 2138     switch ((options::ID)A->getOption().getID()) {
 2364       if (A->getOption().getID() != options::OPT_mkernel &&
 2365           A->getOption().getID() != options::OPT_fapple_kext)
 2369       assert(A->getOption().getID() == options::OPT_static &&
tools/clang/lib/Driver/ToolChains/Gnu.cpp
  653     if (A->getOption().getID() == options::OPT_gz) {
 2687       switch ((options::ID)A->getOption().getID()) {
tools/clang/lib/Driver/ToolChains/MSVC.cpp
  616     CmdArgs.push_back(A->getOption().getID() == options::OPT_fbuiltin ? "/Oi"
  619     if (A->getOption().getID() == options::OPT_O0) {
  635     CmdArgs.push_back(A->getOption().getID() == options::OPT_fomit_frame_pointer
  654     CmdArgs.push_back(A->getOption().getID() == options::OPT_ffunction_sections
  660         A->getOption().getID() == options::OPT_fdata_sections ? "/Gw" : "/Gw-");
  688     CmdArgs.push_back(A->getOption().getID() == options::OPT_fthreadsafe_statics
tools/clang/lib/Frontend/CompilerInvocation.cpp
  331     bool IsEnabled = A->getOption().getID() == OPT_analyzer_checker;
  777     Opts.EmitLLVMUseLists = A->getOption().getID() == OPT_emit_llvm_uselists;
 1057       if (A->getOption().getID() == options::OPT_o ||
 1058           A->getOption().getID() == options::OPT_INPUT ||
 1059           A->getOption().getID() == options::OPT_x ||
 1060           A->getOption().getID() == options::OPT_fembed_bitcode ||
 1062            A->getOption().getGroup().getID() == options::OPT_W_Group))
 1121     if (A->getOption().getID() == OPT_compress_debug_sections) {
 1185         A->getOption().getID() ==
 1191         A->getOption().getID() == OPT_fsanitize_address_use_after_scope;
 1198         A->getOption().getID() == OPT_fsanitize_address_use_odr_indicator;
 1678     switch (A->getOption().getID()) {
 1892     switch (A->getOption().getID()) {
tools/clang/tools/driver/cc1as_main.cpp
  225     if (A->getOption().getID() == OPT_compress_debug_sections) {
tools/lld/COFF/Driver.cpp
  359     switch (arg->getOption().getID()) {
  601     switch (arg->getOption().getID()) {
  702   if (arg->getOption().getID() == OPT_lldmap_file)
  705   assert(arg->getOption().getID() == OPT_lldmap);
 1264       dynamicBaseArg->getOption().getID() == OPT_dynamicbase_no)
 1273         dynamicBaseArg->getOption().getID() == OPT_dynamicbase) {
 1335     if (arg->getOption().getID() == OPT_repro) {
 1478     if (arg->getOption().getID() == OPT_manifest)
 1580     switch (arg->getOption().getID()) {
tools/lld/COFF/DriverUtils.cpp
  775   if (arg->getOption().getID() == OPT_color_diagnostics) {
  777   } else if (arg->getOption().getID() == OPT_no_color_diagnostics) {
tools/lld/ELF/Driver.cpp
  524     switch (arg->getOption().getID()) {
  581   if (arg->getOption().getID() == OPT_discard_all)
  583   if (arg->getOption().getID() == OPT_discard_locals)
  590   if (!arg || arg->getOption().getID() == OPT_no_dynamic_linker)
  597   if (!arg || arg->getOption().getID() == OPT_icf_none)
  599   if (arg->getOption().getID() == OPT_icf_safe)
  611   if (arg->getOption().getID() == OPT_strip_all)
  675   if (arg->getOption().getID() == OPT_build_id)
 1153     switch (arg->getOption().getID()) {
tools/lld/ELF/DriverUtils.cpp
   61   if (arg->getOption().getID() == OPT_color_diagnostics) {
   63   } else if (arg->getOption().getID() == OPT_no_color_diagnostics) {
  175     switch (arg->getOption().getID()) {
tools/lld/MinGW/Driver.cpp
  346     switch (a->getOption().getID()) {
tools/lld/lib/Driver/DarwinLdDriver.cpp
  344     switch (kind->getOption().getID()) {
  401     switch (minOS->getOption().getID()) {
  706     if (mod->getOption().getID() == OPT_multi_module)
  736             (pie->getOption().getID() == OPT_pie)) {
  743             (pie->getOption().getID() == OPT_pie)) {
  749         if (pie->getOption().getID() == OPT_no_pie) {
  757       ctx.setPIE(pie->getOption().getID() == OPT_pie);
  779       flagOn = arg->getOption().getID() == OPT_version_load_command;
  780       flagOff = arg->getOption().getID() == OPT_no_version_load_command;
  827       flagOn = arg->getOption().getID() == OPT_function_starts;
  828       flagOff = arg->getOption().getID() == OPT_no_function_starts;
  875       flagOn = arg->getOption().getID() == OPT_data_in_code_info;
  876       flagOff = arg->getOption().getID() == OPT_no_data_in_code_info;
  980     if (ns->getOption().getID() == OPT_flat_namespace)
 1057     switch (arg->getOption().getID()) {
 1071       upward = (arg->getOption().getID() == OPT_upward_l);
 1085       upward = (arg->getOption().getID() == OPT_upward_framework);
tools/lld/wasm/Driver.cpp
  134   if (arg->getOption().getID() == OPT_color_diagnostics) {
  136   } else if (arg->getOption().getID() == OPT_no_color_diagnostics) {
  272     switch (arg->getOption().getID()) {
  298   if (arg->getOption().getID() == OPT_no_entry)
  546     switch (arg->getOption().getID()) {
tools/llvm-lipo/llvm-lipo.cpp
  369   switch (ActionArgs[0]->getOption().getID()) {
tools/llvm-objcopy/CopyConfig.cpp
  474     if (Arg->getOption().getID() == OBJCOPY_compress_debug_sections_eq) {
  820     Config.StripAll = Arg->getOption().getID() == STRIP_strip_all;