Home
last modified time | relevance | path

Searched refs:Explicit (Results 1 – 25 of 154) sorted by relevance

1234567

/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
H A Ddefault.verify.cpp24 struct Explicit { struct
25 explicit Explicit() = default;
31 std::tuple<Explicit> test3() { return {}; } // expected-error 1 {{chosen constructor is explicit in… in test3()
34 std::tuple<Explicit, Implicit> test5() { return {}; } // expected-error 1 {{chosen constructor is e… in test5()
35 std::tuple<Implicit, Explicit> test6() { return {}; } // expected-error 1 {{chosen constructor is e… in test6()
36 std::tuple<Explicit, Explicit> test7() { return {}; } // expected-error 1 {{chosen constructor is e… in test7()
39 std::tuple<Implicit, Implicit, Explicit> test9() { return {}; } // expected-error 1 {{chosen constr… in test9()
40 std::tuple<Implicit, Explicit, Implicit> test10() { return {}; } // expected-error 1 {{chosen const… in test10()
41 std::tuple<Implicit, Explicit, Explicit> test11() { return {}; } // expected-error 1 {{chosen const… in test11()
42 std::tuple<Explicit, Implicit, Implicit> test12() { return {}; } // expected-error 1 {{chosen const… in test12()
[all …]
H A DPR31384.pass.cpp23 struct Explicit { struct
24 Explicit() = default;
25 explicit Explicit(int) {} in Explicit() argument
50 std::tuple<Explicit> foo = Derived<int>{42}; ((void)foo); in main()
53 std::tuple<Explicit> bar(std::move(d)); ((void)bar); in main()
74 static_assert(!std::is_convertible<ExplicitDerived<int>, std::tuple<Explicit>>::value, ""); in main()
76 std::tuple<Explicit> bar(std::move(d)); ((void)bar); in main()
H A Dalloc_convert_copy.pass.cpp29 struct Explicit { struct
31 explicit Explicit(int x) : value(x) {} in Explicit() function
93 std::tuple<Explicit> t2{std::allocator_arg, std::allocator<int>{}, t1}; in main()
H A Dconvert_move.pass.cpp24 struct Explicit { struct
26 explicit Explicit(int x) : value(x) {} in Explicit() argument
112 std::tuple<Explicit> t2(std::move(t1)); in main()
H A Dalloc_convert_move.pass.cpp44 struct Explicit { struct
46 explicit Explicit(int x) : value(x) {} in Explicit() argument
106 std::tuple<Explicit> t2{std::allocator_arg, std::allocator<int>{}, std::move(t1)}; in main()
H A Dconvert_copy.pass.cpp24 struct Explicit { struct
26 explicit Explicit(int x) : value(x) {} in Explicit() argument
140 std::tuple<Explicit> t2(t1); in main()
H A Dalloc_UTypes.pass.cpp75 struct Explicit { struct
77 explicit Explicit(int x) : value(x) {} in Explicit() argument
83 std::tuple<Explicit> t{std::allocator_arg, std::allocator<int>{}, 42}; in main()
/llvm-project/libcxx/test/support/
H A Darchetypes.h37 template <class Derived, bool Explicit = false>
66 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
70 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, bool>::type = true>
74 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
78 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, bool>::type = true>
82 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
87 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, bool>::type = true>
141 template <bool Explicit = false>
143 template <bool Dummy = true, typename std::enable_if<Dummy && Explicit, bool>::type = true>
145 template <bool Dummy = true, typename std::enable_if<Dummy && !Explicit, boo in ValueBase()
[all...]
/llvm-project/clang/test/CXX/dcl.decl/dcl.init/
H A Dp14-0x.cpp7 struct Explicit { // expected-note 2 {{candidate}} expected-note {{here}} struct
8 explicit Explicit(int); // expected-note {{not a candidate}}
32 Explicit e1; // expected-note {{here}}
33 Explicit e2 = 42; // expected-error {{no viable conversion}}
/llvm-project/clang/test/SemaOpenACC/
H A Dcompute-construct-num_gangs-clause.cpp14 } Explicit; variable
80 #pragma acc parallel num_gangs(Explicit, NC) in Test()
87 #pragma acc serial num_gangs(Explicit, NC) in Test()
96 #pragma acc parallel num_gangs(Explicit, NC, Ambiguous) in Test()
106 #pragma acc serial num_gangs(Explicit, NC, Ambiguous) in Test()
H A Dcompute-construct-wait-clause.cpp5 } Explicit; variable
23 #pragma acc parallel wait(4, Explicit, 5) in Test()
34 #pragma acc parallel wait(devnum: Explicit: 5) in Test()
39 #pragma acc parallel wait(devnum: Explicit:queues: 5) in Test()
H A Dcompute-construct-async-clause.cpp14 } Explicit; variable
51 #pragma acc kernels async(Explicit) in Test()
H A Dcompute-construct-num_workers-clause.cpp14 } Explicit; variable
49 #pragma acc kernels num_workers(Explicit) in Test()
H A Dcompute-construct-vector_length-clause.cpp14 } Explicit; variable
49 #pragma acc kernels vector_length(Explicit) in Test()
/llvm-project/mlir/include/mlir/Pass/
H A DPassManager.h57 Explicit enumerator
63 OpPassManager(Nesting nesting = Nesting::Explicit);
67 OpPassManager(StringRef name, Nesting nesting = Nesting::Explicit);
68 OpPassManager(OperationName name, Nesting nesting = Nesting::Explicit);
238 Nesting nesting = Nesting::Explicit);
239 PassManager(OperationName operationName, Nesting nesting = Nesting::Explicit);
246 static PassManager on(MLIRContext *ctx, Nesting nesting = Nesting::Explicit) {
/llvm-project/clang/test/CodeGenCXX/
H A Ddebug-info-composite-triviality.cpp6 struct Explicit { struct
7 explicit Explicit();
9 } Explicit; variable
/llvm-project/clang/test/SemaTemplate/
H A Dtemp_arg_nontype_cxx2c.cpp18 struct Explicit{}; struct
50Explicit<Constructor, {L{}}> err; // expected-error {{non-type template argument is not a constant… in test()
52 Explicit<Constructor, {M{}}> ok; in test()
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Ddcl58-cpp.rst16 - Explicit specializations of any standard library function template or class template, if it does …
17 - Explicit specializations of any member function of a standard library class template.
18 - Explicit specializations of any member function template of a standard library class or class tem…
19 - Explicit or partial specialization of any member class template of a standard library class or cl…
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFContext.cpp1003 bool Explicit = DumpType != DIDT_All && !IsDWO; in dump()
1004 bool ExplicitDWO = Explicit && IsDWO; in dump()
1005 auto shouldDump = [&](bool Explicit, const char *Name, unsigned ID, in dump() local
1008 bool Should = (DumpType & Mask) && (Explicit || !Section.empty()); in dump() argument
1016 if (shouldDump(Explicit, ".debug_abbrev", DIDT_ID_DebugAbbrev, in dump()
1042 if (Explicit || getNumCompileUnits()) in dump()
1058 if (Explicit || getNumTypeUnits()) in dump()
1068 if (const auto *Off = shouldDump(Explicit, ".debug_loc", DIDT_ID_DebugLoc, in dump()
1073 shouldDump(Explicit, ".debug_loclists", DIDT_ID_DebugLoclists, in dump()
1106 shouldDump(Explicit, " in dump()
[all...]
/llvm-project/llvm/test/YAMLParser/
H A Dspec-10-11.test5 ? explicit key2 : , # Explicit empty
8 simple key2 : , # Explicit empty
H A Dspec-10-10.test5 ? explicit key2 : , # Explicit empty
8 simple key2 : , # Explicit empty
/llvm-project/clang/test/Modules/Inputs/
H A Dredecl-merge-right.h45 @class Explicit;
82 @import redecl_merge_top.Explicit;
/llvm-project/clang/test/CXX/expr/expr.const/
H A Dp5-0x.cpp27 struct Explicit { struct
28 constexpr Explicit() {} in Explicit() function
/llvm-project/flang/include/flang/Semantics/
H A Dtype.h74 bool isExplicit() const { return category_ == Category::Explicit; } in SetExplicit()
85 enum class Category { Explicit, Star, Colon };
89 Category category_{Category::Explicit};
108 bool isExplicit() const { return category_ == Category::Explicit; } in set_attr()
128 enum class Category { Explicit, Deferred, Assumed }; in kind()
131 Category category_{Category::Explicit};
78 enum class Category { Explicit, Star, Colon }; global() enumerator
116 enum class Category { Explicit, Deferred, Assumed }; global() enumerator
/llvm-project/clang-tools-extra/include-cleaner/lib/
H A DHTMLReport.cpp125 case RefType::Explicit: in refType()
166 return Refs[I].Type == RefType::Explicit; in includeType()
221 if (R.Type == RefType::Explicit && !R.Satisfied && !R.Insert.empty()) in addRef()
304 // We show one ref for each symbol: first by (RefType != Explicit, Sequence) in printSourceLocation()
309 if (!I.second && R.Type == RefType::Explicit && in printSourceLocation()
310 Refs[I.first->second].Type != RefType::Explicit) in printSourceLocation()

1234567