Home
last modified time | relevance | path

Searched refs:Proto1 (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/test/Rewriter/
H A Dinstancetype-test.mm18 @protocol Proto1 protocol
57 …[[Subclass1<Proto1> alloc] methodInProto2]; // expected-warning{{method '-methodInProto2' not foun…
61 Subclass1<Proto1> *sc1proto1 = 0;
69 // Subclass1<Proto1> *sc1proto1_2 = [[[sc1proto1 class] alloc] init];
H A Drewrite-protocol-qualified.mm20 @protocol Proto1, Proto2; protocol
25 unsigned char func(id<Proto1, Proto2> inProxy);
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dinstancetype.m17 @protocol Proto1 protocol
56 typedef Subclass1<Proto1> SC1Proto1;
62 Subclass1<Proto1> *sc1proto1 = 0;
72 Subclass1<Proto1> *sc1proto1_2 = [[[sc1proto1 class] alloc] init];
125 @interface Subclass3 <Proto1, Proto2>
137 @protocol Proto3 <Proto1, Proto2>
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dinstancetype.mm17 @protocol Proto1 protocol
56 typedef Subclass1<Proto1> SC1Proto1;
62 Subclass1<Proto1> *sc1proto1 = 0;
72 Subclass1<Proto1> *sc1proto1_2 = [[[sc1proto1 class] alloc] init];
125 @interface Subclass3 <Proto1, Proto2>
137 @protocol Proto3 <Proto1, Proto2>
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dnon-runtime-protocol.m110 // GNUINHERITANCE-DAG: @[[Proto1:[0-9]]]{{.*}}c"R1\00"
111 // GNUINHERITANCE-DAG: [[P1Name:@.objc_protocol.[0-9]*]]{{.*}}@[[Proto1]]
119 // GNU2INHERITANCE-DAG: @[[Proto1:[0-9]]]{{.*}}c"R1\00"
120 // GNU2INHERITANCE-DAG: _OBJC_PROTOCOL_R1{{.*}}@[[Proto1]]
/llvm-project-15.0.7/clang/lib/AST/
H A DASTStructuralEquivalence.cpp629 const FunctionProtoType *Proto1, in IsEquivalentExceptionSpec() argument
632 auto Spec1 = Proto1->getExceptionSpecType(); in IsEquivalentExceptionSpec()
641 if (Proto1->getNumExceptions() != Proto2->getNumExceptions()) in IsEquivalentExceptionSpec()
643 for (unsigned I = 0, N = Proto1->getNumExceptions(); I != N; ++I) { in IsEquivalentExceptionSpec()
649 if (!IsStructurallyEquivalent(Context, Proto1->getNoexceptExpr(), in IsEquivalentExceptionSpec()
878 const auto *Proto1 = cast<FunctionProtoType>(T1); in IsStructurallyEquivalent() local
881 if (Proto1->getNumParams() != Proto2->getNumParams()) in IsStructurallyEquivalent()
883 for (unsigned I = 0, N = Proto1->getNumParams(); I != N; ++I) { in IsStructurallyEquivalent()
884 if (!IsStructurallyEquivalent(Context, Proto1->getParamType(I), in IsStructurallyEquivalent()
888 if (Proto1->isVariadic() != Proto2->isVariadic()) in IsStructurallyEquivalent()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp4955 const FunctionProtoType *Proto1 = FD1->getType()->getAs<FunctionProtoType>(); in isAtLeastAsSpecializedAs() local
4958 assert(Proto1 && Proto2 && "Function templates must have prototypes"); in isAtLeastAsSpecializedAs()
5009 Args1.insert(Args1.end(), Proto1->param_type_begin(), in isAtLeastAsSpecializedAs()
5010 Proto1->param_type_end()); in isAtLeastAsSpecializedAs()
5036 S, TemplateParams, Proto2->getReturnType(), Proto1->getReturnType(), in isAtLeastAsSpecializedAs()