Searched refs:C1 (Results 1 - 25 of 119) sorted by relevance

12345

/external/clang/test/CXX/temp/temp.decls/temp.class.spec/
H A Dp9.cpp4 template<char C1, char C2>
9 template<int C1>
10 struct X<C1, C1> {
21 template<unsigned char C1, unsigned char C3>
22 struct int_values<C1, 12, C3> {
/external/clang/test/SemaTemplate/
H A Ddependent-class-member-operator.cpp4 template<class T> struct C1 { void operator()(T); }; struct
8 foo(&C1<int>::operator());
9 foo(&C1<int>::operator+); // expected-error {{no member named 'operator+' in 'C1<int>'}}
H A Dclass-template-id-2.cpp12 class C1 : public N::A<int> { }; class in inherits:N::A
/external/clang/test/SemaCXX/
H A Dambiguous-builtin-unary-operator.cpp27 struct C1 : B1, A1 { }; struct in inherits:B1,A1
29 void test(C1 c) {
H A Dout-of-line-def-mismatch.cpp7 class C1 {}; class in namespace:N2::N1
11 void func(C1&, unsigned, const S1*); // expected-note {{type of 3rd parameter of member declaration does not match definition ('const N2::S1 *' vs 'const N2::N1::S1 *')}}
21 void N2::N1::S2::func(C1&, unsigned, const S1*) {} // expected-error {{out-of-line definition of 'func' does not match any declaration in 'N2::N1::S2'}}
H A Dbuiltin-ptrtomember-overload-1.cpp33 struct C1 : B1 { struct in inherits:B1
37 void foo1(C1 c1, int A::* pmf) {
42 void foo1(C1 c1, int E::* pmf) {
44 // expected-note {{because of ambiguity in conversion of 'C1' to 'E *'}} \
H A Dstatic-cast.cpp4 struct C1 : public virtual B {}; // Single virtual base. struct in inherits:B
6 struct D : public C1, public C2 {}; // Diamond
8 struct F : public C1 {}; // Single path to B with virtual.
45 (void)static_cast<const B*>((C1*)0);
46 (void)static_cast<B&>(*((C1*)0));
83 (void)static_cast<C1*>((A*)0); // expected-error {{cannot cast 'A *' to 'C1 *' via virtual base 'B'}}
84 (void)static_cast<C1&>(*((A*)0)); // expected-error {{cannot cast 'A' to 'C1 &' via virtual base 'B'}}
H A Dvtable-instantiation.cc4 template<class T1> struct C1 { struct in namespace:PR8640
12 new C1<T2>(); // expected-note {{in instantiation of member function}}
H A Dnamespace-alias.cpp88 class C1;
91 class C1;
93 C1 *pc1 = 0;
H A Dcstyle-cast.cpp46 struct C1 : public virtual B {}; // Single virtual base. struct in inherits:B
48 struct D : public C1, public C2 {}; // Diamond
50 struct F : public C1 {}; // Single path to B with virtual.
87 (void)(const B*)((C1*)0);
88 (void)(B&)(*((C1*)0));
125 (void)(C1*)((A*)0); // expected-error {{cannot cast 'A *' to 'C1 *' via virtual base 'B'}}
126 (void)(C1&)(*((A*)0)); // expected-error {{cannot cast 'A' to 'C1 &' via virtual base 'B'}}
H A Dalias-template.cpp74 class C1 { class in namespace:ClassNameRedecl
76 template<typename U> using C1 = C1; // expected-error {{name defined in alias declaration must be an identifier}}
79 template<typename U> using C0 = C1; // ok
131 class C1 {
135 C1::U<int> w; // ok
/external/clang/test/CodeGenCXX/
H A Dvtable-layout-extreme.cpp10 class C1 class in namespace:Test1
17 , virtual public C1
23 , virtual public C1
42 , public C1
52 , public C1
71 , public C1
111 // CHECK-NEXT: -- (Test1::C1, 64) vtable address --
122 // CHECK-NEXT: -- (Test1::C1, 104) vtable address --
132 // CHECK-NEXT: -- (Test1::C1, 152) vtable address --
164 // CHECK-NEXT: -- (Test1::C1, 22
[all...]
H A Dvtt-layout.cpp33 class C1 : public virtual V1 { int i; }; class in namespace:Test3
37 class D : public C1, public C2, public C3 { int i; };
52 class C1 : public virtual V1 { int i; }; class in namespace:Test4
56 class D : public C1, public C2, public C3 { int i; };
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Ddeduction.cpp32 template<int C1, char C3>
33 struct char_values<C1, 12, C3> {
43 template<unsigned char C1, unsigned char C3>
44 struct int_values<C1, 12, C3> {
/external/clang/test/CXX/temp/temp.param/
H A Dp12.cpp37 class C1 {}; class
39 C1<> c1; // expected-note{{while checking a default template argument}}
/external/clang/test/FixIt/
H A Dfixit.cpp10 struct C1 { struct
14 struct C2 : virtual public virtual C1 { }; // expected-error{{duplicate}}
16 virtual void C1::f() { } // expected-error{{'virtual' can only be specified inside the class definition}}
18 static void C1::g() { } // expected-error{{'static' can only be specified inside the class definition}}
/external/v8/test/mjsunit/bugs/
H A D618.js29 function C1() { class
32 var c1 = new C1();
38 C1.prototype = { set x(value) { this.y = 23; } };
39 var c1 = new C1();
/external/v8/test/mjsunit/
H A Dsetter-on-constructor-prototype.js31 function C1() {
34 C1.prototype = { set x(value) { this.y = 23; } };
36 %ToFastProperties(C1.prototype);
40 var c1 = new C1();
33 C1.prototype = { set x(value) { this.y = 23; } }; class
/external/bluetooth/bluez/sbc/
H A Dsbc_tables.h380 #define C1 1.3056875580 macro
386 F(5.36548976E-04 * C1), F(2.73370904E-03 * C1),
390 F(2.04385087E-02 * C1), F(3.21939290E-02 * C1),
394 F(1.94987841E-01 * C1), F(2.81828203E-01 * C1),
398 -F(7.76463494E-02 * C1), F(6.13245186E-03 * C1),
402 -F(3.06012286E-03 * C1),
418 #undef C1 macro
425 #define C1 macro
463 #undef C1 macro
470 #define C1 macro
556 #undef C1 macro
567 #define C1 macro
653 #undef C1 macro
[all...]
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/
H A Dp2-0x.cpp89 class C1 { class in namespace:ClassNameRedecl
91 using C1 = C1; // expected-error {{name defined in alias declaration must be an identifier}}
94 using C0 = C1; // ok
150 class C1 {
154 C1::U w; // ok
/external/llvm/include/llvm/
H A DConstants.h629 static Constant *getAdd(Constant *C1, Constant *C2,
631 static Constant *getFAdd(Constant *C1, Constant *C2);
632 static Constant *getSub(Constant *C1, Constant *C2,
634 static Constant *getFSub(Constant *C1, Constant *C2);
635 static Constant *getMul(Constant *C1, Constant *C2,
637 static Constant *getFMul(Constant *C1, Constant *C2);
638 static Constant *getUDiv(Constant *C1, Constant *C2, bool isExact = false);
639 static Constant *getSDiv(Constant *C1, Constant *C2, bool isExact = false);
640 static Constant *getFDiv(Constant *C1, Constant *C2);
641 static Constant *getURem(Constant *C1, Constan
666 getNSWAdd(Constant *C1, Constant *C2) argument
669 getNUWAdd(Constant *C1, Constant *C2) argument
672 getNSWSub(Constant *C1, Constant *C2) argument
675 getNUWSub(Constant *C1, Constant *C2) argument
678 getNSWMul(Constant *C1, Constant *C2) argument
681 getNUWMul(Constant *C1, Constant *C2) argument
684 getNSWShl(Constant *C1, Constant *C2) argument
687 getNUWShl(Constant *C1, Constant *C2) argument
690 getExactSDiv(Constant *C1, Constant *C2) argument
693 getExactUDiv(Constant *C1, Constant *C2) argument
696 getExactAShr(Constant *C1, Constant *C2) argument
699 getExactLShr(Constant *C1, Constant *C2) argument
[all...]
/external/llvm/lib/VMCore/
H A DConstantFold.cpp722 Constant *C1 = CP1 ? CP1->getOperand(i) : Constant::getNullValue(EltTy); local
724 Res[i] = c->getZExtValue() ? C1 : C2;
1002 Constant *C1, Constant *C2) {
1004 if (C1->getType()->isPPC_FP128Ty())
1008 if (isa<UndefValue>(C1) || isa<UndefValue>(C2)) {
1011 if (isa<UndefValue>(C1) && isa<UndefValue>(C2))
1014 return Constant::getNullValue(C1->getType());
1018 return UndefValue::get(C1->getType());
1020 if (isa<UndefValue>(C1) && isa<UndefValue>(C2)) // undef & undef -> undef
1021 return C1;
1001 ConstantFoldBinaryInstruction(unsigned Opcode, Constant *C1, Constant *C2) argument
1278 Constant *C1 = 0; local
1489 IdxCompare(Constant *C1, Constant *C2, Type *ElTy) argument
1836 ConstantFoldCompareInstruction(unsigned short pred, Constant *C1, Constant *C2) argument
2226 Constant *C1 = ConstantExpr::getSExtOrBitCast(Idx0, Int64Ty); local
[all...]
H A DConstants.cpp1441 Constant *ConstantExpr::get(unsigned Opcode, Constant *C1, Constant *C2, argument
1447 assert(C1->getType() == C2->getType() &&
1455 assert(C1->getType() == C2->getType() && "Op types should be identical!");
1456 assert(C1->getType()->isIntOrIntVectorTy() &&
1462 assert(C1->getType() == C2->getType() && "Op types should be identical!");
1463 assert(C1->getType()->isFPOrFPVectorTy() &&
1469 assert(C1->getType() == C2->getType() && "Op types should be identical!");
1470 assert(C1->getType()->isIntOrIntVectorTy() &&
1474 assert(C1->getType() == C2->getType() && "Op types should be identical!");
1475 assert(C1
1561 getCompare(unsigned short Predicate, Constant *C1, Constant *C2) argument
1780 getAdd(Constant *C1, Constant *C2, bool HasNUW, bool HasNSW) argument
1787 getFAdd(Constant *C1, Constant *C2) argument
1791 getSub(Constant *C1, Constant *C2, bool HasNUW, bool HasNSW) argument
1798 getFSub(Constant *C1, Constant *C2) argument
1802 getMul(Constant *C1, Constant *C2, bool HasNUW, bool HasNSW) argument
1809 getFMul(Constant *C1, Constant *C2) argument
1813 getUDiv(Constant *C1, Constant *C2, bool isExact) argument
1818 getSDiv(Constant *C1, Constant *C2, bool isExact) argument
1823 getFDiv(Constant *C1, Constant *C2) argument
1827 getURem(Constant *C1, Constant *C2) argument
1831 getSRem(Constant *C1, Constant *C2) argument
1835 getFRem(Constant *C1, Constant *C2) argument
1839 getAnd(Constant *C1, Constant *C2) argument
1843 getOr(Constant *C1, Constant *C2) argument
1847 getXor(Constant *C1, Constant *C2) argument
1851 getShl(Constant *C1, Constant *C2, bool HasNUW, bool HasNSW) argument
1858 getLShr(Constant *C1, Constant *C2, bool isExact) argument
1863 getAShr(Constant *C1, Constant *C2, bool isExact) argument
2116 Constant *C1 = getOperand(0); local
2124 Constant *C1 = getOperand(0); local
2130 Constant *C1 = getOperand(0); local
2138 Constant *C1 = getOperand(0); local
2146 Constant *C1 = getOperand(0); local
2157 Constant *C1 = getOperand(0); local
[all...]
/external/clang/test/CXX/class/class.mfct/class.mfct.non-static/
H A Dp3.cpp44 struct C1 : A { }; struct in namespace:test1
52 C1::foo(Opaque1()); // expected-error {{call to non-static member function without an object argument}}
/external/clang/test/Sema/
H A Dwarn-unreachable.c102 enum Cases { C1, C2, C3 }; enumerator in enum:Cases
105 case C1:

Completed in 334 milliseconds

12345