/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 131 static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, in ParseAnalyzerArgs() argument 147 Opts.AnalysisStoreOpt = Value; in ParseAnalyzerArgs() 163 Opts.AnalysisConstraintsOpt = Value; in ParseAnalyzerArgs() 179 Opts.AnalysisDiagOpt = Value; in ParseAnalyzerArgs() 195 Opts.AnalysisPurgeOpt = Value; in ParseAnalyzerArgs() 211 Opts.InliningMode = Value; in ParseAnalyzerArgs() 215 Opts.ShowCheckerHelp = Args.hasArg(OPT_analyzer_checker_help); in ParseAnalyzerArgs() 216 Opts.visualizeExplodedGraphWithGraphViz = in ParseAnalyzerArgs() 218 Opts.visualizeExplodedGraphWithUbiGraph = in ParseAnalyzerArgs() 220 Opts.NoRetryExhausted = Args.hasArg(OPT_analyzer_disable_retry_exhausted); in ParseAnalyzerArgs() [all …]
|
D | Warnings.cpp | 51 const DiagnosticOptions &Opts, in ProcessWarningOptions() argument 54 Diags.setIgnoreAllWarnings(Opts.IgnoreWarnings); in ProcessWarningOptions() 55 Diags.setShowOverloads(Opts.getShowOverloads()); in ProcessWarningOptions() 57 Diags.setElideType(Opts.ElideType); in ProcessWarningOptions() 58 Diags.setPrintTemplateTree(Opts.ShowTemplateTree); in ProcessWarningOptions() 59 Diags.setShowColors(Opts.ShowColors); in ProcessWarningOptions() 62 if (Opts.ErrorLimit) in ProcessWarningOptions() 63 Diags.setErrorLimit(Opts.ErrorLimit); in ProcessWarningOptions() 64 if (Opts.TemplateBacktraceLimit) in ProcessWarningOptions() 65 Diags.setTemplateBacktraceLimit(Opts.TemplateBacktraceLimit); in ProcessWarningOptions() [all …]
|
D | DependencyFile.cpp | 49 const DependencyOutputOptions &Opts) in DependencyFileCallback() argument 50 : PP(_PP), OutputFile(Opts.OutputFile), Targets(Opts.Targets), in DependencyFileCallback() 51 IncludeSystemHeaders(Opts.IncludeSystemHeaders), in DependencyFileCallback() 52 PhonyTarget(Opts.UsePhonyTargets), in DependencyFileCallback() 53 AddMissingHeaderDeps(Opts.AddMissingHeaderDeps), in DependencyFileCallback() 76 const DependencyOutputOptions &Opts) { in AttachDependencyFileGen() argument 77 if (Opts.Targets.empty()) { in AttachDependencyFileGen() 83 if (Opts.AddMissingHeaderDeps) in AttachDependencyFileGen() 86 PP.addPPCallbacks(new DependencyFileCallback(&PP, Opts)); in AttachDependencyFileGen()
|
D | CompilerInstance.cpp | 164 CompilerInstance::createDiagnostics(DiagnosticOptions *Opts, in createDiagnostics() argument 170 Diags(new DiagnosticsEngine(DiagID, Opts)); in createDiagnostics() 177 Diags->setClient(new TextDiagnosticPrinter(llvm::errs(), Opts)); in createDiagnostics() 180 if (Opts->VerifyDiagnostics) in createDiagnostics() 184 if (!Opts->DiagnosticLogFile.empty()) in createDiagnostics() 185 SetUpDiagnosticLog(Opts, CodeGenOpts, *Diags); in createDiagnostics() 187 if (!Opts->DiagnosticSerializationFile.empty()) in createDiagnostics() 188 SetupSerializedDiagnostics(Opts, *Diags, in createDiagnostics() 189 Opts->DiagnosticSerializationFile); in createDiagnostics() 192 ProcessWarningOptions(*Diags, *Opts); in createDiagnostics() [all …]
|
D | PrintPreprocessedOutput.cpp | 700 const PreprocessorOutputOptions &Opts) { in DoPrintPreprocessedInput() argument 702 if (!Opts.ShowCPP) { in DoPrintPreprocessedInput() 703 assert(Opts.ShowMacros && "Not yet implemented!"); in DoPrintPreprocessedInput() 710 PP.SetCommentRetentionState(Opts.ShowComments, Opts.ShowMacroComments); in DoPrintPreprocessedInput() 713 new PrintPPOutputPPCallbacks(PP, *OS, !Opts.ShowLineMarkers, in DoPrintPreprocessedInput() 714 Opts.ShowMacros); in DoPrintPreprocessedInput()
|
/external/clang/tools/driver/ |
D | cc1as_main.cpp | 146 bool AssemblerInvocation::CreateFromArgs(AssemblerInvocation &Opts, in CreateFromArgs() argument 176 Opts.Triple = llvm::Triple::normalize(Args->getLastArgValue(OPT_triple)); in CreateFromArgs() 177 Opts.CPU = Args->getLastArgValue(OPT_target_cpu); in CreateFromArgs() 178 Opts.Features = Args->getAllArgValues(OPT_target_feature); in CreateFromArgs() 181 if (Opts.Triple.empty()) in CreateFromArgs() 182 Opts.Triple = llvm::sys::getDefaultTargetTriple(); in CreateFromArgs() 185 Opts.IncludePaths = Args->getAllArgValues(OPT_I); in CreateFromArgs() 186 Opts.NoInitialTextSection = Args->hasArg(OPT_n); in CreateFromArgs() 187 Opts.SaveTemporaryLabels = Args->hasArg(OPT_L); in CreateFromArgs() 188 Opts.GenDwarfForAssembly = Args->hasArg(OPT_g); in CreateFromArgs() [all …]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
D | cmdline.py | 10 class Opts(object): class 173 Opts.directory, 174 Opts.help, 175 Opts.ignore_errors, 176 Opts.pylib, 177 Opts.show_missing, 178 Opts.old_omit, 179 Opts.parallel_mode, 180 Opts.timid, 181 Opts.version, [all …]
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 42 const LangOptions &Opts) { in DefineStd() argument 47 if (Opts.GNUMode) in DefineStd() 73 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, 77 virtual void getTargetDefines(const LangOptions &Opts, in getTargetDefines() argument 79 TgtInfo::getTargetDefines(Opts, Builder); in getTargetDefines() 80 getOSDefines(Opts, TgtInfo::getTriple(), Builder); in getTargetDefines() 87 static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, in getDarwinDefines() argument 97 if (Opts.Sanitize.Address) Builder.defineMacro("_FORTIFY_SOURCE", "0"); in getDarwinDefines() 99 if (!Opts.ObjCAutoRefCount) { in getDarwinDefines() 104 if (Opts.getGC() != LangOptions::NonGC) in getDarwinDefines() [all …]
|
/external/llvm/tools/llvm-symbolizer/ |
D | LLVMSymbolize.cpp | 34 getDILineInfoSpecifierFlags(const LLVMSymbolizer::Options &Opts) { in getDILineInfoSpecifierFlags() argument 37 if (Opts.PrintFunctions) in getDILineInfoSpecifierFlags() 108 uint64_t ModuleOffset, const LLVMSymbolizer::Options &Opts) const { in symbolizeCode() 112 ModuleOffset, getDILineInfoSpecifierFlags(Opts)); in symbolizeCode() 115 if (Opts.PrintFunctions && Opts.UseSymbolTable) { in symbolizeCode() 127 uint64_t ModuleOffset, const LLVMSymbolizer::Options &Opts) const { in symbolizeInlinedCode() 131 ModuleOffset, getDILineInfoSpecifierFlags(Opts)); in symbolizeInlinedCode() 138 if (Opts.PrintFunctions && Opts.UseSymbolTable) { in symbolizeInlinedCode() 170 if (Opts.PrintInlining) { in symbolizeCode() 172 Info->symbolizeInlinedCode(ModuleOffset, Opts); in symbolizeCode() [all …]
|
D | LLVMSymbolize.h | 50 LLVMSymbolizer(const Options &Opts = Options()) : Opts(Opts) {} in Opts() function 86 Options Opts; variable 95 const LLVMSymbolizer::Options &Opts) const; 97 uint64_t ModuleOffset, const LLVMSymbolizer::Options &Opts) const;
|
D | llvm-symbolizer.cpp | 108 LLVMSymbolizer::Options Opts(ClUseSymbolTable, ClPrintFunctions, in main() local 110 LLVMSymbolizer Symbolizer(Opts); in main()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCallAndReturn.cpp | 592 AnalyzerOptions &Opts) { in mayInlineCallKind() argument 601 if (!Opts.mayInlineCXXMemberFunction(CIMK_MemberFunctions)) in mayInlineCallKind() 605 if (!Opts.mayInlineCXXMemberFunction(CIMK_Constructors)) in mayInlineCallKind() 637 if (!Opts.mayInlineCXXMemberFunction(CIMK_Destructors)) in mayInlineCallKind() 649 if (!Opts.mayInlineCXXMemberFunction(CIMK_Destructors)) in mayInlineCallKind() 671 if (!Opts.mayInlineObjCMethod()) in mayInlineCallKind() 673 if (!(Opts.getIPAMode() == IPAK_DynamicDispatch || in mayInlineCallKind() 674 Opts.getIPAMode() == IPAK_DynamicDispatchBifurcate)) in mayInlineCallKind() 744 AnalyzerOptions &Opts) { in mayInlineDecl() argument 754 if (!Opts.mayInlineTemplateFunctions()) in mayInlineDecl() [all …]
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | AnalysisConsumer.cpp | 143 AnalyzerOptionsRef Opts; member in __anonab681f220211::AnalysisConsumer 174 Ctx(0), PP(pp), OutDir(outdir), Opts(opts), Plugins(plugins) { in AnalysisConsumer() 176 if (Opts->PrintStats) { in AnalysisConsumer() 183 if (Opts->PrintStats) in ~AnalysisConsumer() 192 switch (Opts->AnalysisDiagOpt) { in DigestAnalyzerOptions() 195 case PD_##NAME: CREATEFN(*Opts.getPtr(), PathConsumers, OutDir, PP);\ in DigestAnalyzerOptions() 199 } else if (Opts->AnalysisDiagOpt == PD_TEXT) { in DigestAnalyzerOptions() 202 createTextPathDiagnosticConsumer(*Opts.getPtr(), PathConsumers, "", PP); in DigestAnalyzerOptions() 206 switch (Opts->AnalysisStoreOpt) { in DigestAnalyzerOptions() 214 switch (Opts->AnalysisConstraintsOpt) { in DigestAnalyzerOptions() [all …]
|
/external/llvm/unittests/Option/ |
D | Makefile | 14 BUILT_SOURCES = Opts.inc 21 $(ObjDir)/Opts.inc.tmp : Opts.td $(LLVM_TBLGEN) $(ObjDir)/.dir
|
D | CMakeLists.txt | 6 set(LLVM_TARGET_DEFINITIONS Opts.td) 8 tablegen(LLVM Opts.inc -gen-opt-parser-defs)
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 717 StringMap<Option*> Opts; in ParseCommandLineOptions() local 718 GetOptionInfo(PositionalOpts, SinkOpts, Opts); in ParseCommandLineOptions() 720 assert((!Opts.empty() || !PositionalOpts.empty()) && in ParseCommandLineOptions() 810 Opts.clear(); in ParseCommandLineOptions() 811 GetOptionInfo(PositionalOpts, SinkOpts, Opts); in ParseCommandLineOptions() 856 Handler = LookupOption(ArgName, Value, Opts); in ParseCommandLineOptions() 868 Handler = LookupOption(ArgName, Value, Opts); in ParseCommandLineOptions() 873 ErrorParsing, Opts); in ParseCommandLineOptions() 878 NearestHandler = LookupNearestOption(ArgName, Opts, in ParseCommandLineOptions() 992 for (StringMap<Option*>::iterator I = Opts.begin(), in ParseCommandLineOptions() [all …]
|
/external/llvm/utils/TableGen/ |
D | OptParserEmitter.cpp | 107 std::vector<Record*> Opts = Records.getAllDerivedDefinitions("Option"); in EmitOptParser() local 111 array_pod_sort(Opts.begin(), Opts.end(), CompareOptionRecords); in EmitOptParser() 118 for (unsigned i = 0, e = Opts.size(); i != e; ++i) { in EmitOptParser() 119 const Record &R = *Opts[i]; in EmitOptParser() 198 for (unsigned i = 0, e = Opts.size(); i != e; ++i) { in EmitOptParser() 199 const Record &R = *Opts[i]; in EmitOptParser()
|
/external/clang/include/clang/Frontend/ |
D | Utils.h | 68 const DiagnosticOptions &Opts, 73 const PreprocessorOutputOptions &Opts); 78 const DependencyOutputOptions &Opts);
|
D | CompilerInvocation.h | 49 bool ParseDiagnosticArgs(DiagnosticOptions &Opts, llvm::opt::ArgList &Args, 155 static void setLangDefaults(LangOptions &Opts, InputKind IK,
|
D | CompilerInstance.h | 520 createDiagnostics(DiagnosticOptions *Opts, 566 const CodeCompleteOptions &Opts, 653 const FrontendOptions &Opts);
|
/external/llvm/lib/Option/ |
D | OptTable.cpp | 295 static std::string getOptionHelpName(const OptTable &Opts, OptSpecifier Id) { in getOptionHelpName() argument 296 const Option O = Opts.getOption(Id); in getOptionHelpName() 315 if (const char *MetaVarName = Opts.getOptionMetaVar(Id)) in getOptionHelpName() 358 static const char *getOptionHelpGroup(const OptTable &Opts, OptSpecifier Id) { in getOptionHelpGroup() argument 359 unsigned GroupID = Opts.getOptionGroupID(Id); in getOptionHelpGroup() 369 if (const char *GroupHelp = Opts.getOptionHelpText(GroupID)) in getOptionHelpGroup() 373 return getOptionHelpGroup(Opts, GroupID); in getOptionHelpGroup()
|
/external/clang/lib/Driver/ |
D | ToolChains.cpp | 368 const OptTable &Opts = getDriver().getOpts(); in AddDeploymentTarget() local 384 0, Opts.getOption(options::OPT_isysroot), env)); in AddDeploymentTarget() 460 const Option O = Opts.getOption(options::OPT_mmacosx_version_min_EQ); in AddDeploymentTarget() 464 const Option O = Opts.getOption(options::OPT_miphoneos_version_min_EQ); in AddDeploymentTarget() 468 const Option O = Opts.getOption( in AddDeploymentTarget() 474 const Option O = Opts.getOption(options::OPT_mmacosx_version_min_EQ); in AddDeploymentTarget() 593 const OptTable &Opts = getDriver().getOpts(); in TranslateArgs() local 619 Arg *XarchArg = Opts.ParseOneArg(Args, Index); in TranslateArgs() 651 Opts.getOption(options::OPT_Zlinker_input), in TranslateArgs() 670 DAL->AddFlagArg(A, Opts.getOption(options::OPT_static)); in TranslateArgs() [all …]
|
/external/clang/lib/CodeGen/ |
D | ModuleBuilder.cpp | 127 virtual void HandleLinkerOptionPragma(llvm::StringRef Opts) { in HandleLinkerOptionPragma() argument 128 Builder->AppendLinkerOptions(Opts); in HandleLinkerOptionPragma()
|
D | CodeGenAction.cpp | 186 virtual void HandleLinkerOptionPragma(llvm::StringRef Opts) { in HandleLinkerOptionPragma() argument 187 Gen->HandleLinkerOptionPragma(Opts); in HandleLinkerOptionPragma() 195 virtual void HandleDependentLibrary(llvm::StringRef Opts) { in HandleDependentLibrary() argument 196 Gen->HandleDependentLibrary(Opts); in HandleDependentLibrary()
|
/external/clang/include/clang/Rewrite/Frontend/ |
D | Rewriters.h | 31 const PreprocessorOutputOptions &Opts);
|