/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 410 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 …]
|
D | LambdaMangleContext.cpp | 22 const FunctionProtoType *Proto in getManglingNumber() local 27 Proto->arg_type_begin(), in getManglingNumber() 28 Proto->getNumArgs(), in getManglingNumber()
|
D | MicrosoftMangle.cpp | 1087 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/ |
D | toy.cpp | 130 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/ |
D | c-index-getCursor-test.m | 23 @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
|
D | annotate-tokens.m | 85 @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 …]
|
D | c-index-api-loadTU-test.m | 25 @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/ |
D | NeonEmitter.cpp | 1372 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/ |
D | toy.cpp | 141 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/ |
D | instance-method-metadata.m | 12 @protocol Proto protocol 18 @interface Foo : NSObject <Proto> { int x; } @end 20 @interface Bar : NSObject <Proto> @end
|
D | property-category-impl.m | 7 @protocol Proto protocol 11 @interface Foo (Category) <Proto> @end
|
D | super-message-fragileabi.m | 5 @protocol Proto protocol 10 @interface Table <Proto>
|
D | encode-test-2.m | 11 @protocol Proto 14 @interface Intf <Proto>
|
D | objc2-protocol-enc.m | 10 @protocol Proto 17 @interface Intf <Proto>
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 205 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/ |
D | toy.cpp | 148 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/ |
D | toy.cpp | 223 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/ |
D | SemaLambda.cpp | 612 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 …]
|
D | SemaTemplateInstantiateDecl.cpp | 1103 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/ |
D | static-type-protocol-1.m | 3 @protocol Proto protocol 7 @protocol MyProto <Proto>
|
D | rewrite-protocol-qualified.mm | 22 @protocol Proto 31 id b = bar((id <Proto>)a);
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 177 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/ |
D | continuation-class-err.m | 19 @protocol Proto protocol 23 @protocol Foo<Proto>
|
/external/webkit/Tools/BuildSlaveSupport/ |
D | run-performance-tests | 61 Proto => 'tcp',
|
/external/clang/lib/CodeGen/ |
D | CGException.cpp | 491 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()
|