Searched refs:Proto (Results 1 - 25 of 41) sorted by relevance

12

/external/clang/lib/AST/
H A DLambdaMangleContext.cpp22 const FunctionProtoType *Proto local
27 Proto->arg_type_begin(),
28 Proto->getNumArgs(),
H A DDeclPrinter.cpp410 std::string Proto = D->getNameInfo().getAsString(); local
414 Proto = '(' + Proto + ')';
424 Proto += "(";
426 llvm::raw_string_ostream POut(Proto);
440 Proto += ", ";
441 Proto += D->getParamDecl(i)->getNameAsString();
445 Proto += ")";
449 Proto += " const";
451 Proto
492 Out << Proto; local
[all...]
H A DMicrosoftMangle.cpp1087 const FunctionProtoType *Proto = cast<FunctionProtoType>(T); local
1092 mangleQualifiers(Qualifiers::fromCVRMask(Proto->getTypeQuals()), false);
1101 QualType Result = Proto->getResultType();
1121 if (Proto->getNumArgs() == 0 && !Proto->isVariadic()) {
1136 for (FunctionProtoType::arg_type_iterator Arg = Proto->arg_type_begin(),
1137 ArgEnd = Proto->arg_type_end();
1142 if (Proto->isVariadic())
1148 mangleThrowSpecification(Proto);
H A DItaniumMangle.cpp1347 const FunctionProtoType *Proto local
1350 mangleBareFunctionType(Proto, /*MangleReturnType=*/false);
1918 const FunctionProtoType *Proto = cast<FunctionProtoType>(T); local
1927 mangleType(Proto->getResultType());
1931 if (Proto->getNumArgs() == 0 && !Proto->isVariadic()) {
1939 for (FunctionProtoType::arg_type_iterator Arg = Proto->arg_type_begin(),
1940 ArgEnd = Proto->arg_type_end();
1947 if (Proto->isVariadic())
/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp130 PrototypeAST *Proto; member in class:FunctionAST
134 : Proto(proto), Body(body) {}
308 PrototypeAST *Proto = ParsePrototype(); local
309 if (Proto == 0) return 0;
312 return new FunctionAST(Proto, E);
320 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
321 return new FunctionAST(Proto, E);
/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp141 PrototypeAST *Proto; member in class:FunctionAST
145 : Proto(proto), Body(body) {}
320 PrototypeAST *Proto = ParsePrototype(); local
321 if (Proto == 0) return 0;
324 return new FunctionAST(Proto, E);
332 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
333 return new FunctionAST(Proto, E);
446 Function *TheFunction = Proto->Codegen();
/external/webkit/Tools/BuildSlaveSupport/
H A Drun-performance-tests61 Proto => 'tcp',
/external/clang/utils/TableGen/
H A DNeonEmitter.cpp1372 std::string Proto = R->getValueAsString("Prototype"); local
1397 OS << GenIntrinsic(name, Proto, TypeVec[ti], TypeVec[srcti],
1401 OS << GenIntrinsic(name, Proto, TypeVec[ti], TypeVec[ti],
1447 std::string Proto = R->getValueAsString("Prototype"); local
1451 if (Proto.find('a') != std::string::npos)
1468 std::string bd = GenBuiltinDef(name, Proto, TypeVec[ti], ck);
1486 std::string Proto = R->getValueAsString("Prototype"); local
1492 if (Proto.find('a') != std::string::npos)
1497 if (Proto.find('s') != std::string::npos)
1515 qmask |= 1ULL << GetNeonEnum(Proto, TypeVe
1585 std::string Proto = R->getValueAsString("Prototype"); local
1738 std::string Proto = R->getValueAsString("Prototype"); local
[all...]
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp205 PrototypeAST *Proto; member in class:FunctionAST
209 : Proto(proto), Body(body) {}
513 PrototypeAST *Proto = ParsePrototype(); local
514 if (Proto == 0) return 0;
517 return new FunctionAST(Proto, E);
525 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
526 return new FunctionAST(Proto, E);
803 Function *TheFunction = Proto->Codegen();
808 if (Proto->isBinaryOp())
809 BinopPrecedence[Proto
[all...]
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp148 PrototypeAST *Proto; member in class:FunctionAST
152 : Proto(proto), Body(body) {}
327 PrototypeAST *Proto = ParsePrototype(); local
328 if (Proto == 0) return 0;
331 return new FunctionAST(Proto, E);
339 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
340 return new FunctionAST(Proto, E);
454 Function *TheFunction = Proto->Codegen();
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp223 PrototypeAST *Proto; member in class:FunctionAST
227 : Proto(proto), Body(body) {}
578 PrototypeAST *Proto = ParsePrototype(); local
579 if (Proto == 0) return 0;
582 return new FunctionAST(Proto, E);
590 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
591 return new FunctionAST(Proto, E);
963 Function *TheFunction = Proto->Codegen();
968 if (Proto->isBinaryOp())
969 BinopPrecedence[Proto
[all...]
/external/clang/lib/Sema/
H A DSemaLambda.cpp612 const FunctionProtoType *Proto local
617 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo();
619 FunctionTy = S.Context.getFunctionType(Proto->getResultType(),
620 Proto->arg_type_begin(),
621 Proto->getNumArgs(),
684 const FunctionProtoType *Proto local
688 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo();
691 = S.Context.getFunctionType(Proto->getResultType(),
692 Proto->arg_type_begin(),
693 Proto
808 const FunctionProtoType *Proto local
[all...]
H A DSemaTemplateInstantiateDecl.cpp1103 const FunctionProtoType *Proto local
1105 assert(Proto && "No function prototype in template instantiation?");
1106 for (FunctionProtoType::arg_type_iterator AI = Proto->arg_type_begin(),
1107 AE = Proto->arg_type_end(); AI != AE; ++AI) {
2380 const FunctionProtoType *Proto,
2382 assert(Proto->getExceptionSpecType() != EST_Uninstantiated);
2402 for (unsigned I = 0, N = Proto->getNumExceptions(); I != N; ++I) {
2405 = Proto->getExceptionType(I)->getAs<PackExpansionType>()) {
2465 = SemaRef.SubstType(Proto->getExceptionType(I), TemplateArgs,
2474 if (Expr *OldNoexceptExpr = Proto
2379 InstantiateExceptionSpec(Sema &SemaRef, FunctionDecl *New, const FunctionProtoType *Proto, const MultiLevelTemplateArgumentList &TemplateArgs) argument
2511 const FunctionProtoType *Proto = Decl->getType()->castAs<FunctionProtoType>(); local
2577 const FunctionProtoType *Proto = Tmpl->getType()->getAs<FunctionProtoType>(); local
[all...]
H A DSemaTemplateDeduction.cpp2320 const FunctionProtoType *Proto local
2322 assert(Proto && "Function template does not have a prototype?");
2328 if (Proto->hasTrailingReturn()) {
2356 ResultType = SubstType(Proto->getResultType(),
2366 if (!Proto->hasTrailingReturn() &&
2376 Proto->isVariadic(),
2377 Proto->hasTrailingReturn(),
2378 Proto->getTypeQuals(),
2379 Proto->getRefQualifier(),
2382 Proto
3028 const FunctionProtoType *Proto local
4336 const FunctionProtoType *Proto = cast<FunctionProtoType>(T); local
[all...]
H A DSemaCodeComplete.cpp2238 if (const FunctionProtoType *Proto
2240 if (Proto->isVariadic()) {
2241 if (Proto->getNumArgs() == 0)
2350 const FunctionProtoType *Proto local
2352 if (!Proto || !Proto->getTypeQuals())
2358 if (Proto->getTypeQuals() == Qualifiers::Const) {
2363 if (Proto->getTypeQuals() == Qualifiers::Volatile) {
2368 if (Proto->getTypeQuals() == Qualifiers::Restrict) {
2375 if (Proto
2747 const FunctionProtoType *Proto local
[all...]
H A DSemaDeclCXX.cpp135 const FunctionProtoType *Proto local
137 Proto = Self->ResolveExceptionSpec(CallLoc, Proto);
138 if (!Proto)
141 ExceptionSpecificationType EST = Proto->getExceptionSpecType();
172 Proto->getNoexceptSpec(Self->Context);
193 for (FunctionProtoType::exception_iterator E = Proto->exception_begin(),
194 EEnd = Proto->exception_end();
4996 const FunctionProtoType *Proto = R->getAs<FunctionProtoType>(); local
4997 if (Proto
5180 const FunctionProtoType *Proto = R->getAs<FunctionProtoType>(); local
5226 const FunctionProtoType *Proto = R->getAs<FunctionProtoType>(); local
9159 const FunctionProtoType *Proto local
11088 const FunctionProtoType *Proto = ProtoTL->getTypePtr(); local
11113 const FunctionProtoType *Proto = ProtoTL->getTypePtr(); local
[all...]
H A DSemaOverload.cpp5222 const FunctionProtoType* Proto local
5224 assert(Proto && "Functions without a prototype cannot be overloaded");
5273 unsigned NumArgsInProto = Proto->getNumArgs();
5279 !Proto->isVariadic()) {
5315 QualType ParamType = Proto->getArgType(ArgIdx);
5418 const FunctionProtoType* Proto local
5420 assert(Proto && "Methods without a prototype cannot be overloaded");
5438 unsigned NumArgsInProto = Proto->getNumArgs();
5443 if (Args.size() > NumArgsInProto && !Proto->isVariadic()) {
5488 QualType ParamType = Proto
5798 AddSurrogateCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, const FunctionProtoType *Proto, Expr *Object, llvm::ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet) argument
8730 const FunctionProtoType* Proto; local
10746 const FunctionProtoType *Proto = local
10953 const FunctionProtoType *Proto = local
[all...]
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp177 PrototypeAST *Proto; member in class:FunctionAST
181 : Proto(proto), Body(body) {}
428 PrototypeAST *Proto = ParsePrototype(); local
429 if (Proto == 0) return 0;
432 return new FunctionAST(Proto, E);
440 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
441 return new FunctionAST(Proto, E);
699 Function *TheFunction = Proto->Codegen();
/external/clang/lib/CodeGen/
H A DCGException.cpp491 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); local
492 if (Proto == 0)
495 ExceptionSpecificationType EST = Proto->getExceptionSpecType();
497 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) {
502 unsigned NumExceptions = Proto->getNumExceptions();
506 QualType Ty = Proto->getExceptionType(I);
559 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); local
560 if (Proto == 0)
563 ExceptionSpecificationType EST = Proto->getExceptionSpecType();
565 if (Proto
[all...]
/external/dnsmasq/contrib/dynamic-dnsmasq/
H A Ddynamic-dnsmasq.pl96 Proto => 'tcp', ReuseAddr => 1,
/external/chromium/testing/gmock/include/gmock/
H A Dgmock-actions.h702 template <size_t N, typename Proto>
703 class SetArgumentPointeeAction<N, Proto, true> {
709 explicit SetArgumentPointeeAction(const Proto& proto) : proto_(new Proto) {
720 const internal::linked_ptr<Proto> proto_;
/external/clang/tools/libclang/
H A DCXCursor.h71 CXCursor MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto,
H A DCXCursor.cpp507 CXCursor cxcursor::MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto, argument
510 assert(Proto && TU && "Invalid arguments!");
512 CXCursor C = { CXCursor_ObjCProtocolRef, 0, { (void*)Proto, RawLoc, TU } };
/external/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp611 Record *Proto = Lists[0][n]; local
629 // Copy Proto super-classes.
630 for (unsigned i = 0, e = Proto->getSuperClasses().size(); i != e; ++i)
631 NewReg->addSuperClass(Proto->getSuperClasses()[i]);
633 // Copy Proto fields.
634 for (unsigned i = 0, e = Proto->getValues().size(); i != e; ++i) {
635 RecordVal RV = Proto->getValues()[i];
675 // Everything else is copied from Proto.
/external/clang/include/clang/AST/
H A DRecursiveASTVisitor.h2108 FunctionProtoTypeLoc Proto = cast<FunctionProtoTypeLoc>(TL); local
2111 for (unsigned I = 0, N = Proto.getNumArgs(); I != N; ++I) {
2112 TRY_TO(TraverseDecl(Proto.getArg(I)));
2115 TRY_TO(TraverseTypeLoc(Proto.getResultLoc()));

Completed in 468 milliseconds

12