Home
last modified time | relevance | path

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

12

/external/clang/lib/Frontend/
DWarnings.cpp58 llvm::StringRef Opt = Opts.Warnings[i]; in ProcessWarningOptions() local
63 if (Opt.startswith("no-")) { in ProcessWarningOptions()
65 Opt = Opt.substr(3); in ProcessWarningOptions()
74 if (Opt == "system-headers") { in ProcessWarningOptions()
81 if (Opt.startswith("error")) { in ProcessWarningOptions()
83 if (Opt.size() > 5) { // Specifier must be present. in ProcessWarningOptions()
84 if ((Opt[5] != '=' && Opt[5] != '-') || Opt.size() == 6) { in ProcessWarningOptions()
86 << "-Werror" << ("-W" + Opt.str()); in ProcessWarningOptions()
89 Specifier = Opt.substr(6); in ProcessWarningOptions()
99 Opt = Specifier; in ProcessWarningOptions()
[all …]
DTextDiagnosticPrinter.cpp1013 llvm::StringRef Opt = DiagnosticIDs::getWarningOptionForDiag(Info.getID()); in HandleDiagnostic() local
1014 if (!Opt.empty()) { in HandleDiagnostic()
1018 OptionName += Opt; in HandleDiagnostic()
/external/clang/lib/Driver/
DOptTable.cpp75 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier() argument
137 Option *Opt = 0; in CreateOption() local
140 Opt = new InputOption(id); break; in CreateOption()
142 Opt = new UnknownOption(id); break; in CreateOption()
144 Opt = new OptionGroup(id, info.Name, Group); break; in CreateOption()
146 Opt = new FlagOption(id, info.Name, Group, Alias); break; in CreateOption()
148 Opt = new JoinedOption(id, info.Name, Group, Alias); break; in CreateOption()
150 Opt = new SeparateOption(id, info.Name, Group, Alias); break; in CreateOption()
152 Opt = new CommaJoinedOption(id, info.Name, Group, Alias); break; in CreateOption()
154 Opt = new MultiArgOption(id, info.Name, Group, Alias, info.Param); break; in CreateOption()
[all …]
DArgList.cpp266 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option *Opt) const { in MakeFlagArg()
267 Arg *A = new Arg(Opt, BaseArgs.MakeIndex(Opt->getName()), BaseArg); in MakeFlagArg()
272 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option *Opt, in MakePositionalArg() argument
275 Arg *A = new Arg(Opt, Index, BaseArgs.getArgString(Index), BaseArg); in MakePositionalArg()
280 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option *Opt, in MakeSeparateArg() argument
282 unsigned Index = BaseArgs.MakeIndex(Opt->getName(), Value); in MakeSeparateArg()
283 Arg *A = new Arg(Opt, Index, BaseArgs.getArgString(Index + 1), BaseArg); in MakeSeparateArg()
288 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option *Opt, in MakeJoinedArg() argument
290 unsigned Index = BaseArgs.MakeIndex(Opt->getName().str() + Value.str()); in MakeJoinedArg()
291 Arg *A = new Arg(Opt, Index, in MakeJoinedArg()
[all …]
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()
DOption.cpp97 bool Option::matches(OptSpecifier Opt) const { in matches()
100 return Alias->matches(Opt); in matches()
103 if (ID == Opt) in matches()
107 return Group->matches(Opt); in matches()
DDriver.cpp1058 const Option &Opt = A->getOption(); in BuildJobs() local
1059 if (isa<FlagOption>(Opt)) { in BuildJobs()
1062 for (arg_iterator it = C.getArgs().filtered_begin(&Opt), in BuildJobs()
/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.h353 void AddFlagArg(const Arg *BaseArg, const Option *Opt) { in AddFlagArg() argument
354 append(MakeFlagArg(BaseArg, Opt)); in AddFlagArg()
360 void AddPositionalArg(const Arg *BaseArg, const Option *Opt, in AddPositionalArg() argument
362 append(MakePositionalArg(BaseArg, Opt, Value)); in AddPositionalArg()
369 void AddSeparateArg(const Arg *BaseArg, const Option *Opt, in AddSeparateArg() argument
371 append(MakeSeparateArg(BaseArg, Opt, Value)); in AddSeparateArg()
377 void AddJoinedArg(const Arg *BaseArg, const Option *Opt, in AddJoinedArg() argument
379 append(MakeJoinedArg(BaseArg, Opt, Value)); in AddJoinedArg()
385 Arg *MakeFlagArg(const Arg *BaseArg, const Option *Opt) const;
389 Arg *MakePositionalArg(const Arg *BaseArg, const Option *Opt,
[all …]
DArg.h36 const Option *Opt;
57 Arg(const Option *Opt, unsigned Index, const Arg *BaseArg = 0);
58 Arg(const Option *Opt, unsigned Index,
60 Arg(const Option *Opt, unsigned Index,
64 const Option &getOption() const { return *Opt; } in getOption()
DOptTable.h81 const Info &getInfo(OptSpecifier Opt) const { in getInfo() argument
82 unsigned id = Opt.getID(); in getInfo()
101 const Option *getOption(OptSpecifier Opt) const { in getOption() argument
102 unsigned id = Opt.getID(); in getOption()
/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.h286 template<class Opt>
287 void apply(Opt &O) const { O.setInitialValue(Init); } in apply()
305 template<class Opt>
306 void apply(Opt &O) const { O.setLocation(O, Loc); } in apply()
461 template<class Opt>
462 void apply(Opt &O) const {
711 template <class Opt>
712 void initialize(Opt &O) {
944 template<class Opt>
945 static void opt(const Mod &M, Opt &O) { M.apply(O); }
[all …]
/external/llvm/tools/llvm-ld/
DOptimize.cpp101 const PassInfo *Opt = OptimizationList[i]; in Optimize() local
102 if (Opt->getNormalCtor()) in Optimize()
103 addPass(Passes, Opt->getNormalCtor()()); in Optimize()
105 errs() << "llvm-ld: cannot create pass: " << Opt->getPassName() in Optimize()
/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/llvm/lib/Target/MBlaze/
DMBlazeTargetMachine.h79 virtual bool addInstSelector(PassManagerBase &PM, CodeGenOpt::Level Opt);
80 virtual bool addPreEmitPass(PassManagerBase &PM,CodeGenOpt::Level Opt);
/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.cpp160 std::string Opt = tool.str(); in runPasses() local
167 Args.push_back(Opt.c_str()); in runPasses()
/external/pcre/testdata/
Dtestoutput1012 8 01 Opt
15 15 00 Opt
40 6 04 Opt
44 15 04 Opt
48 23 00 Opt
/external/clang/utils/OptionalTests/
Dlit.cfg11 config.name = 'Clang-Opt-Tests'
/external/llvm/lib/Support/
DCommandLine.cpp580 Option *Opt = PositionalOpts[i]; in ParseCommandLineOptions() local
581 if (RequiresValue(Opt)) in ParseCommandLineOptions()
588 Opt->error("error - this positional option will never be matched, " in ParseCommandLineOptions()
591 } else if (UnboundedFound && !Opt->ArgStr[0]) { in ParseCommandLineOptions()
596 ErrorParsing |= Opt->error("error - option can never match, because " in ParseCommandLineOptions()
601 UnboundedFound |= EatsUnboundedNumberOfValues(Opt); in ParseCommandLineOptions()
/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/Target/ARM/AsmParser/
DARMAsmParser.cpp926 static ARMOperand *CreateMemBarrierOpt(ARM_MB::MemBOpt Opt, SMLoc S) { in CreateMemBarrierOpt() argument
928 Op->MBOpt.Val = Opt; in CreateMemBarrierOpt()
1370 unsigned Opt = StringSwitch<unsigned>(OptStr.slice(0, OptStr.size())) in tryParseMemBarrierOptOperand() local
1385 if (Opt == ~0U) in tryParseMemBarrierOptOperand()
1389 Operands.push_back(ARMOperand::CreateMemBarrierOpt((ARM_MB::MemBOpt)Opt, S)); in tryParseMemBarrierOptOperand()
/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.cpp2062 CodeCompletionBuilder Opt(Result.getAllocator()); in AddFunctionParameterChunks() local
2064 Opt.AddChunk(Chunk(CodeCompletionString::CK_Comma)); in AddFunctionParameterChunks()
2065 AddFunctionParameterChunks(Context, Function, Opt, P, true); in AddFunctionParameterChunks()
2066 Result.AddOptionalChunk(Opt.TakeString()); in AddFunctionParameterChunks()
2155 CodeCompletionBuilder Opt(Result.getAllocator()); in AddTemplateParameterChunks() local
2157 Opt.AddChunk(Chunk(CodeCompletionString::CK_Comma)); in AddTemplateParameterChunks()
2158 AddTemplateParameterChunks(Context, Template, Opt, MaxParameters, in AddTemplateParameterChunks()
2160 Result.AddOptionalChunk(Opt.TakeString()); in AddTemplateParameterChunks()

12