/third_party/typescript/tests/baselines/reference/ |
D | tsxSpreadAttributesResolution9.types | 13 class Opt extends React.Component<OptionProp, {}> { 14 >Opt : Opt 43 let p = <Opt />; 45 ><Opt /> : JSX.Element 46 >Opt : typeof Opt 48 let y = <Opt {...obj} />; 50 ><Opt {...obj} /> : JSX.Element 51 >Opt : typeof Opt 54 let y1 = <Opt {...obj1} />; 56 ><Opt {...obj1} /> : JSX.Element [all …]
|
D | tsxSpreadAttributesResolution10.types | 10 class Opt extends React.Component<OptionProp, {}> { 11 >Opt : Opt 40 let y = <Opt {...obj} x={3}/>; 42 ><Opt {...obj} x={3}/> : JSX.Element 43 >Opt : typeof Opt 48 let y1 = <Opt {...obj1} x="Hi"/>; 50 ><Opt {...obj1} x="Hi"/> : JSX.Element 51 >Opt : typeof Opt 55 let y2 = <Opt {...obj1} x={3}/>; 57 ><Opt {...obj1} x={3}/> : JSX.Element [all …]
|
D | tsxSpreadAttributesResolution9.js | 9 class Opt extends React.Component<OptionProp, {}> { 21 let p = <Opt />; 22 let y = <Opt {...obj} />; 23 let y1 = <Opt {...obj1} />; 24 let y2 = <Opt {...obj1} y/>; 25 let y3 = <Opt x={2} />; 46 var Opt = /** @class */ (function (_super) { class 47 __extends(Opt, _super); 48 function Opt() { class in Opt 51 Opt.prototype.render = function () { [all …]
|
D | tsxSpreadAttributesResolution10.js | 8 class Opt extends React.Component<OptionProp, {}> { 20 let y = <Opt {...obj} x={3}/>; 21 let y1 = <Opt {...obj1} x="Hi"/>; 22 let y2 = <Opt {...obj1} x={3}/>; 23 let y3 = <Opt x />; 45 var Opt = /** @class */ (function (_super) { class 46 __extends(Opt, _super); 47 function Opt() { class in Opt 50 Opt.prototype.render = function () { 53 return Opt; [all …]
|
D | tsxSpreadAttributesResolution9.symbols | 15 class Opt extends React.Component<OptionProp, {}> { 16 >Opt : Symbol(Opt, Decl(file.tsx, 5, 1)) 23 >render : Symbol(Opt.render, Decl(file.tsx, 7, 51)) 44 let p = <Opt />; 46 >Opt : Symbol(Opt, Decl(file.tsx, 5, 1)) 48 let y = <Opt {...obj} />; 50 >Opt : Symbol(Opt, Decl(file.tsx, 5, 1)) 53 let y1 = <Opt {...obj1} />; 55 >Opt : Symbol(Opt, Decl(file.tsx, 5, 1)) 58 let y2 = <Opt {...obj1} y/>; [all …]
|
D | tsxSpreadAttributesResolution10.symbols | 12 class Opt extends React.Component<OptionProp, {}> { 13 >Opt : Symbol(Opt, Decl(file.tsx, 4, 1)) 20 >render : Symbol(Opt.render, Decl(file.tsx, 6, 51)) 41 let y = <Opt {...obj} x={3}/>; 43 >Opt : Symbol(Opt, Decl(file.tsx, 4, 1)) 47 let y1 = <Opt {...obj1} x="Hi"/>; 49 >Opt : Symbol(Opt, Decl(file.tsx, 4, 1)) 53 let y2 = <Opt {...obj1} x={3}/>; 55 >Opt : Symbol(Opt, Decl(file.tsx, 4, 1)) 59 let y3 = <Opt x />; [all …]
|
D | tsxSpreadAttributesResolution10.errors.txt | 14 class Opt extends React.Component<OptionProp, {}> { 26 let y = <Opt {...obj} x={3}/>; 29 …h is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Opt> & OptionProp & { c… 30 let y1 = <Opt {...obj1} x="Hi"/>; 33 …h is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Opt> & OptionProp & { c… 34 let y2 = <Opt {...obj1} x={3}/>; 37 …h is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Opt> & OptionProp & { c… 38 let y3 = <Opt x />; 41 …h is declared here on type 'IntrinsicAttributes & IntrinsicClassAttributes<Opt> & OptionProp & { c…
|
D | namedTupleMembersErrors.types | 20 export type Opt = [element: string?]; // question mark on element disallowed 21 >Opt : Opt
|
D | namedTupleMembersErrors.symbols | 20 export type Opt = [element: string?]; // question mark on element disallowed 21 >Opt : Symbol(Opt, Decl(namedTupleMembersErrors.ts, 7, 38))
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | FuzzerCLI.cpp | 47 for (StringRef Opt : Opts) { in handleExecNameEncodedBEOpts() local 48 if (Opt.equals("gisel")) { in handleExecNameEncodedBEOpts() 52 } else if (Opt.startswith("O")) { in handleExecNameEncodedBEOpts() 53 Args.push_back("-" + Opt.str()); in handleExecNameEncodedBEOpts() 54 } else if (Triple(Opt).getArch()) { in handleExecNameEncodedBEOpts() 55 Args.push_back("-mtriple=" + Opt.str()); in handleExecNameEncodedBEOpts() 57 errs() << ExecName << ": Unknown option: " << Opt << ".\n"; in handleExecNameEncodedBEOpts() 84 for (StringRef Opt : Opts) { in handleExecNameEncodedOptimizerOpts() local 85 if (Opt == "instcombine") { in handleExecNameEncodedOptimizerOpts() 87 } else if (Opt == "earlycse") { in handleExecNameEncodedOptimizerOpts() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/ |
D | ArgList.cpp | 242 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const { in MakeFlagArg() 244 std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeFlagArg() 245 BaseArgs.MakeIndex(Opt.getName()), BaseArg)); in MakeFlagArg() 249 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt, in MakePositionalArg() argument 253 std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakePositionalArg() 258 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt, in MakeSeparateArg() argument 260 unsigned Index = BaseArgs.MakeIndex(Opt.getName(), Value); in MakeSeparateArg() 262 std::make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeSeparateArg() 267 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt, in MakeJoinedArg() argument 269 unsigned Index = BaseArgs.MakeIndex((Opt.getName() + Value).str()); in MakeJoinedArg() [all …]
|
D | Arg.cpp | 21 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg) in Arg() argument 22 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg() 25 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() argument 27 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg() 32 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() argument 34 : Opt(Opt), BaseArg(BaseArg), Spelling(S), Index(Index), Claimed(false), in Arg() 51 Opt.print(O); in print()
|
D | OptTable.cpp | 95 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier() argument 161 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption() 162 unsigned id = Opt.getID(); in getOption() 368 Option Opt(Start, this); in ParseOneArg() local 370 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseOneArg() 372 if (Opt.hasFlag(FlagsToExclude)) in ParseOneArg() 376 if (Arg *A = Opt.accept(Args, Index, ArgSize)) in ParseOneArg()
|
/third_party/typescript/tests/cases/conformance/jsx/ |
D | tsxSpreadAttributesResolution9.tsx | 14 class Opt extends React.Component<OptionProp, {}> { 26 let p = <Opt />; 27 let y = <Opt {...obj} />; 28 let y1 = <Opt {...obj1} />; 29 let y2 = <Opt {...obj1} y/>; 30 let y3 = <Opt x={2} />;
|
D | tsxSpreadAttributesResolution10.tsx | 13 class Opt extends React.Component<OptionProp, {}> { 25 let y = <Opt {...obj} x={3}/>; 26 let y1 = <Opt {...obj1} x="Hi"/>; 27 let y2 = <Opt {...obj1} x={3}/>; 28 let y3 = <Opt x />;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Option/ |
D | OptSpecifier.h | 25 /*implicit*/ OptSpecifier(const Option *Opt); 31 bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); } 32 bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }
|
D | Arg.h | 37 const Option Opt; 67 Arg(const Option Opt, StringRef Spelling, unsigned Index, 69 Arg(const Option Opt, StringRef Spelling, unsigned Index, 71 Arg(const Option Opt, StringRef Spelling, unsigned Index, 77 const Option &getOption() const { return Opt; } in getOption()
|
D | ArgList.h | 469 void AddFlagArg(const Arg *BaseArg, const Option Opt) { in AddFlagArg() argument 470 append(MakeFlagArg(BaseArg, Opt)); in AddFlagArg() 476 void AddPositionalArg(const Arg *BaseArg, const Option Opt, in AddPositionalArg() argument 478 append(MakePositionalArg(BaseArg, Opt, Value)); in AddPositionalArg() 484 void AddSeparateArg(const Arg *BaseArg, const Option Opt, in AddSeparateArg() argument 486 append(MakeSeparateArg(BaseArg, Opt, Value)); in AddSeparateArg() 491 void AddJoinedArg(const Arg *BaseArg, const Option Opt, in AddJoinedArg() argument 493 append(MakeJoinedArg(BaseArg, Opt, Value)); in AddJoinedArg() 497 Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const; 501 Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt, [all …]
|
D | OptTable.h | 76 const Info &getInfo(OptSpecifier Opt) const { in getInfo() argument 77 unsigned id = Opt.getID(); in getInfo() 95 const Option getOption(OptSpecifier Opt) const;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | CommandLine.cpp | 128 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption() argument 129 if (Opt.hasArgStr()) in addLiteralOption() 131 if (!SC->OptionsMap.insert(std::make_pair(Name, &Opt)).second) { in addLiteralOption() 143 addLiteralOption(Opt, Sub, Name); in addLiteralOption() 148 void addLiteralOption(Option &Opt, StringRef Name) { in addLiteralOption() argument 149 if (Opt.Subs.empty()) in addLiteralOption() 150 addLiteralOption(Opt, &*TopLevelSubCommand, Name); in addLiteralOption() 152 for (auto SC : Opt.Subs) in addLiteralOption() 153 addLiteralOption(Opt, SC, Name); in addLiteralOption() 219 for (auto Opt = Sub.PositionalOpts.begin(); in removeOption() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | CommandLine.cpp | 178 void addLiteralOption(Option &Opt, SubCommand *SC, StringRef Name) { in addLiteralOption() argument 179 if (Opt.hasArgStr()) in addLiteralOption() 181 if (!SC->OptionsMap.insert(std::make_pair(Name, &Opt)).second) { in addLiteralOption() 193 addLiteralOption(Opt, Sub, Name); in addLiteralOption() 198 void addLiteralOption(Option &Opt, StringRef Name) { in addLiteralOption() argument 199 if (Opt.Subs.empty()) in addLiteralOption() 200 addLiteralOption(Opt, &*TopLevelSubCommand, Name); in addLiteralOption() 202 for (auto SC : Opt.Subs) in addLiteralOption() 203 addLiteralOption(Opt, SC, Name); in addLiteralOption() 283 for (auto Opt = Sub.PositionalOpts.begin(); in removeOption() local [all …]
|
D | AArch64TargetParser.cpp | 237 StringRef Opt = Opts[I].trim(); in parseBranchProtection() local 238 if (Opt == "bti") { in parseBranchProtection() 242 if (Opt == "pac-ret") { in parseBranchProtection() 255 if (Opt == "") in parseBranchProtection() 258 Err = Opt; in parseBranchProtection()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | CommandLine.h | 392 template <class Opt> void apply(Opt &O) const { O.setInitialValue(Init); } in apply() 408 template <class Opt> void apply(Opt &O) const { O.setLocation(O, Loc); } in apply() 422 template <class Opt> void apply(Opt &O) const { O.setCategory(Category); } in apply() 431 template <class Opt> void apply(Opt &O) const { O.addSubCommand(Sub); } in apply() 606 template <class Opt> void apply(Opt &O) const { 1112 template <class Opt> static void opt(const Mod &M, Opt &O) { M.apply(O); } 1117 template <class Opt> static void opt(StringRef Str, Opt &O) { 1122 template <class Opt> static void opt(StringRef Str, Opt &O) { 1127 template <class Opt> static void opt(StringRef Str, Opt &O) { 1155 template <class Opt, class Mod, class... Mods> [all …]
|
/third_party/boost/libs/optional/test/ |
D | optional_test_io.cpp | 25 template<class Opt> 26 void test2( Opt o, Opt buff ) in test2()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | CommandLine.h | 432 template <class Opt> void apply(Opt &O) const { O.setInitialValue(Init); } in apply() 448 template <class Opt> void apply(Opt &O) const { O.setLocation(O, Loc); } in apply() 462 template <class Opt> void apply(Opt &O) const { O.addCategory(Category); } in apply() 471 template <class Opt> void apply(Opt &O) const { O.addSubCommand(Sub); } in apply() 481 template <typename Opt> void apply(Opt &O) const { O.setCallback(CB); } in apply() 683 template <class Opt> void apply(Opt &O) const { 1253 template <class Opt> static void opt(const Mod &M, Opt &O) { M.apply(O); } 1258 template <class Opt> static void opt(StringRef Str, Opt &O) { 1263 template <class Opt> static void opt(StringRef Str, Opt &O) { 1268 template <class Opt> static void opt(StringRef Str, Opt &O) { [all …]
|