/external/clang/lib/Basic/ |
D | Warnings.cpp | 37 StringRef Opt) { in EmitUnknownDiagWarning() argument 38 StringRef Suggestion = DiagnosticIDs::getNearestOption(Flavor, Opt); in EmitUnknownDiagWarning() 40 << (Flavor == diag::Flavor::WarningOrError ? 0 : 1) << (Prefix.str() += Opt) in EmitUnknownDiagWarning() 90 StringRef Opt = Opts.Warnings[i]; in ProcessWarningOptions() local 94 if (Opt == "format=0") in ProcessWarningOptions() 95 Opt = "no-format"; in ProcessWarningOptions() 100 if (Opt.startswith("no-")) { in ProcessWarningOptions() 102 Opt = Opt.substr(3); in ProcessWarningOptions() 112 if (Opt == "system-headers") { in ProcessWarningOptions() 120 if (Opt == "everything") { in ProcessWarningOptions() [all …]
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/ |
D | nullopt_t.pass.cpp | 25 template <class Opt> 29 static_assert(std::is_nothrow_constructible<Opt, nullopt_t&>::value, ""); in test_constexpr() 30 static_assert(std::is_trivially_destructible<Opt>::value, ""); in test_constexpr() 31 static_assert(std::is_trivially_destructible<typename Opt::value_type>::value, ""); in test_constexpr() 33 constexpr Opt opt(nullopt); in test_constexpr() 37 : public Opt in test_constexpr() 43 template <class Opt> 47 static_assert(std::is_nothrow_constructible<Opt, nullopt_t&>::value, ""); in test() 48 static_assert(!std::is_trivially_destructible<Opt>::value, ""); in test() 49 static_assert(!std::is_trivially_destructible<typename Opt::value_type>::value, ""); in test() [all …]
|
D | default.pass.cpp | 24 template <class Opt> 28 static_assert(std::is_nothrow_default_constructible<Opt>::value, ""); in test_constexpr() 29 static_assert(std::is_trivially_destructible<Opt>::value, ""); in test_constexpr() 30 static_assert(std::is_trivially_destructible<typename Opt::value_type>::value, ""); in test_constexpr() 32 constexpr Opt opt; in test_constexpr() 36 : public Opt in test_constexpr() 42 template <class Opt> 46 static_assert(std::is_nothrow_default_constructible<Opt>::value, ""); in test() 47 static_assert(!std::is_trivially_destructible<Opt>::value, ""); in test() 48 static_assert(!std::is_trivially_destructible<typename Opt::value_type>::value, ""); in test() [all …]
|
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/ |
D | default.pass.cpp | 21 template <class Opt> 25 static_assert(std::is_nothrow_default_constructible<Opt>::value, ""); in test_constexpr() 26 constexpr Opt opt; in test_constexpr() 30 : public Opt in test_constexpr() 37 template <class Opt> 41 static_assert(std::is_nothrow_default_constructible<Opt>::value, ""); in test() 42 Opt opt; in test() 46 : public Opt in test()
|
D | nullopt_t.pass.cpp | 23 template <class Opt> 27 static_assert(noexcept(Opt(nullopt)), ""); in test_constexpr() 28 constexpr Opt opt(nullopt); in test_constexpr() 32 : public Opt in test_constexpr() 38 template <class Opt> 42 static_assert(noexcept(Opt(nullopt)), ""); in test() 43 Opt opt(nullopt); in test() 47 : public Opt in test()
|
/external/llvm/lib/Option/ |
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 | ArgList.cpp | 391 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const { in MakeFlagArg() 393 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeFlagArg() 394 BaseArgs.MakeIndex(Opt.getName()), BaseArg)); in MakeFlagArg() 398 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt, in MakePositionalArg() argument 402 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakePositionalArg() 407 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt, in MakeSeparateArg() argument 409 unsigned Index = BaseArgs.MakeIndex(Opt.getName(), Value); in MakeSeparateArg() 411 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeSeparateArg() 416 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt, in MakeJoinedArg() argument 418 unsigned Index = BaseArgs.MakeIndex((Opt.getName() + Value).str()); in MakeJoinedArg() [all …]
|
D | OptTable.cpp | 85 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier() argument 154 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption() 155 unsigned id = Opt.getID(); in getOption() 224 Option Opt(Start, this); in ParseOneArg() local 226 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseOneArg() 228 if (Opt.hasFlag(FlagsToExclude)) in ParseOneArg() 232 if (Arg *A = Opt.accept(Args, Index, ArgSize)) in ParseOneArg()
|
D | Option.cpp | 88 bool Option::matches(OptSpecifier Opt) const { in matches() 92 return Alias.matches(Opt); in matches() 95 if (getID() == Opt.getID()) in matches() 100 return Group.matches(Opt); in matches()
|
/external/llvm/include/llvm/Option/ |
D | OptSpecifier.h | 29 /*implicit*/ OptSpecifier(const Option *Opt); 35 bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); } 36 bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }
|
D | ArgList.h | 411 void AddFlagArg(const Arg *BaseArg, const Option Opt) { in AddFlagArg() argument 412 append(MakeFlagArg(BaseArg, Opt)); in AddFlagArg() 418 void AddPositionalArg(const Arg *BaseArg, const Option Opt, in AddPositionalArg() argument 420 append(MakePositionalArg(BaseArg, Opt, Value)); in AddPositionalArg() 427 void AddSeparateArg(const Arg *BaseArg, const Option Opt, in AddSeparateArg() argument 429 append(MakeSeparateArg(BaseArg, Opt, Value)); in AddSeparateArg() 435 void AddJoinedArg(const Arg *BaseArg, const Option Opt, in AddJoinedArg() argument 437 append(MakeJoinedArg(BaseArg, Opt, Value)); in AddJoinedArg() 442 Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const; 446 Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt, [all …]
|
D | Arg.h | 37 const Option Opt; 62 Arg(const Option Opt, StringRef Spelling, unsigned Index, 64 Arg(const Option Opt, StringRef Spelling, unsigned Index, 66 Arg(const Option Opt, StringRef Spelling, unsigned Index, 70 const Option &getOption() const { return Opt; } in getOption()
|
D | OptTable.h | 69 const Info &getInfo(OptSpecifier Opt) const { in getInfo() argument 70 unsigned id = Opt.getID(); in getInfo() 88 const Option getOption(OptSpecifier Opt) const;
|
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/ |
D | emplace.pass.cpp | 51 using Opt = std::optional<T>; in test_one_arg() typedef 53 Opt opt; in test_one_arg() 59 Opt opt; in test_one_arg() 65 Opt opt(2); in test_one_arg() 71 Opt opt(2); in test_one_arg() 83 using Opt = std::optional<T>; in test_multi_arg() typedef 85 Opt opt; in test_multi_arg() 91 Opt opt; in test_multi_arg() 97 Opt opt; in test_multi_arg()
|
D | optional_U.pass.cpp | 167 using Opt = std::optional<T>; in test_ambigious_assign() typedef 168 static_assert(!std::is_assignable<Opt&, const OptInt&&>::value, ""); in test_ambigious_assign() 169 static_assert(!std::is_assignable<Opt&, const OptInt&>::value, ""); in test_ambigious_assign() 170 static_assert(!std::is_assignable<Opt&, OptInt&>::value, ""); in test_ambigious_assign() 196 using Opt = std::optional<T>; in test_ambigious_assign() typedef 197 static_assert(std::is_assignable<Opt&, OptInt&&>::value, ""); in test_ambigious_assign() 198 static_assert(!std::is_assignable<Opt&, const OptInt&>::value, ""); in test_ambigious_assign() 199 static_assert(!std::is_assignable<Opt&, OptInt&>::value, ""); in test_ambigious_assign()
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 114 void addLiteralOption(Option &Opt, SubCommand *SC, const char *Name) { in addLiteralOption() argument 115 if (Opt.hasArgStr()) in addLiteralOption() 117 if (!SC->OptionsMap.insert(std::make_pair(Name, &Opt)).second) { in addLiteralOption() 129 addLiteralOption(Opt, Sub, Name); in addLiteralOption() 134 void addLiteralOption(Option &Opt, const char *Name) { in addLiteralOption() argument 135 if (Opt.Subs.empty()) in addLiteralOption() 136 addLiteralOption(Opt, &*TopLevelSubCommand, Name); in addLiteralOption() 138 for (auto SC : Opt.Subs) in addLiteralOption() 139 addLiteralOption(Opt, SC, Name); in addLiteralOption() 205 for (auto Opt = Sub.PositionalOpts.begin(); in removeOption() local [all …]
|
/external/swiftshader/third_party/LLVM/tools/llvm-ld/ |
D | Optimize.cpp | 105 const PassInfo *Opt = OptimizationList[i]; in Optimize() local 106 if (Opt->getNormalCtor()) in Optimize() 107 addPass(Passes, Opt->getNormalCtor()()); in Optimize() 109 errs() << "llvm-ld: cannot create pass: " << Opt->getPassName() in Optimize()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PassNameParser.h | 41 cl::Option *Opt; variable 43 PassNameParser() : Opt(0) {} in PassNameParser() 47 Opt = &O; in initialize() 69 if (ignorablePass(P) || !Opt) return; in passRegistered()
|
D | CommandLine.h | 295 template<class Opt> 296 void apply(Opt &O) const { O.setInitialValue(Init); } in apply() 314 template<class Opt> 315 void apply(Opt &O) const { O.setLocation(O, Loc); } in apply() 470 template<class Opt> 471 void apply(Opt &O) const { 720 template <class Opt> 721 void initialize(Opt &O) { 975 template<class Opt> 976 static void opt(const Mod &M, Opt &O) { M.apply(O); } [all …]
|
/external/llvm/include/llvm/Support/ |
D | CommandLine.h | 376 template <class Opt> void apply(Opt &O) const { O.setInitialValue(Init); } in apply() 391 template <class Opt> void apply(Opt &O) const { O.setLocation(O, Loc); } in apply() 404 template <class Opt> void apply(Opt &O) const { O.setCategory(Category); } in apply() 412 template <class Opt> void apply(Opt &O) const { O.addSubCommand(Sub); } in apply() 589 template <class Opt> void apply(Opt &O) const { 1098 template <class Opt> static void opt(const Mod &M, Opt &O) { M.apply(O); } 1103 template <class Opt> static void opt(const char *Str, Opt &O) { 1108 template <class Opt> static void opt(const char *Str, Opt &O) { 1113 template <class Opt> static void opt(const char *Str, Opt &O) { 1137 template <class Opt, class Mod, class... Mods> [all …]
|
/external/autotest/client/deps/pyxinput/ |
D | pyxinput.py | 20 class Opt(object): class 35 opt = Opt(ctypesgencore.options.default_values) 45 opt = Opt(ctypesgencore.options.default_values)
|
/external/libcxx/test/std/utilities/optional/optional.object/ |
D | types.pass.cpp | 25 template <class Opt, class T> 29 static_assert(std::is_same<typename Opt::value_type, T>::value, ""); in test()
|
/external/libcxx/test/std/experimental/optional/optional.object/ |
D | types.pass.cpp | 25 template <class Opt, class T> 29 static_assert(std::is_same<typename Opt::value_type, T>::value, ""); in test()
|
/external/clang/lib/Frontend/ |
D | TextDiagnosticPrinter.cpp | 82 StringRef Opt = DiagnosticIDs::getWarningOptionForDiag(Info.getID()); in printDiagnosticOptions() local 83 if (!Opt.empty()) { in printDiagnosticOptions() 85 << (Level == DiagnosticsEngine::Remark ? "-R" : "-W") << Opt; in printDiagnosticOptions()
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
D | MBlazeTargetMachine.h | 80 virtual bool addInstSelector(PassManagerBase &PM, CodeGenOpt::Level Opt); 81 virtual bool addPreEmitPass(PassManagerBase &PM,CodeGenOpt::Level Opt);
|