Home
last modified time | relevance | path

Searched refs:hasArg (Results 1 – 24 of 24) sorted by relevance

/external/clang/lib/Frontend/
DCompilerInvocation.cpp81 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable)) in getOptimizationLevel()
222 Opts.ShowCheckerHelp = Args.hasArg(OPT_analyzer_checker_help); in ParseAnalyzerArgs()
223 Opts.DisableAllChecks = Args.hasArg(OPT_analyzer_disable_all_checks); in ParseAnalyzerArgs()
226 Args.hasArg(OPT_analyzer_viz_egraph_graphviz); in ParseAnalyzerArgs()
228 Args.hasArg(OPT_analyzer_viz_egraph_ubigraph); in ParseAnalyzerArgs()
229 Opts.NoRetryExhausted = Args.hasArg(OPT_analyzer_disable_retry_exhausted); in ParseAnalyzerArgs()
230 Opts.AnalyzeAll = Args.hasArg(OPT_analyzer_opt_analyze_headers); in ParseAnalyzerArgs()
231 Opts.AnalyzerDisplayProgress = Args.hasArg(OPT_analyzer_display_progress); in ParseAnalyzerArgs()
233 Args.hasArg(OPT_analyzer_opt_analyze_nested_blocks); in ParseAnalyzerArgs()
234 Opts.eagerlyAssumeBinOpBifurcation = Args.hasArg(OPT_analyzer_eagerly_assume); in ParseAnalyzerArgs()
[all …]
DCreateInvocationFromCommandLine.cpp57 if (C->getArgs().hasArg(driver::options::OPT__HASH_HASH_HASH)) { in createInvocationFromCommandLine()
/external/llvm/unittests/Option/
DOptionParsingTest.cpp73 EXPECT_TRUE(AL.hasArg(OPT_A)); in TEST()
74 EXPECT_TRUE(AL.hasArg(OPT_B)); in TEST()
75 EXPECT_TRUE(AL.hasArg(OPT_C)); in TEST()
76 EXPECT_TRUE(AL.hasArg(OPT_D)); in TEST()
77 EXPECT_TRUE(AL.hasArg(OPT_E)); in TEST()
78 EXPECT_TRUE(AL.hasArg(OPT_F)); in TEST()
79 EXPECT_TRUE(AL.hasArg(OPT_G)); in TEST()
118 EXPECT_TRUE(AL.hasArg(OPT_A)); in TEST()
119 EXPECT_TRUE(AL.hasArg(OPT_C)); in TEST()
120 EXPECT_FALSE(AL.hasArg(OPT_SLASH_C)); in TEST()
[all …]
/external/clang/lib/Driver/
DTools.cpp89 if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) && in CheckPreprocessingOptions()
90 !Args.hasArg(options::OPT__SLASH_EP) && !D.CCCIsCPP()) { in CheckPreprocessingOptions()
102 if (Args.hasArg(options::OPT_static)) in CheckCodeGenerationOptions()
263 return Args.hasArg(options::OPT_fobjc_link_runtime); in isObjCRuntimeLinked()
308 if (!Args.hasArg(options::OPT_MT) && !Args.hasArg(options::OPT_MQ)) { in AddPreprocessingOptions()
335 !Args.hasArg(options::OPT_fno_module_file_deps)) || in AddPreprocessingOptions()
336 Args.hasArg(options::OPT_fmodule_file_deps)) in AddPreprocessingOptions()
340 if (Args.hasArg(options::OPT_MG)) { in AddPreprocessingOptions()
449 if (!Args.hasArg(options::OPT_isysroot)) { in AddPreprocessingOptions()
743 Args.hasArg(options::OPT_mkernel, options::OPT_fapple_kext); in getARMTargetFeatures()
[all …]
DDriver.cpp211 bool HasNostdlib = Args.hasArg(options::OPT_nostdlib); in TranslateInputArgs()
212 bool HasNodefaultlib = Args.hasArg(options::OPT_nodefaultlibs); in TranslateInputArgs()
282 if (!Args.hasArg(options::OPT_mlinker_version_EQ) && in TranslateInputArgs()
425 Diags.setIgnoreAllWarnings(Args.hasArg(options::OPT_w)); in BuildCompilation()
439 CCCPrintPhases = Args.hasArg(options::OPT_ccc_print_phases); in BuildCompilation()
440 CCCPrintBindings = Args.hasArg(options::OPT_ccc_print_bindings); in BuildCompilation()
467 if (Args.hasArg(options::OPT_nostdlib)) in BuildCompilation()
542 if (C.getArgs().hasArg(options::OPT_fno_crash_diagnostics)) in generateCompilationDiagnostics()
718 if (C.getArgs().hasArg(options::OPT__HASH_HASH_HASH)) { in ExecuteCompilation()
825 if (C.getArgs().hasArg(options::OPT_dumpmachine)) { in HandleImmediateArgs()
[all …]
DCrossWindowsToolChain.cpp56 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
60 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
74 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
75 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
DToolChains.cpp361 if (!Args.hasArg(options::OPT_dynamiclib) && in AddLinkSanitizerLibArgs()
362 !Args.hasArg(options::OPT_bundle)) { in AddLinkSanitizerLibArgs()
396 if (Args.hasArg(options::OPT_static) || in AddLinkRuntimeLibArgs()
397 Args.hasArg(options::OPT_fapple_kext) || in AddLinkRuntimeLibArgs()
398 Args.hasArg(options::OPT_mkernel)) in AddLinkRuntimeLibArgs()
529 Args.hasArg(options::OPT_isysroot)) { in AddDeploymentTarget()
988 CompilerRT += Args.hasArg(options::OPT_fPIC) ? "_pic.a" : "_static.a"; in AddLinkRuntimeLibArgs()
1115 if (Args.hasArg(options::OPT_dynamiclib)) { in addStartObjectFileArgs()
1131 if (Args.hasArg(options::OPT_bundle)) { in addStartObjectFileArgs()
1132 if (!Args.hasArg(options::OPT_static)) { in addStartObjectFileArgs()
[all …]
DMinGWToolChain.cpp186 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
189 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
195 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
215 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
216 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
DToolChain.cpp315 Args.hasArg(options::OPT_fprofile_generate) || in needsProfileRT()
316 Args.hasArg(options::OPT_fprofile_generate_EQ) || in needsProfileRT()
317 Args.hasArg(options::OPT_fprofile_instr_generate) || in needsProfileRT()
318 Args.hasArg(options::OPT_fprofile_instr_generate_EQ) || in needsProfileRT()
319 Args.hasArg(options::OPT_fcreate_profile) || in needsProfileRT()
320 Args.hasArg(options::OPT_coverage)) in needsProfileRT()
DCompilation.cpp129 getArgs().hasArg(options::OPT_v)) && !getDriver().CCGenDiagnostics) { in ExecuteCommand()
224 if (TranslatedArgs->hasArg(OutputOpts[i])) in initCompilationForDiagnostics()
DMSVCToolChain.cpp522 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
525 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
530 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
DSanitizerArgs.cpp438 Args.hasArg(options::OPT_fsanitize_memory_use_after_dtor); in SanitizerArgs()
518 Args.hasArg(options::OPT_shared_libasan) || TC.getTriple().isAndroid(); in SanitizerArgs()
548 Args.hasArg(options::OPT_fsanitize_link_cxx_runtime) || D.CCCIsCXX(); in SanitizerArgs()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/
DUOption.java33 public int hasArg; field in UOption
172 if(option.hasArg!=NO_ARG) { in parseArgs()
177 } else if(option.hasArg==REQUIRES_ARG) { in parseArgs()
200 if(option.hasArg!=NO_ARG) { in parseArgs()
212 } else if(option.hasArg==REQUIRES_ARG) { in parseArgs()
266 hasArg = hasArgument; in UOption()
/external/clang/tools/driver/
Dcc1as_main.cpp198 Opts.NoInitialTextSection = Args.hasArg(OPT_n); in CreateFromArgs()
199 Opts.SaveTemporaryLabels = Args.hasArg(OPT_msave_temp_labels); in CreateFromArgs()
201 Opts.GenDwarfForAssembly = Args.hasArg(OPT_debug_info_kind_EQ); in CreateFromArgs()
202 Opts.CompressDebugSections = Args.hasArg(OPT_compress_debug_sections); in CreateFromArgs()
210 if (Args.hasArg(OPT_INPUT)) { in CreateFromArgs()
239 Opts.ShowHelp = Args.hasArg(OPT_help); in CreateFromArgs()
240 Opts.ShowVersion = Args.hasArg(OPT_version); in CreateFromArgs()
245 Opts.ShowEncoding = Args.hasArg(OPT_show_encoding); in CreateFromArgs()
246 Opts.ShowInst = Args.hasArg(OPT_show_inst); in CreateFromArgs()
249 Opts.RelaxAll = Args.hasArg(OPT_mrelax_all); in CreateFromArgs()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Duoptions.c56 if(option->hasArg!=UOPT_NO_ARG) { in u_parseArgs()
61 } else if(option->hasArg==UOPT_REQUIRES_ARG) { in u_parseArgs()
91 if(option->hasArg!=UOPT_NO_ARG) { in u_parseArgs()
103 } else if(option->hasArg==UOPT_REQUIRES_ARG) { in u_parseArgs()
Duoptions.h57 char hasArg; /* enum value: option takes no/requires/may have argument */ member
62 #define UOPTION_DEF(longName, shortName, hasArg) \ argument
63 { longName, NULL, NULL, NULL, shortName, hasArg, 0 }
/external/smali/baksmali/src/main/java/org/jf/baksmali/
Dmain.java373 .hasArg() in buildOptions()
430 .hasArg() in buildOptions()
445 .hasArg() in buildOptions()
452 .hasArg() in buildOptions()
460 .hasArg() in buildOptions()
497 .hasArg() in buildOptions()
504 .hasArg() in buildOptions()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DDumpFields.java153 .hasArg() in buildOptions()
159 .hasArg() in buildOptions()
166 .hasArg() in buildOptions()
DDumpVtables.java157 .hasArg() in buildOptions()
163 .hasArg() in buildOptions()
170 .hasArg() in buildOptions()
/external/emma/core/java12/com/vladium/util/args/
DIOptsParser.java50 boolean hasArg (String name); in hasArg() method
DOptsParser.java643 public boolean hasArg (final String name) in hasArg() method in OptsParser.Opts
/external/llvm/include/llvm/Option/
DArgList.h185 bool hasArg(OptSpecifier Id) const { in hasArg() function
188 bool hasArg(OptSpecifier Id0, OptSpecifier Id1) const { in hasArg() function
191 bool hasArg(OptSpecifier Id0, OptSpecifier Id1, OptSpecifier Id2) const { in hasArg() function
/external/smali/smali/src/main/java/org/jf/smali/
Dmain.java411 .hasArg() in buildOptions()
424 .hasArg() in buildOptions()
457 .hasArg() in buildOptions()
/external/llvm/lib/LibDriver/
DLibDriver.cpp144 /*Deterministic*/ true, Args.hasArg(OPT_llvmlibthin)); in libDriverMain()