Home
last modified time | relevance | path

Searched refs:paramType (Results 1 – 11 of 11) sorted by relevance

/openbsd-src/usr.bin/tput/
H A Dtput.c247 TParams paramType; in tput_cmd() local
266 paramType = tparm_type(name); in tput_cmd()
271 if (paramType == Numbers) { in tput_cmd()
275 paramType = Other; in tput_cmd()
293 switch (paramType) { in tput_cmd()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DTemplateBase.cpp148 static bool needsAmpersandOnTemplateArg(QualType paramType, QualType argType) { in needsAmpersandOnTemplateArg() argument
152 if (!paramType->isPointerType()) in needsAmpersandOnTemplateArg()
153 return paramType->isMemberPointerType(); in needsAmpersandOnTemplateArg()
155 return getArrayDepth(argType) == getArrayDepth(paramType->getPointeeType()); in needsAmpersandOnTemplateArg()
H A DType.cpp1051 for (auto paramType : T->getParamTypes()) { in VisitFunctionProtoType() local
1052 QualType newParamType = recurse(paramType); in VisitFunctionProtoType()
1056 if (newParamType.getAsOpaquePtr() != paramType.getAsOpaquePtr()) in VisitFunctionProtoType()
1346 for (auto paramType : funcProtoType->getParamTypes()) { in VisitFunctionType() local
1347 QualType newParamType = paramType.substObjCTypeArgs( in VisitFunctionType()
1352 if (newParamType.getAsOpaquePtr() != paramType.getAsOpaquePtr()) in VisitFunctionType()
H A DASTContext.cpp10315 QualType paramType = mergeFunctionParameterTypes( in mergeFunctionTypes() local
10317 if (paramType.isNull()) in mergeFunctionTypes()
10321 paramType = paramType.getUnqualifiedType(); in mergeFunctionTypes()
10323 types.push_back(paramType); in mergeFunctionTypes()
10329 if (getCanonicalType(paramType) != getCanonicalType(lParamType)) in mergeFunctionTypes()
10331 if (getCanonicalType(paramType) != getCanonicalType(rParamType)) in mergeFunctionTypes()
/openbsd-src/gnu/llvm/lld/wasm/
H A DWriterUtils.cpp129 for (ValType paramType : sig.Params) { in writeSig() local
130 writeValueType(os, paramType, "param type"); in writeSig()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaPseudoObject.cpp769 QualType paramType = (*Setter->param_begin())->getType() in buildSet() local
774 if (!S.getLangOpts().CPlusPlus || !paramType->isRecordType()) { in buildSet()
777 = S.CheckSingleAssignmentConstraints(paramType, opResult); in buildSet()
779 S.DiagnoseAssignmentResult(assignResult, opcLoc, paramType, in buildSet()
H A DSemaTemplateInstantiate.cpp1800 QualType paramType = SubstParamType(); in transformNonTypeTemplateParmRef() local
1801 if (paramType.isNull()) in transformNonTypeTemplateParmRef()
1803 refParam = paramType->isReferenceType(); in transformNonTypeTemplateParmRef()
1825 QualType paramType = VD ? arg.getParamTypeForDecl() : arg.getNullPtrType(); in transformNonTypeTemplateParmRef() local
1826 assert(!paramType.isNull() && "type substitution failed for param type"); in transformNonTypeTemplateParmRef()
1827 assert(!paramType->isDependentType() && "param type still dependent"); in transformNonTypeTemplateParmRef()
1828 result = SemaRef.BuildExpressionFromDeclTemplateArgument(arg, paramType, loc); in transformNonTypeTemplateParmRef()
1829 refParam = paramType->isReferenceType(); in transformNonTypeTemplateParmRef()
H A DSemaExprObjC.cpp1837 QualType paramType; in CheckMessageArgumentTypes() local
1838 ExprResult argE = checkUnknownAnyArg(SelLoc, argExpr, paramType); in CheckMessageArgumentTypes()
1845 param->setType(paramType); in CheckMessageArgumentTypes()
1851 QualType paramType = param->getType(); in CheckMessageArgumentTypes() local
1853 paramType = paramType.substObjCTypeArgs( in CheckMessageArgumentTypes()
1859 paramType, in CheckMessageArgumentTypes()
1864 = InitializedEntity::InitializeParameter(Context, param, paramType); in CheckMessageArgumentTypes()
1874 if (typeArgs && Args[i]->isPRValue() && paramType->isBlockPointerType() && in CheckMessageArgumentTypes()
H A DSemaExpr.cpp6448 QualType paramType; // ignored in GatherArgumentsForCall() local
6449 ExprResult arg = checkUnknownAnyArg(CallLoc, A, paramType); in GatherArgumentsForCall()
20890 Expr *arg, QualType &paramType) { in checkUnknownAnyArg() argument
20897 paramType = result.get()->getType(); in checkUnknownAnyArg()
20903 paramType = castArg->getTypeAsWritten(); in checkUnknownAnyArg()
20907 InitializedEntity::InitializeParameter(Context, paramType, in checkUnknownAnyArg()
H A DSemaChecking.cpp5805 for (auto paramType : Proto->getParamTypes()) { in CheckNonNullArguments() local
5806 if (isNonNullType(paramType)) { in CheckNonNullArguments()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h12695 Expr *result, QualType &paramType);