Home
last modified time | relevance | path

Searched refs:Proto (Results 1 – 25 of 65) sorted by relevance

123

/external/clang/lib/AST/
DDeclPrinter.cpp411 std::string Proto = D->getNameInfo().getAsString(); in VisitFunctionDecl() local
415 Proto = '(' + Proto + ')'; in VisitFunctionDecl()
425 Proto += "("; in VisitFunctionDecl()
427 llvm::raw_string_ostream POut(Proto); in VisitFunctionDecl()
441 Proto += ", "; in VisitFunctionDecl()
442 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
446 Proto += ")"; in VisitFunctionDecl()
450 Proto += " const"; in VisitFunctionDecl()
452 Proto += " volatile"; in VisitFunctionDecl()
454 Proto += " restrict"; in VisitFunctionDecl()
[all …]
DLambdaMangleContext.cpp22 const FunctionProtoType *Proto in getManglingNumber() local
28 ArrayRef<QualType>(Proto->arg_type_begin(), in getManglingNumber()
29 Proto->getNumArgs()), in getManglingNumber()
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp130 PrototypeAST *Proto; member in FunctionAST
134 : Proto(proto), Body(body) {} in FunctionAST()
308 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
309 if (Proto == 0) return 0; in ParseDefinition()
312 return new FunctionAST(Proto, E); in ParseDefinition()
320 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
321 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
/external/clang/test/Index/
Dc-index-getCursor-test.m23 @protocol Proto protocol
27 @protocol SubP <Proto>
48 id <Proto> d;
83 // CHECK: [23:1 - 24:1] ObjCProtocolDecl=Proto:23:11 (Definition)
85 // CHECK: [24:11 - 25:5] ObjCProtocolDecl=Proto:23:11 (Definition)
88 // CHECK: [27:17 - 27:22] ObjCProtocolRef=Proto:23:1
137 // CHECK: [48:6 - 48:11] ObjCProtocolRef=Proto:23:1
Dannotate-tokens.m85 @protocol Proto @end protocol
88 (void)@protocol(Proto);
435 // CHECK: Punctuation: "@" [85:1 - 85:2] ObjCProtocolDecl=Proto:85:11 (Definition)
436 // CHECK: Keyword: "protocol" [85:2 - 85:10] ObjCProtocolDecl=Proto:85:11 (Definition)
437 // CHECK: Identifier: "Proto" [85:11 - 85:16] ObjCProtocolDecl=Proto:85:11 (Definition)
438 // CHECK: Punctuation: "@" [85:17 - 85:18] ObjCProtocolDecl=Proto:85:11 (Definition)
439 // CHECK: Keyword: "end" [85:18 - 85:21] ObjCProtocolDecl=Proto:85:11 (Definition)
448 // CHECK: Punctuation: "@" [88:9 - 88:10] ObjCProtocolExpr=Proto:85:1
449 // CHECK: Keyword: "protocol" [88:10 - 88:18] ObjCProtocolExpr=Proto:85:1
450 // CHECK: Punctuation: "(" [88:18 - 88:19] ObjCProtocolExpr=Proto:85:1
[all …]
Dc-index-api-loadTU-test.m25 @protocol Proto protocol
29 @protocol SubP <Proto>
50 id <Proto> d;
96 // CHECK: c-index-api-loadTU-test.m:25:11: ObjCProtocolDecl=Proto:25:11 (Definition) Extent=[25:1 -…
99 // CHECK: c-index-api-loadTU-test.m:29:17: ObjCProtocolRef=Proto:25:11 Extent=[29:17 - 29:22]
132 // CHECK: c-index-api-loadTU-test.m:50:6: ObjCProtocolRef=Proto:25:11 Extent=[50:6 - 50:11]
/external/clang/utils/TableGen/
DNeonEmitter.cpp1374 std::string Proto = R->getValueAsString("Prototype"); in emitIntrinsic() local
1399 OS << GenIntrinsic(name, Proto, TypeVec[ti], TypeVec[srcti], in emitIntrinsic()
1403 OS << GenIntrinsic(name, Proto, TypeVec[ti], TypeVec[ti], in emitIntrinsic()
1449 std::string Proto = R->getValueAsString("Prototype"); in runHeader() local
1453 if (Proto.find('a') != std::string::npos) in runHeader()
1470 std::string bd = GenBuiltinDef(name, Proto, TypeVec[ti], ck); in runHeader()
1488 std::string Proto = R->getValueAsString("Prototype"); in runHeader() local
1494 if (Proto.find('a') != std::string::npos) in runHeader()
1499 if (Proto.find('s') != std::string::npos) in runHeader()
1517 qmask |= 1ULL << GetNeonEnum(Proto, TypeVec[ti]); in runHeader()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp141 PrototypeAST *Proto; member in FunctionAST
145 : Proto(proto), Body(body) {} in FunctionAST()
320 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
321 if (Proto == 0) return 0; in ParseDefinition()
324 return new FunctionAST(Proto, E); in ParseDefinition()
332 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
333 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
446 Function *TheFunction = Proto->Codegen(); in Codegen()
/external/clang/test/CodeGenObjC/
Dinstance-method-metadata.m12 @protocol Proto protocol
18 @interface Foo : NSObject <Proto> { int x; } @end
20 @interface Bar : NSObject <Proto> @end
Dproperty-category-impl.m7 @protocol Proto protocol
11 @interface Foo (Category) <Proto> @end
Dsuper-message-fragileabi.m5 @protocol Proto protocol
10 @interface Table <Proto>
Dencode-test-2.m11 @protocol Proto
14 @interface Intf <Proto>
Dobjc2-protocol-enc.m10 @protocol Proto
17 @interface Intf <Proto>
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp205 PrototypeAST *Proto; member in FunctionAST
209 : Proto(proto), Body(body) {} in FunctionAST()
513 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
514 if (Proto == 0) return 0; in ParseDefinition()
517 return new FunctionAST(Proto, E); in ParseDefinition()
525 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
526 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
803 Function *TheFunction = Proto->Codegen(); in Codegen()
808 if (Proto->isBinaryOp()) in Codegen()
809 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp148 PrototypeAST *Proto; member in FunctionAST
152 : Proto(proto), Body(body) {} in FunctionAST()
327 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
328 if (Proto == 0) return 0; in ParseDefinition()
331 return new FunctionAST(Proto, E); in ParseDefinition()
339 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
340 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
454 Function *TheFunction = Proto->Codegen(); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp223 PrototypeAST *Proto; member in FunctionAST
227 : Proto(proto), Body(body) {} in FunctionAST()
578 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
579 if (Proto == 0) return 0; in ParseDefinition()
582 return new FunctionAST(Proto, E); in ParseDefinition()
590 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
591 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
963 Function *TheFunction = Proto->Codegen(); in Codegen()
968 if (Proto->isBinaryOp()) in Codegen()
969 BinopPrecedence[Proto->getOperatorName()] = Proto->getBinaryPrecedence(); in Codegen()
[all …]
/external/clang/test/Rewriter/
Dstatic-type-protocol-1.m3 @protocol Proto protocol
7 @protocol MyProto <Proto>
Drewrite-protocol-qualified.mm22 @protocol Proto
31 id b = bar((id <Proto>)a);
/external/clang/lib/Sema/
DSemaLambda.cpp694 const FunctionProtoType *Proto in addFunctionPointerConversion() local
699 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo(); in addFunctionPointerConversion()
702 S.Context.getFunctionType(Proto->getResultType(), in addFunctionPointerConversion()
703 ArrayRef<QualType>(Proto->arg_type_begin(), in addFunctionPointerConversion()
704 Proto->getNumArgs()), in addFunctionPointerConversion()
768 const FunctionProtoType *Proto in addBlockPointerConversion() local
772 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo(); in addBlockPointerConversion()
775 = S.Context.getFunctionType(Proto->getResultType(), in addBlockPointerConversion()
776 ArrayRef<QualType>(Proto->arg_type_begin(), in addBlockPointerConversion()
777 Proto->getNumArgs()), in addBlockPointerConversion()
[all …]
DSemaTemplateInstantiateDecl.cpp1193 const FunctionProtoType *Proto in VisitFunctionDecl() local
1195 assert(Proto && "No function prototype in template instantiation?"); in VisitFunctionDecl()
1196 for (FunctionProtoType::arg_type_iterator AI = Proto->arg_type_begin(), in VisitFunctionDecl()
1197 AE = Proto->arg_type_end(); AI != AE; ++AI) { in VisitFunctionDecl()
2464 const FunctionProtoType *Proto, in InstantiateExceptionSpec() argument
2466 assert(Proto->getExceptionSpecType() != EST_Uninstantiated); in InstantiateExceptionSpec()
2486 for (unsigned I = 0, N = Proto->getNumExceptions(); I != N; ++I) { in InstantiateExceptionSpec()
2489 = Proto->getExceptionType(I)->getAs<PackExpansionType>()) { in InstantiateExceptionSpec()
2549 = SemaRef.SubstType(Proto->getExceptionType(I), TemplateArgs, in InstantiateExceptionSpec()
2558 if (Expr *OldNoexceptExpr = Proto->getNoexceptExpr()) { in InstantiateExceptionSpec()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp177 PrototypeAST *Proto; member in FunctionAST
181 : Proto(proto), Body(body) {} in FunctionAST()
428 PrototypeAST *Proto = ParsePrototype(); in ParseDefinition() local
429 if (Proto == 0) return 0; in ParseDefinition()
432 return new FunctionAST(Proto, E); in ParseDefinition()
440 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); in ParseTopLevelExpr() local
441 return new FunctionAST(Proto, E); in ParseTopLevelExpr()
699 Function *TheFunction = Proto->Codegen(); in Codegen()
/external/clang/test/SemaObjC/
Dcontinuation-class-err.m19 @protocol Proto protocol
23 @protocol Foo<Proto>
/external/webkit/Tools/BuildSlaveSupport/
Drun-performance-tests61 Proto => 'tcp',
/external/clang/lib/CodeGen/
DCGException.cpp491 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); in EmitStartEHSpec() local
492 if (Proto == 0) in EmitStartEHSpec()
495 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitStartEHSpec()
497 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) { in EmitStartEHSpec()
502 unsigned NumExceptions = Proto->getNumExceptions(); in EmitStartEHSpec()
506 QualType Ty = Proto->getExceptionType(I); in EmitStartEHSpec()
559 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); in EmitEndEHSpec() local
560 if (Proto == 0) in EmitEndEHSpec()
563 ExceptionSpecificationType EST = Proto->getExceptionSpecType(); in EmitEndEHSpec()
565 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) { in EmitEndEHSpec()
/external/chromium/testing/gmock/include/gmock/
Dgmock-actions.h702 template <size_t N, typename Proto>
703 class SetArgumentPointeeAction<N, Proto, true> {
709 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) { in SetArgumentPointeeAction()
720 const internal::linked_ptr<Proto> proto_;

123