Home
last modified time | relevance | path

Searched refs:NumParams (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/Sema/
DTargetAttributesSema.cpp40 llvm::APSInt NumParams(32); in HandleMSP430InterruptAttr() local
41 if (!NumParamsExpr->isIntegerConstantExpr(NumParams, S.Context)) { in HandleMSP430InterruptAttr()
47 unsigned Num = NumParams.getLimitedValue(255); in HandleMSP430InterruptAttr()
50 << "interrupt" << (int)NumParams.getSExtValue() in HandleMSP430InterruptAttr()
DSemaTemplateDeduction.cpp130 const TemplateArgument *Params, unsigned NumParams,
682 const QualType *Params, unsigned NumParams, in DeduceTemplateArguments() argument
691 if (NumParams != NumArgs && in DeduceTemplateArguments()
692 !(NumParams && isa<PackExpansionType>(Params[NumParams - 1])) && in DeduceTemplateArguments()
702 for (; ParamIdx != NumParams; ++ParamIdx) { in DeduceTemplateArguments()
737 if (ParamIdx + 1 < NumParams) in DeduceTemplateArguments()
1715 const TemplateArgument *Params, unsigned NumParams, in DeduceTemplateArguments() argument
1724 if (hasPackExpansionBeforeEnd(Params, NumParams)) in DeduceTemplateArguments()
1732 for (; hasTemplateArgumentForDeduction(Params, ParamIdx, NumParams); in DeduceTemplateArguments()
3068 for (unsigned ParamIdx = 0, NumParams = ParamTypes.size(); in DeduceTemplateArguments() local
[all …]
DSemaLambda.cpp214 for (unsigned p = 0, NumParams = CallOperator->getNumParams(); in addLambdaParameters() local
215 p < NumParams; ++p) { in addLambdaParameters()
DSemaDeclCXX.cpp402 for (unsigned p = 0, NumParams = Old->getNumParams(); p < NumParams; ++p) { in MergeCXXFunctionDecl() local
595 unsigned NumParams = FD->getNumParams(); in CheckCXXDefaultArguments() local
603 for (p = 0; p < NumParams; ++p) { in CheckCXXDefaultArguments()
626 for (; p < NumParams; ++p) { in CheckCXXDefaultArguments()
9386 unsigned NumParams = FnDecl->getNumParams() in CheckOverloadedOperatorDeclaration() local
9389 ((NumParams == 1 && !CanBeUnaryOperator) || in CheckOverloadedOperatorDeclaration()
9390 (NumParams == 2 && !CanBeBinaryOperator) || in CheckOverloadedOperatorDeclaration()
9391 (NumParams < 1) || (NumParams > 2))) { in CheckOverloadedOperatorDeclaration()
9405 << FnDecl->getDeclName() << NumParams << ErrorKind; in CheckOverloadedOperatorDeclaration()
9432 if ((Op == OO_PlusPlus || Op == OO_MinusMinus) && NumParams == 2) { in CheckOverloadedOperatorDeclaration()
DSemaDeclAttr.cpp452 unsigned int NumParams = FD->getNumParams(); in checkAttrArgsAreLockableObjs() local
456 if(!ArgValue.isStrictlyPositive() || ParamIdxFromOne > NumParams) { in checkAttrArgsAreLockableObjs()
458 << Attr.getName() << Idx + 1 << NumParams; in checkAttrArgsAreLockableObjs()
3685 llvm::APSInt NumParams(32); in CheckRegparmAttr() local
3687 !NumParamsExpr->isIntegerConstantExpr(NumParams, Context)) { in CheckRegparmAttr()
3701 numParams = NumParams.getZExtValue(); in CheckRegparmAttr()
DSemaTemplate.cpp828 Decl **Params, unsigned NumParams, in ActOnTemplateParameterList() argument
834 (NamedDecl**)Params, NumParams, in ActOnTemplateParameterList()
2993 unsigned NumParams = Params->size(); in diagnoseArityMismatch() local
2997 if (NumArgs > NumParams) in diagnoseArityMismatch()
2998 Range = SourceRange(TemplateArgs[NumParams].getLocation(), in diagnoseArityMismatch()
3001 << (NumArgs > NumParams) in diagnoseArityMismatch()
DSemaTemplateInstantiate.cpp1634 ParmVarDecl **Params, unsigned NumParams, in SubstParmTypes() argument
1644 return Instantiator.TransformFunctionTypeParams(Loc, Params, NumParams, 0, in SubstParmTypes()
DSemaDecl.cpp988 for (unsigned P = 0, NumParams = FD->getNumParams(); P < NumParams; ++P) { in ActOnReenterFunctionContext() local
7656 for (unsigned p = 0, NumParams = FD->getNumParams(); p < NumParams; ++p) { in ActOnStartOfFunctionDef() local
8034 unsigned int NumParams = FD->getNumParams(); in AddKnownFunctionAttributes() local
8035 if (FormatIdx < NumParams && // NumParams may be 0 (e.g. vfprintf) in AddKnownFunctionAttributes()
DSemaCodeComplete.cpp2771 unsigned NumParams = FDecl? FDecl->getNumParams() : Proto->getNumArgs(); in CreateSignatureString() local
2772 for (unsigned I = 0; I != NumParams; ++I) { in CreateSignatureString()
2797 if (CurrentArg < NumParams) in CreateSignatureString()
DTreeTransform.h554 ParmVarDecl **Params, unsigned NumParams,
3968 ParmVarDecl **Params, unsigned NumParams, in TransformFunctionTypeParams() argument
3974 for (unsigned i = 0; i != NumParams; ++i) { in TransformFunctionTypeParams()
/external/clang/lib/AST/
DDeclTemplate.cpp32 NamedDecl **Params, unsigned NumParams, in TemplateParameterList() argument
35 NumParams(NumParams), ContainsUnexpandedParameterPack(false) { in TemplateParameterList()
36 assert(this->NumParams == NumParams && "Too many template parameters"); in TemplateParameterList()
37 for (unsigned Idx = 0; Idx < NumParams; ++Idx) { in TemplateParameterList()
59 unsigned NumParams, SourceLocation RAngleLoc) { in Create() argument
61 + sizeof(NamedDecl *) * NumParams; in Create()
66 NumParams, RAngleLoc); in Create()
DDeclObjC.cpp448 NumParams = Params.size(); in setParamsAndSelLocs()
452 unsigned Size = sizeof(ParmVarDecl *) * NumParams + in setParamsAndSelLocs()
DDecl.cpp910 unsigned NumParams = FD->getNumParams(); in getQualifiedNameAsString() local
911 for (unsigned i = 0; i < NumParams; ++i) { in getQualifiedNameAsString()
918 if (NumParams > 0) in getQualifiedNameAsString()
2810 NumParams = NewParamInfo.size(); in setParams()
/external/clang/include/clang/AST/
DDeclTemplate.h53 unsigned NumParams : 31; variable
61 NamedDecl **Params, unsigned NumParams,
69 unsigned NumParams,
82 iterator end() { return begin() + NumParams; } in end()
83 const_iterator end() const { return begin() + NumParams; } in end()
85 unsigned size() const { return NumParams; } in size()
2002 unsigned NumParams;
2020 NumParams(NParams),
2028 NumParams(0),
2062 assert(i <= NumParams);
[all …]
DDeclObjC.h171 unsigned NumParams; variable
197 return reinterpret_cast<SourceLocation*>(getParams() + NumParams); in getStoredSelLocs()
200 return reinterpret_cast<const SourceLocation*>(getParams() + NumParams); in getStoredSelLocs()
244 ParamsAndSelLocs(0), NumParams(0), in NamedDecl()
316 NumParams), in getSelectorLoc()
352 unsigned param_size() const { return NumParams; } in param_size()
356 param_const_iterator param_end() const { return getParams() + NumParams; } in param_end()
358 param_iterator param_end() { return getParams() + NumParams; } in param_end()
DDecl.h3124 unsigned NumParams; variable
3137 ParamInfo(0), NumParams(0), Body(0), in BlockDecl()
3161 bool param_empty() const { return NumParams == 0; } in param_empty()
3168 unsigned getNumParams() const { return NumParams; } in getNumParams()
/external/clang/include/clang/Sema/
DParsedTemplate.h211 unsigned NumParams);
DSema.h4604 Decl **Params, unsigned NumParams,
5848 ParmVarDecl **Params, unsigned NumParams,
/external/clang/lib/Serialization/
DASTReaderDecl.cpp620 unsigned NumParams = Record[Idx++]; in VisitFunctionDecl() local
622 Params.reserve(NumParams); in VisitFunctionDecl()
623 for (unsigned I = 0; I != NumParams; ++I) in VisitFunctionDecl()
659 unsigned NumParams = Record[Idx++]; in VisitObjCMethodDecl() local
661 Params.reserve(NumParams); in VisitObjCMethodDecl()
662 for (unsigned I = 0; I != NumParams; ++I) in VisitObjCMethodDecl()
955 unsigned NumParams = Record[Idx++]; in VisitBlockDecl() local
957 Params.reserve(NumParams); in VisitBlockDecl()
958 for (unsigned I = 0; I != NumParams; ++I) in VisitBlockDecl()
1265 unsigned NumParams = Record[Idx++]; in VisitFriendTemplateDecl() local
[all …]
DASTReader.cpp3885 unsigned NumParams = Record[Idx++]; in readTypeRecord() local
3887 for (unsigned I = 0; I != NumParams; ++I) in readTypeRecord()
3911 return Context.getFunctionType(ResultType, ParamTypes.data(), NumParams, in readTypeRecord()
5969 unsigned NumParams = Record[Idx++]; in ReadTemplateParameterList() local
5971 Params.reserve(NumParams); in ReadTemplateParameterList()
5972 while (NumParams--) in ReadTemplateParameterList()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp45 unsigned char NumParams; member
122 FTy->getNumParams() == FnData->NumParams && in getAllocationData()
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp435 unsigned NumParams = OptChkCall ? 3 : 2; in CallOptimizer() local
437 if (FT->getNumParams() != NumParams || in CallOptimizer()
476 unsigned NumParams = OptChkCall ? 3 : 2; in CallOptimizer() local
478 if (FT->getNumParams() != NumParams || in CallOptimizer()
/external/clang/include/clang/Basic/
DAttr.td581 let Args = [UnsignedArgument<"NumParams">];