Home
last modified time | relevance | path

Searched refs:Opt (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/lib/Frontend/
DWarnings.cpp37 StringRef Prefix, StringRef Opt, in EmitUnknownDiagWarning() argument
39 StringRef Suggestion = DiagnosticIDs::getNearestWarningOption(Opt); in EmitUnknownDiagWarning()
43 << (Prefix.str() += Opt) << (Prefix.str() += Suggestion); in EmitUnknownDiagWarning()
47 << (Prefix.str() += Opt); in EmitUnknownDiagWarning()
89 StringRef Opt = Opts.Warnings[i]; in ProcessWarningOptions() local
93 if (Opt == "format=0") in ProcessWarningOptions()
94 Opt = "no-format"; in ProcessWarningOptions()
99 if (Opt.startswith("no-")) { in ProcessWarningOptions()
101 Opt = Opt.substr(3); in ProcessWarningOptions()
110 if (Opt == "system-headers") { in ProcessWarningOptions()
[all …]
DTextDiagnosticPrinter.cpp82 StringRef Opt = DiagnosticIDs::getWarningOptionForDiag(Info.getID()); in printDiagnosticOptions() local
83 if (!Opt.empty()) { in printDiagnosticOptions()
84 OS << (Started ? "," : " [") << "-W" << Opt; in printDiagnosticOptions()
DCompilerInvocation.cpp2139 unsigned Opt = getOptimizationLevel(Args, IK, Diags), in ParseLangArgs() local
2141 Opts.Optimize = Opt != 0; in ParseLangArgs()
2147 Opts.NoInlineDefine = !Opt || Args.hasArg(OPT_fno_inline); in ParseLangArgs()
/external/clang/include/clang/Driver/
DOptSpecifier.h27 /*implicit*/ OptSpecifier(const Option *Opt);
33 bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); }
34 bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }
DArgList.h379 void AddFlagArg(const Arg *BaseArg, const Option *Opt) { in AddFlagArg() argument
380 append(MakeFlagArg(BaseArg, Opt)); in AddFlagArg()
386 void AddPositionalArg(const Arg *BaseArg, const Option *Opt, in AddPositionalArg() argument
388 append(MakePositionalArg(BaseArg, Opt, Value)); in AddPositionalArg()
395 void AddSeparateArg(const Arg *BaseArg, const Option *Opt, in AddSeparateArg() argument
397 append(MakeSeparateArg(BaseArg, Opt, Value)); in AddSeparateArg()
403 void AddJoinedArg(const Arg *BaseArg, const Option *Opt, in AddJoinedArg() argument
405 append(MakeJoinedArg(BaseArg, Opt, Value)); in AddJoinedArg()
411 Arg *MakeFlagArg(const Arg *BaseArg, const Option *Opt) const;
415 Arg *MakePositionalArg(const Arg *BaseArg, const Option *Opt,
[all …]
DArg.h41 const Option *Opt;
63 Arg(const Option *Opt, unsigned Index, const Arg *BaseArg = 0);
64 Arg(const Option *Opt, unsigned Index,
66 Arg(const Option *Opt, unsigned Index,
70 const Option &getOption() const { return *Opt; } in getOption()
DOptTable.h63 const Info &getInfo(OptSpecifier Opt) const { in getInfo() argument
64 unsigned id = Opt.getID(); in getInfo()
83 const Option *getOption(OptSpecifier Opt) const { in getOption() argument
84 unsigned id = Opt.getID(); in getOption()
/external/clang/lib/Driver/
DArgList.cpp365 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option *Opt) const { in MakeFlagArg()
366 Arg *A = new Arg(Opt, BaseArgs.MakeIndex(Opt->getName()), BaseArg); in MakeFlagArg()
371 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option *Opt, in MakePositionalArg() argument
374 Arg *A = new Arg(Opt, Index, BaseArgs.getArgString(Index), BaseArg); in MakePositionalArg()
379 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option *Opt, in MakeSeparateArg() argument
381 unsigned Index = BaseArgs.MakeIndex(Opt->getName(), Value); in MakeSeparateArg()
382 Arg *A = new Arg(Opt, Index, BaseArgs.getArgString(Index + 1), BaseArg); in MakeSeparateArg()
387 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option *Opt, in MakeJoinedArg() argument
389 unsigned Index = BaseArgs.MakeIndex(Opt->getName().str() + Value.str()); in MakeJoinedArg()
390 Arg *A = new Arg(Opt, Index, in MakeJoinedArg()
[all …]
DOption.cpp69 bool Option::matches(OptSpecifier Opt) const { in matches()
72 return Alias->matches(Opt); in matches()
75 if (ID == Opt) in matches()
79 return Group->matches(Opt); in matches()
DArg.cpp20 : Opt(_Opt), BaseArg(_BaseArg), Index(_Index), in Arg()
26 : Opt(_Opt), BaseArg(_BaseArg), Index(_Index), in Arg()
33 : Opt(_Opt), BaseArg(_BaseArg), Index(_Index), in Arg()
50 Opt->dump(); in dump()
DOptTable.cpp76 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier() argument
141 Option *Opt = new Option(&info, id, Group, Alias); in CreateOption() local
143 return Opt; in CreateOption()
DDriver.cpp1339 const Option &Opt = A->getOption(); in BuildJobs() local
1340 if (Opt.getKind() == Option::FlagClass) { in BuildJobs()
1343 for (arg_iterator it = C.getArgs().filtered_begin(&Opt), in BuildJobs()
/external/llvm/include/llvm/Support/
DPassNameParser.h41 cl::Option *Opt; variable
43 PassNameParser() : Opt(0) {} in PassNameParser()
47 Opt = &O; in initialize()
69 if (ignorablePass(P) || !Opt) return; in passRegistered()
DCommandLine.h291 template<class Opt>
292 void apply(Opt &O) const { O.setInitialValue(Init); } in apply()
310 template<class Opt>
311 void apply(Opt &O) const { O.setLocation(O, Loc); } in apply()
472 template<class Opt>
473 void apply(Opt &O) const {
722 template <class Opt>
723 void initialize(Opt &O) {
977 template<class Opt>
978 static void opt(const Mod &M, Opt &O) { M.apply(O); }
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dconfirm_quit_panel_controller_unittest.mm20 str = [str stringByReplacingOccurrencesOfString:@"{Opt}"
55 EXPECT_NSEQ(TestString(@"{Cmd}{Opt}{Shift}H"),
61 EXPECT_NSEQ(TestString(@"{Cmd}{Ctrl}{Opt}{Shift}R"),
73 EXPECT_NSEQ(TestString(@"{Cmd}{Opt}E"),
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java131 Opt opt = null; in parse()
183 opt = new Opt (optName, canonicalName, patternPrefix); in parse()
191 opt = new Opt (optName, canonicalName, patternPrefix); in parse()
385 final Opt xopt = opts.getOpt (excludes [x]); in parse()
506 static final class Opt implements IOptsParser.IOpt class in OptsParser
561 Opt (final String name, final String canonicalName, final String patternPrefix) in Opt() method in OptsParser.Opt
658 void addOpt (final Opt opt, final OptDef optdef, final String occuranceName) in addOpt()
705 Opt getOpt (final String occuranceName) in getOpt()
709 return (Opt) m_nameMap.get (occuranceName); in getOpt()
/external/llvm/tools/bugpoint/
DOptimizerDriver.cpp162 std::string Opt = tool.str(); in runPasses() local
169 Args.push_back(Opt.c_str()); in runPasses()
/external/clang/utils/OptionalTests/
Dlit.cfg11 config.name = 'Clang-Opt-Tests'
/external/llvm/lib/Support/
DCommandLine.cpp578 Option *Opt = PositionalOpts[i]; in ParseCommandLineOptions() local
579 if (RequiresValue(Opt)) in ParseCommandLineOptions()
586 Opt->error("error - this positional option will never be matched, " in ParseCommandLineOptions()
589 } else if (UnboundedFound && !Opt->ArgStr[0]) { in ParseCommandLineOptions()
594 ErrorParsing |= Opt->error("error - option can never match, because " in ParseCommandLineOptions()
599 UnboundedFound |= EatsUnboundedNumberOfValues(Opt); in ParseCommandLineOptions()
/external/llvm/include/llvm/CodeGen/
DPasses.h160 void setOpt(bool &Opt, bool Val);
/external/webkit/Tools/android/flex-2.5.4a/MISC/VMS/
Ddescrip.mms21 CFLAGS = /noList/Opt=2/Debug/noVerbose
154 $(OBJECTS),$(FLEXLIB)/Lib,$(LIBOPT)/Opt,$(ID_OPT)/Opt
/external/llvm/lib/CodeGen/
DPasses.cpp269 void TargetPassConfig::setOpt(bool &Opt, bool Val) { in setOpt() argument
271 Opt = Val; in setOpt()
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp1592 void AddOpt(LibFunc::Func F, LibCallOptimization* Opt);
1593 void AddOpt(LibFunc::Func F1, LibFunc::Func F2, LibCallOptimization* Opt);
1625 void SimplifyLibCalls::AddOpt(LibFunc::Func F, LibCallOptimization* Opt) { in AddOpt() argument
1627 Optimizations[TLI->getName(F)] = Opt; in AddOpt()
1631 LibCallOptimization* Opt) { in AddOpt() argument
1633 Optimizations[TLI->getName(F1)] = Opt; in AddOpt()
/external/iproute2/doc/
Dapi-ip6-flowlabels.tex388 Label S Owner Users Linger Expires Dst Opt
402 \item \verb|Opt| is length of options, associated with the label. Option
/external/clang/lib/Sema/
DSemaCodeComplete.cpp2210 CodeCompletionBuilder Opt(Result.getAllocator(), in AddFunctionParameterChunks() local
2213 Opt.AddChunk(CodeCompletionString::CK_Comma); in AddFunctionParameterChunks()
2214 AddFunctionParameterChunks(Context, Policy, Function, Opt, P, true); in AddFunctionParameterChunks()
2215 Result.AddOptionalChunk(Opt.TakeString()); in AddFunctionParameterChunks()
2302 CodeCompletionBuilder Opt(Result.getAllocator(), in AddTemplateParameterChunks() local
2305 Opt.AddChunk(CodeCompletionString::CK_Comma); in AddTemplateParameterChunks()
2306 AddTemplateParameterChunks(Context, Policy, Template, Opt, MaxParameters, in AddTemplateParameterChunks()
2308 Result.AddOptionalChunk(Opt.TakeString()); in AddTemplateParameterChunks()

12