Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DDeclPrinter.cpp410 std::string Proto = D->getNameInfo().getAsString(); in VisitFunctionDecl() local
414 Proto = '(' + Proto + ')'; in VisitFunctionDecl()
424 Proto += "("; in VisitFunctionDecl()
426 llvm::raw_string_ostream POut(Proto); in VisitFunctionDecl()
440 Proto += ", "; in VisitFunctionDecl()
441 Proto += D->getParamDecl(i)->getNameAsString(); in VisitFunctionDecl()
445 Proto += ")"; in VisitFunctionDecl()
449 Proto += " const"; in VisitFunctionDecl()
451 Proto += " volatile"; in VisitFunctionDecl()
453 Proto += " restrict"; in VisitFunctionDecl()
[all …]
DLambdaMangleContext.cpp22 const FunctionProtoType *Proto in getManglingNumber() local
27 Proto->arg_type_begin(), in getManglingNumber()
28 Proto->getNumArgs(), in getManglingNumber()
DMicrosoftMangle.cpp1087 const FunctionProtoType *Proto = cast<FunctionProtoType>(T); in mangleType() local
1092 mangleQualifiers(Qualifiers::fromCVRMask(Proto->getTypeQuals()), false); in mangleType()
1101 QualType Result = Proto->getResultType(); in mangleType()
1121 if (Proto->getNumArgs() == 0 && !Proto->isVariadic()) { in mangleType()
1136 for (FunctionProtoType::arg_type_iterator Arg = Proto->arg_type_begin(), in mangleType()
1137 ArgEnd = Proto->arg_type_end(); in mangleType()
1142 if (Proto->isVariadic()) in mangleType()
1148 mangleThrowSpecification(Proto); in mangleType()
/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;
95 // CHECK: c-index-api-loadTU-test.m:25:11: ObjCProtocolDecl=Proto:25:11 (Definition) Extent=[25:1 -…
98 // CHECK: c-index-api-loadTU-test.m:29:17: ObjCProtocolRef=Proto:25:11 Extent=[29:17 - 29:22]
125 // CHECK: c-index-api-loadTU-test.m:50:6: ObjCProtocolRef=Proto:25:11 Extent=[50:6 - 50:11]
/external/clang/utils/TableGen/
DNeonEmitter.cpp1372 std::string Proto = R->getValueAsString("Prototype"); in emitIntrinsic() local
1397 OS << GenIntrinsic(name, Proto, TypeVec[ti], TypeVec[srcti], in emitIntrinsic()
1401 OS << GenIntrinsic(name, Proto, TypeVec[ti], TypeVec[ti], in emitIntrinsic()
1447 std::string Proto = R->getValueAsString("Prototype"); in runHeader() local
1451 if (Proto.find('a') != std::string::npos) in runHeader()
1468 std::string bd = GenBuiltinDef(name, Proto, TypeVec[ti], ck); in runHeader()
1486 std::string Proto = R->getValueAsString("Prototype"); in runHeader() local
1492 if (Proto.find('a') != std::string::npos) in runHeader()
1497 if (Proto.find('s') != std::string::npos) in runHeader()
1515 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/lib/Sema/
DSemaLambda.cpp612 const FunctionProtoType *Proto in addFunctionPointerConversion() local
617 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo(); in addFunctionPointerConversion()
619 FunctionTy = S.Context.getFunctionType(Proto->getResultType(), in addFunctionPointerConversion()
620 Proto->arg_type_begin(), in addFunctionPointerConversion()
621 Proto->getNumArgs(), in addFunctionPointerConversion()
684 const FunctionProtoType *Proto in addBlockPointerConversion() local
688 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo(); in addBlockPointerConversion()
691 = S.Context.getFunctionType(Proto->getResultType(), in addBlockPointerConversion()
692 Proto->arg_type_begin(), in addBlockPointerConversion()
693 Proto->getNumArgs(), in addBlockPointerConversion()
[all …]
DSemaTemplateInstantiateDecl.cpp1103 const FunctionProtoType *Proto in VisitFunctionDecl() local
1105 assert(Proto && "No function prototype in template instantiation?"); in VisitFunctionDecl()
1106 for (FunctionProtoType::arg_type_iterator AI = Proto->arg_type_begin(), in VisitFunctionDecl()
1107 AE = Proto->arg_type_end(); AI != AE; ++AI) { in VisitFunctionDecl()
2380 const FunctionProtoType *Proto, in InstantiateExceptionSpec() argument
2382 assert(Proto->getExceptionSpecType() != EST_Uninstantiated); in InstantiateExceptionSpec()
2402 for (unsigned I = 0, N = Proto->getNumExceptions(); I != N; ++I) { in InstantiateExceptionSpec()
2405 = Proto->getExceptionType(I)->getAs<PackExpansionType>()) { in InstantiateExceptionSpec()
2465 = SemaRef.SubstType(Proto->getExceptionType(I), TemplateArgs, in InstantiateExceptionSpec()
2474 if (Expr *OldNoexceptExpr = Proto->getNoexceptExpr()) { in InstantiateExceptionSpec()
[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/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()

123