Home
last modified time | relevance | path

Searched refs:E2 (Results 1 – 25 of 180) sorted by relevance

12345678

/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/
H A Dp2.cpp69 struct E2 { struct
70 E2() noexcept(false) = default;
71 E2(const E2&) noexcept(false) = default;
72 E2(E2&&) noexcept(false) = default;
73 E2 &operator=(const E2&) noexcept(false) = default;
74 E2 &operator=(E2&&) noexcept(false) = default;
75 ~E2() noexcept(false) = default;
77 E2 e2;
78 E2 make_e2() noexcept;
79 void take_e2(E2&&) noexcept;
[all …]
/llvm-project-15.0.7/clang/test/CXX/class/class.compare/class.compare.default/
H A Dp3.cpp142 struct E2 : A, C { // expected-note 2{{non-constexpr comparison function would be used to compare b… struct
143 …friend constexpr bool operator==(const E2&, const E2&) = default; // expected-error {{cannot be de…
144 friend constexpr bool operator!=(const E2&, const E2&) = default;
146 …friend constexpr std::strong_ordering operator<=>(const E2&, const E2&) = default; // expected-err…
147 friend constexpr bool operator<(const E2&, const E2&) = default;
148 friend constexpr bool operator<=(const E2&, const E2&) = default;
149 friend constexpr bool operator>(const E2&, const E2&) = default;
150 friend constexpr bool operator>=(const E2&, const E2&) = default;
H A Dp2.cpp129 union E2 { union
130 bool operator==(const E2&) const = default;
131 bool operator!=(const E2&) const = default;
133 bool operator<=>(const E2&) const = default;
134 bool operator<(const E2&) const = default;
135 bool operator<=(const E2&) const = default;
136 bool operator>(const E2&) const = default;
137 bool operator>=(const E2&) const = default;
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dref-init-ambiguous.cpp3 enum E2 { }; enum
6 operator E2&(); // expected-note 3 {{candidate function}}
10 operator E2&(); // expected-note 3 {{candidate function}}
17 …const E2 &e2 = c; // expected-error {{reference initialization of type 'const E2 &' with initializ… in test()
20 void foo(const E2 &);// expected-note{{passing argument to parameter here}}
22 const E2 & re(C c) { in re()
H A Dwarn-msvc-enum-bitfield.cpp5 enum E { E1, E2 }; in test0() enumerator
12 s.e2 = E2; in test0()
18 enum E : signed { E1, E2 }; in test1() enumerator
25 s.e2 = E2; in test1()
31 enum E : unsigned { E1, E2 }; in test3() enumerator
38 s.e2 = E2; in test3()
H A Dmember-name-lookup.cpp21 enum E2 { enumerator2 }; enum
48 D::E2 e2 = D::enumerator2; // okay in test_lookup()
64 E2 e2 = enumerator2; // okay in test_lookup()
72 enum E2 { enumerator2 }; enum
104 D2::E2 e2 = D2::enumerator2; // okay in test_virtual_lookup()
123 E2 e2 = enumerator2; // okay in test_virtual_lookup()
H A Dderived-to-base-ambig.cpp17 class E2 : public D2, public C2, public virtual A2 { }; // expected-warning{{direct base 'C2' is in… class
18 class F2 : public E2, public A2 { }; // expected-warning{{direct base 'A2' is inaccessible due to a…
20 void g(E2* e2, F2* f2) { in g()
29 void overload_okay(E2*);
H A Denum-scoped.cpp8 enum struct E2 { enum
17 static_assert(sizeof(E2) == sizeof(int), "bad size");
18 static_assert(sizeof(E2::Val1) == sizeof(int), "bad size");
20 E1 v3 = E2::Val1; // expected-error{{cannot initialize a variable}}
166 enum E2 *x0b; // OK
276 enum class E2 : T; member
323 typedef E E2; typedef
324 E2 f1() { return E::a; } in f1()
H A Dusing-if-exists.cpp120 struct E2 {}; struct
121 S<E1, E2> a;
132 S<F1, E2> d; // expected-note{{in instantiation of template class}}
141 S2<E1, E2> e; // expected-note{{in instantiation of template class}}
144 S2<F1, E2> h; // expected-note{{in instantiation of template class}}
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DDirectedGraphTest.cpp97 DGTestEdge E1(N1), E2(N2), E3(N3); in TEST() local
142 DGTestEdge E1(N1), E2(N2), E3(N3); in TEST() local
146 DG.connect(N1, N2, E2); in TEST()
161 EXPECT_EQ(E2.getTargetNode(), N2); in TEST()
165 N1.removeEdge(E2); in TEST()
177 N1.addEdge(E2); in TEST()
182 EXPECT_EQ(*EL[0], E2); in TEST()
192 DG.connect(N1, N2, E2); in TEST()
212 DGTestEdge E1(N1), E2(N2), E3(N3); in TEST() local
216 DG.connect(N1, N2, E2); in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseDefaultMemberInitCheck.cpp150 static bool sameValue(const Expr *E1, const Expr *E2) { in sameValue() argument
152 E2 = ignoreUnaryPlus(getInitializer(E2->IgnoreParenImpCasts())); in sameValue()
154 if (isZero(E1) && isZero(E2)) in sameValue()
157 if (E1->getStmtClass() != E2->getStmtClass()) in sameValue()
163 cast<UnaryOperator>(E2)->getSubExpr()); in sameValue()
166 cast<CharacterLiteral>(E2)->getValue(); in sameValue()
169 cast<CXXBoolLiteralExpr>(E2)->getValue(); in sameValue()
172 cast<IntegerLiteral>(E2)->getValue(); in sameValue()
175 cast<FloatingLiteral>(E2)->getValue()); in sameValue()
178 cast<StringLiteral>(E2)->getString(); in sameValue()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp173 return E1->getOp() == E2->getOp(); in IsStmtEquivalent()
199 return E1->getValue() == E2->getValue() && E1->getKind() == E2->getKind(); in IsStmtEquivalent()
212 return E1->size() == E2->size(); in IsStmtEquivalent()
230 return E1->getTrait() == E2->getTrait() && E1->getValue() == E2->getValue(); in IsStmtEquivalent()
234 return E1->isExact() == E2->isExact() && E1->getValue() == E2->getValue(); in IsStmtEquivalent()
262 return E1->getValue() == E2->getValue(); in IsStmtEquivalent()
287 return E1->getBytes() == E2->getBytes(); in IsStmtEquivalent()
303 if (E1->getTrait() != E2->getTrait()) in IsStmtEquivalent()
322 if (E1->getKind() != E2->getKind()) in IsStmtEquivalent()
481 for (; I1 != E1 && I2 != E2; ++I1, ++I2) in IsStructurallyEquivalent()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/VectorCombine/X86/
H A Dextract-cmp-binop.ll8 ; SSE-NEXT: [[E2:%.*]] = extractelement <2 x double> [[A]], i32 1
10 ; SSE-NEXT: [[CMP2:%.*]] = fcmp olt double [[E2]], -8.000000e+00
32 ; SSE-NEXT: [[E2:%.*]] = extractelement <4 x double> [[A]], i64 2
34 ; SSE-NEXT: [[CMP2:%.*]] = fcmp olt double [[E2]], -8.000000e+00
74 ; SSE-NEXT: [[E2:%.*]] = extractelement <8 x i32> [[A]], i32 2
76 ; SSE-NEXT: [[CMP2:%.*]] = icmp eq i32 [[E2]], -8
100 ; CHECK-NEXT: [[E2:%.*]] = extractelement <4 x i32> [[A]], i32 2
102 ; CHECK-NEXT: [[CMP2:%.*]] = icmp ugt i32 [[E2]], -8
119 ; CHECK-NEXT: [[E2:%.*]] = extractelement <4 x i32> [[A]], i32 2
121 ; CHECK-NEXT: [[CMP2:%.*]] = icmp ugt i32 [[E2]], -8
[all …]
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp_arg_enum_printing_more.cpp13 namespace nsp_1 { enum E2 { e2 }; } enum
14 template<nsp_1::E2 v> struct tmpl_2 {};
16 tmpl_2<nsp_1::E2::e2> TMPL_2; // Name must be 'nsp_1::e2'.
/llvm-project-15.0.7/llvm/test/CodeGen/NVPTX/
H A Dvector-call.ll9 ; CHECK-DAG: ld.param.v4.u32 {[[E0:%r[0-9]+]], [[E1:%r[0-9]+]], [[E2:%r[0-9]+]], [[E3:%r[0-9]+]]}, …
11 ; CHECK-DAG: st.param.v4.b32 [param0+0], {[[E0]], [[E1]], [[E2]], [[E3]]};
21 ; CHECK-DAG: ld.param.u32 [[E2:%r[0-9]+]], [foo3_param_0+8];
24 ; CHECK-DAG: st.param.b32 [param0+8], [[E2]];
/llvm-project-15.0.7/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/
H A Dp3.cpp32 enum E2 { two }; enum
37 A operator >= (E1, const E2);
40 E2 b;
/llvm-project-15.0.7/polly/test/ScopInfo/
H A Dcomplex-branch-structure.ll30 i64 %E1.p, i64 %E2.p, i64 %E3.p) {
142 br i1 %D1.cmp, label %E0, label %E2
148 br i1 %D3.cmp, label %E2, label %E4
155 E2:
156 %val.E2 = load float, float* %E
157 store float %val.E2, float* %E
158 %E2.cmp = icmp eq i64 %E2.p, 0
159 br i1 %E2.cmp, label %E1, label %E3
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dcond-subclass.td8 class E2<int dummy> : E<dummy> {}
10 class EX<int cc, E1 b, E2 c> {
15 def E2d : E2<0>;
/llvm-project-15.0.7/clang/test/CXX/special/class.copy/
H A Dp23-cxx11.cpp146 struct E2 : AmbiguousMoveAssign { // expected-note {{base class 'AmbiguousMoveAssign' has multiple … struct
147 E2 &operator=(E2 &&) = default; // expected-note {{here}}
158 template struct MoveAssign<E2>; // expected-note {{here}}
/llvm-project-15.0.7/clang/test/CXX/module/module.interface/
H A Dp7.cpp36 enum E2 { e2 }; enum
37 export using E2U = E2;
60 …auto c = E2::e2; // expected-error {{declaration of 'E2' must be imported from modul… in test2()
/llvm-project-15.0.7/libcxx/test/std/containers/container.node/
H A Dnode_handle.pass.cpp19 template <class K, class T, class C1, class C2, class H1, class H2, class E1, class E2, class A_set…
27 …map<K, T, H1, E1, A_map>::node_type, typename std::unordered_map<K, T, H2, E2, A_map>::node_type> …
28 …, T, H1, E1, A_map>::node_type, typename std::unordered_multimap<K, T, H2, E2, A_map>::node_type> …
29 …ed_set<K, H1, E1, A_set>::node_type, typename std::unordered_set<K, H2, E2, A_set>::node_type> …
30 …et<K, H1, E1, A_set>::node_type, typename std::unordered_multiset<K, H2, E2, A_set>::node_type>;
/llvm-project-15.0.7/llvm/unittests/Passes/
H A DPassBuilderBindingsTest.cpp75 LLVMErrorRef E2 = LLVMRunPasses(Module, "does-not-exist-pass", TM, Options); in TEST_F() local
77 ASSERT_TRUE(E2); in TEST_F()
79 LLVMConsumeError(E2); in TEST_F()
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp7-cxx20.cpp58 enum E2 { e2 }; enum
69 One::E2 c = e2;
107 enum class E2 { e2 }; enum
120 using TPL<float>::IN::E2::e2;
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowAnalysis.h82 const TypeErasedLattice &E2) final { in joinTypeErased() argument
84 const Lattice &L2 = llvm::any_cast<const Lattice &>(E2.Value); in joinTypeErased()
89 const TypeErasedLattice &E2) final { in isEqualTypeErased() argument
91 const Lattice &L2 = llvm::any_cast<const Lattice &>(E2.Value); in isEqualTypeErased()
/llvm-project-15.0.7/clang/test/Modules/
H A Dmacro-hiding.cpp96 #ifdef E2
100 #if defined(A1) || defined(B2) || defined(C1) || defined(D1) || defined(E1) || defined(E2)

12345678