Searched defs:Proto (Results 1 - 25 of 39) sorted by relevance

12

/external/clang/lib/AST/
H A DMangleNumberingContext.cpp23 const FunctionProtoType *Proto local
27 QualType Key = Context.getFunctionType(Context.VoidTy, Proto->getParamTypes(),
H A DMangle.cpp155 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT); local
157 if (!Proto) {
161 assert(!Proto->isVariadic());
166 for (const auto &AT : Proto->param_types())
H A DDeclPrinter.cpp410 std::string Proto = D->getNameInfo().getAsString(); local
414 Proto = '(' + Proto + ')';
423 Proto += "(";
425 llvm::raw_string_ostream POut(Proto);
439 Proto += ", ";
440 Proto += D->getParamDecl(i)->getNameAsString();
444 Proto += ")";
448 Proto += " const";
450 Proto
499 Out << Proto; local
555 Out << "auto " << Proto << " -> "; local
561 Out << Proto; local
[all...]
H A DItaniumMangle.cpp1439 const FunctionProtoType *Proto = Lambda->getLambdaTypeInfo()->getType()-> local
1441 mangleBareFunctionType(Proto, /*MangleReturnType=*/false);
2023 const FunctionProtoType *Proto = cast<FunctionProtoType>(T); local
2032 mangleType(Proto->getReturnType());
2036 if (Proto->getNumParams() == 0 && !Proto->isVariadic()) {
2044 for (const auto &Arg : Proto->param_types())
2050 if (Proto->isVariadic())
H A DMicrosoftMangle.cpp1534 const FunctionProtoType *Proto = cast<FunctionProtoType>(T); local
1550 Qualifiers Quals = Qualifiers::fromCVRMask(Proto->getTypeQuals());
1552 mangleRefQualifier(Proto->getRefQualifier());
1572 QualType ResultType = Proto->getReturnType();
1590 if (Proto->getNumParams() == 0 && !Proto->isVariadic()) {
1594 for (const QualType Arg : Proto->param_types())
1597 if (Proto->isVariadic())
1603 mangleThrowSpecification(Proto);
H A DStmtPrinter.cpp1690 const FunctionProtoType *Proto local
1692 Proto->printExceptionSpecification(OS, Policy);
1699 Proto->getReturnType().print(OS, Policy);
/external/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp301 PrototypeAST *Proto = ParsePrototype(); local
302 if (Proto == 0) return 0;
305 return new FunctionAST(Proto, E);
313 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
314 return new FunctionAST(Proto, E);
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp137 const FunctionProtoType *Proto = FD->getType()->castAs<FunctionProtoType>(); local
140 FunctionProtoType::ExtProtoInfo NewEPI = Proto->getExtProtoInfo();
145 FD->setType(Context.getFunctionType(Proto->getReturnType(),
146 Proto->getParamTypes(), NewEPI));
H A DSemaLambda.cpp1338 const FunctionProtoType *Proto local
1342 FunctionProtoType::ExtProtoInfo ExtInfo = Proto->getExtProtoInfo();
1345 Proto->getReturnType(), Proto->getParamTypes(), ExtInfo);
1466 const FunctionProtoType *Proto local
1469 LSI->ReturnType, Proto->getParamTypes(), Proto->getExtProtoInfo());
H A DSemaObjCProperty.cpp118 ObjCProtocolDecl *Proto,
121 if (!Known.insert(Proto))
125 DeclContext::lookup_result R = Proto->lookup(Prop->getDeclName());
128 S.DiagnosePropertyMismatch(Prop, ProtoProp, Proto->getIdentifier(), true);
134 for (auto *P : Proto->protocols())
234 ObjCProtocolDecl *Proto = cast<ObjCProtocolDecl>(ClassDecl); local
235 for (auto *P : Proto->protocols())
1574 if (ObjCProtocolDecl *Proto =
1582 << Prop << Proto; local
117 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, ObjCProtocolDecl *Proto, llvm::SmallPtrSet<ObjCProtocolDecl *, 16> &Known) argument
/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp142 PrototypeAST *Proto; member in class:__anon25451::FunctionAST
146 : Proto(proto), Body(body) {}
322 PrototypeAST *Proto = ParsePrototype(); local
323 if (Proto == 0) return 0;
326 return new FunctionAST(Proto, E);
334 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
335 return new FunctionAST(Proto, E);
448 Function *TheFunction = Proto->Codegen();
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp149 PrototypeAST *Proto; member in class:__anon25452::FunctionAST
153 : Proto(proto), Body(body) {}
329 PrototypeAST *Proto = ParsePrototype(); local
330 if (Proto == 0) return 0;
333 return new FunctionAST(Proto, E);
341 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
342 return new FunctionAST(Proto, E);
456 Function *TheFunction = Proto->Codegen();
/external/clang/tools/libclang/
H A DCXCursor.cpp566 CXCursor cxcursor::MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto, argument
569 assert(Proto && TU && "Invalid arguments!");
571 CXCursor C = { CXCursor_ObjCProtocolRef, 0, { Proto, RawLoc, TU } };
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp178 PrototypeAST *Proto; member in class:__anon25453::FunctionAST
182 : Proto(proto), Body(body) {}
430 PrototypeAST *Proto = ParsePrototype(); local
431 if (Proto == 0) return 0;
434 return new FunctionAST(Proto, E);
442 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
443 return new FunctionAST(Proto, E);
701 Function *TheFunction = Proto->Codegen();
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp206 PrototypeAST *Proto; member in class:__anon25454::FunctionAST
210 : Proto(proto), Body(body) {}
515 PrototypeAST *Proto = ParsePrototype(); local
516 if (Proto == 0) return 0;
519 return new FunctionAST(Proto, E);
527 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
528 return new FunctionAST(Proto, E);
805 Function *TheFunction = Proto->Codegen();
810 if (Proto->isBinaryOp())
811 BinopPrecedence[Proto
[all...]
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlobject.h467 typedef struct Proto { struct
471 struct Proto **p; /* functions defined inside the function */
489 } Proto; typedef in typeref:struct:Proto
525 struct Proto *p;
/external/clang/lib/CodeGen/
H A DCGException.cpp488 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); local
489 if (!Proto)
492 ExceptionSpecificationType EST = Proto->getExceptionSpecType();
494 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) {
499 unsigned NumExceptions = Proto->getNumExceptions();
503 QualType Ty = Proto->getExceptionType(I);
562 const FunctionProtoType *Proto = FD->getType()->getAs<FunctionProtoType>(); local
563 if (!Proto)
566 ExceptionSpecificationType EST = Proto->getExceptionSpecType();
568 if (Proto
[all...]
/external/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp224 PrototypeAST *Proto; member in class:__anon25455::FunctionAST
228 : Proto(proto), Body(body) {}
580 PrototypeAST *Proto = ParsePrototype(); local
581 if (Proto == 0) return 0;
584 return new FunctionAST(Proto, E);
592 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
593 return new FunctionAST(Proto, E);
965 Function *TheFunction = Proto->Codegen();
970 if (Proto->isBinaryOp())
971 BinopPrecedence[Proto
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp242 PrototypeAST *Proto; member in class:FunctionAST
246 : Proto(proto), Body(body) {}
597 PrototypeAST *Proto = ParsePrototype(); local
598 if (Proto == 0) return 0;
601 return new FunctionAST(Proto, E);
609 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
610 return new FunctionAST(Proto, E);
989 Function *TheFunction = Proto->Codegen();
994 if (Proto->isBinaryOp())
995 BinopPrecedence[Proto
[all...]
H A Dtoy.cpp248 PrototypeAST *Proto; member in class:FunctionAST
252 : Proto(proto), Body(body) {}
603 PrototypeAST *Proto = ParsePrototype(); local
604 if (Proto == 0) return 0;
607 return new FunctionAST(Proto, E);
615 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
616 return new FunctionAST(Proto, E);
1360 Function *TheFunction = Proto->Codegen();
1365 if (Proto->isBinaryOp())
1366 BinopPrecedence[Proto
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp272 PrototypeAST *Proto; member in class:FunctionAST
276 : Proto(proto), Body(body) {}
627 PrototypeAST *Proto = ParsePrototype(); local
628 if (Proto == 0) return 0;
631 return new FunctionAST(Proto, E);
639 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
640 return new FunctionAST(Proto, E);
1541 Function *TheFunction = Proto->Codegen();
1546 if (Proto->isBinaryOp())
1547 BinopPrecedence[Proto
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp225 PrototypeAST *Proto; member in class:FunctionAST
229 : Proto(proto), Body(body) {}
580 PrototypeAST *Proto = ParsePrototype(); local
581 if (Proto == 0) return 0;
584 return new FunctionAST(Proto, E);
592 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
593 return new FunctionAST(Proto, E);
1218 Function *TheFunction = Proto->Codegen();
1223 if (Proto->isBinaryOp())
1224 BinopPrecedence[Proto
[all...]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp227 PrototypeAST *Proto; member in class:FunctionAST
231 : Proto(proto), Body(body) {}
582 PrototypeAST *Proto = ParsePrototype(); local
583 if (Proto == 0) return 0;
586 return new FunctionAST(Proto, E);
594 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
595 return new FunctionAST(Proto, E);
971 Function *TheFunction = Proto->Codegen();
976 if (Proto->isBinaryOp())
977 BinopPrecedence[Proto
[all...]
H A Dtoy.cpp227 PrototypeAST *Proto; member in class:FunctionAST
231 : Proto(proto), Body(body) {}
582 PrototypeAST *Proto = ParsePrototype(); local
583 if (Proto == 0) return 0;
586 return new FunctionAST(Proto, E);
594 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>()); local
595 return new FunctionAST(Proto, E);
1258 Function *TheFunction = Proto->Codegen();
1263 if (Proto->isBinaryOp())
1264 BinopPrecedence[Proto
[all...]
/external/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp582 Record *Proto = Lists[0][n]; variable
600 // Copy Proto super-classes.
601 ArrayRef<Record *> Supers = Proto->getSuperClasses();
602 ArrayRef<SMRange> Ranges = Proto->getSuperClassRanges();
606 // Copy Proto fields.
607 for (unsigned i = 0, e = Proto->getValues().size(); i != e; ++i) {
608 RecordVal RV = Proto->getValues()[i];
648 // Everything else is copied from Proto.

Completed in 7313 milliseconds

12