Home
last modified time | relevance | path

Searched refs:ParamType (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h61 template <class ParamType>
65 ParamType param;
72 template <class ParamType>
172 typedef T ParamType; typedef
380 template <class ParamType>
401 typedef typename TestClass::ParamType ParamType; typedef
410 const ParamType parameter_;
420 template <class ParamType>
440 using ParamType = typename TestSuite::ParamType;
511 using ParamType = typename TestSuite::ParamType;
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h74 #define AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) \ argument
75 AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, Param, \
77 #define AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, \ argument
79 inline ReturnType DefineMatcher(ParamType const &Param); \
80 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \
81 inline ReturnType DefineMatcher(ParamType const &Param)
128 #define AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) \ argument
129 AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, 0)
131 #define AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, \ argument
138 ParamType const &A##Param) \
[all …]
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-param-test.h298 typedef typename std::iterator_traits<ForwardIterator>::value_type ParamType; in ValuesIn() typedef
299 return internal::ParamGenerator<ParamType>( in ValuesIn()
300 new internal::ValuesInIteratorRangeGenerator<ParamType>(begin, end)); in ValuesIn()
497 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \
502 const ::testing::TestParamInfo<test_suite_name::ParamType>& info) { \
506 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \
514 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \
H A Dgtest.h1676 typedef T ParamType; typedef
1681 static const ParamType& GetParam() { in GetParam()
1691 static void SetParam(const ParamType* parameter) { parameter_ = parameter; } in SetParam()
1694 static const ParamType* parameter_;
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp136 Type *ParamType = *PI; in createWrapper() local
138 if (ArgType == ParamType) { in createWrapper()
141 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) { in createWrapper()
143 CastInst::CreateBitOrPointerCast(AI, ParamType, "cast"); in createWrapper()
146 } else if (ArgType->isStructTy() || ParamType->isStructTy()) { in createWrapper()
154 << *ParamType << " Got: " << *ArgType << "\n"); in createWrapper()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp6900 if (ParamType->isPointerType() || ParamType->isNullPtrType()) { in CheckTemplateArgumentAddressOfObjectOrFunction()
7009 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction()
7015 << ParamType in CheckTemplateArgumentAddressOfObjectOrFunction()
7038 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction()
7249 ParamType = in CheckTemplateArgument()
7282 ParamType = CheckNonTypeTemplateParameterType(ParamType, Arg->getExprLoc()); in CheckTemplateArgument()
7440 assert(ParamType->isPointerType() || ParamType->isReferenceType() || in CheckTemplateArgument()
7664 QualType T = ParamType->isEnumeralType() ? ParamType : IntegerType; in CheckTemplateArgument()
7967 ParamType = Context.getArrayDecayedType(ParamType); in BuildExpressionFromDeclTemplateArgument()
7969 ParamType = Context.getPointerType(ParamType); in BuildExpressionFromDeclTemplateArgument()
[all …]
H A DSemaTemplateDeduction.cpp428 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument()
435 if (ParamType->isReferenceType()) in DeduceNonTypeTemplateArgument()
436 ParamType = ParamType.getNonReferenceType(); in DeduceNonTypeTemplateArgument()
3881 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction()
3977 if (ParamType.hasQualifiers()) in AdjustFunctionParmAndArgTypesForDeduction()
3978 ParamType = ParamType.getUnqualifiedType(); in AdjustFunctionParmAndArgTypesForDeduction()
4054 if (isSimpleTemplateIdType(ParamType) || in AdjustFunctionParmAndArgTypesForDeduction()
4055 (isa<PointerType>(ParamType) && in AdjustFunctionParmAndArgTypesForDeduction()
4069 QualType ParamType, QualType ArgType,
4149 QualType ParamType, QualType ArgType, in DeduceTemplateArgumentsFromCallArgument() argument
[all …]
H A DSemaCodeComplete.cpp3703 QualType ParamType = (*P)->getType(); in createCodeCompletionStringForDecl() local
3713 ParamType = ParamType.substObjCTypeArgs( in createCodeCompletionStringForDecl()
6103 QualType ParamType; in getParamType() local
6108 if (ParamType.isNull()) { in getParamType()
6109 ParamType = CandidateParamType; in getParamType()
6113 ParamType.getNonReferenceType(), in getParamType()
6119 return ParamType; in getParamType()
9653 QualType ParamType; in CodeCompleteObjCMethodDecl() local
9655 ParamType = (*P)->getType(); in CodeCompleteObjCMethodDecl()
9657 ParamType = (*P)->getOriginalType(); in CodeCompleteObjCMethodDecl()
[all …]
H A DSemaDeclCXX.cpp5050 ParamType, Loc, in BuildImplicitMemberInitializer()
16442 if (ParamType->isDependentType() || ParamType->isRecordType() || in CheckOverloadedOperatorDeclaration()
16443 ParamType->isEnumeralType()) { in CheckOverloadedOperatorDeclaration()
16558 QualType ParamType = LastParam->getType(); in CheckOverloadedOperatorDeclaration() local
16561 !ParamType->isDependentType()) in CheckOverloadedOperatorDeclaration()
16674 Context.hasSameType(ParamType, Context.CharTy) || in CheckLiteralOperatorDeclaration()
16676 Context.hasSameType(ParamType, Context.Char8Ty) || in CheckLiteralOperatorDeclaration()
16677 Context.hasSameType(ParamType, Context.Char16Ty) || in CheckLiteralOperatorDeclaration()
16692 } else if (ParamType->isRealFloatingType()) { in CheckLiteralOperatorDeclaration()
16697 } else if (ParamType->isIntegerType()) { in CheckLiteralOperatorDeclaration()
[all …]
H A DSemaStmt.cpp4773 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local
4775 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4812 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)) in ActOnCapturedRegionStart() local
4816 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4834 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local
4836 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
H A DSemaType.cpp3071 QualType ParamType = Context.getAdjustedParameterType(ParamTypes[Idx]); in BuildFunctionType() local
3072 if (ParamType->isVoidType()) { in BuildFunctionType()
3075 } else if (ParamType->isHalfType() && !getLangOpts().NativeHalfArgsAndReturns && in BuildFunctionType()
3081 } else if (ParamType->isWebAssemblyTableType()) { in BuildFunctionType()
3088 if (ParamType.isVolatileQualified() && getLangOpts().CPlusPlus20) in BuildFunctionType()
3089 Diag(Loc, diag::warn_deprecated_volatile_param) << ParamType; in BuildFunctionType()
3091 ParamTypes[Idx] = ParamType; in BuildFunctionType()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp181 static bool isRValueRef(QualType ParamType) { in isRValueRef() argument
182 return ParamType->isRValueReferenceType(); in isRValueRef()
190 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef()
624 QualType ParamType = Param->getType(); in handleCall() local
649 else if (isRValueRef(ParamType) || isConsumableType(ParamType)) in handleCall()
651 else if (isPointerOrRef(ParamType) && in handleCall()
653 isSetOnReadPtrType(ParamType))) in handleCall()
858 QualType ParamType = Param->getType(); in VisitParmVarDecl() local
863 else if (isConsumableType(ParamType)) in VisitParmVarDecl()
865 else if (isRValueRef(ParamType) && in VisitParmVarDecl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMachineFunctionInfo.h26 enum ParamType { enum
136 SmallVector<ParamType, 32> ParamtersType;
242 void appendParameterType(ParamType Type);
H A DPPCMachineFunctionInfo.cpp76 void PPCFunctionInfo::appendParameterType(ParamType Type) { in appendParameterType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMismatchedIteratorChecker.cpp167 const auto *ParamType = in checkPreCall() local
169 if (!ParamType) in checkPreCall()
171 const TemplateTypeParmDecl *D = ParamType->getReplacedParameter(); in checkPreCall()
H A DDynamicTypePropagation.cpp863 QualType ParamType = OrigParamType.substObjCTypeArgs( in checkPreObjCMessage() local
866 const auto *ParamObjectPtrType = ParamType->getAs<ObjCObjectPointerType>(); in checkPreObjCMessage()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2474 QualType ParamType = getNonObjectParameter(0)->getType(); in isCopyAssignmentOperator() local
2475 if (const auto *Ref = ParamType->getAs<LValueReferenceType>()) in isCopyAssignmentOperator()
2476 ParamType = Ref->getPointeeType(); in isCopyAssignmentOperator()
2481 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator()
2494 QualType ParamType = getNonObjectParameter(0)->getType(); in isMoveAssignmentOperator() local
2495 if (!ParamType->isRValueReferenceType()) in isMoveAssignmentOperator()
2497 ParamType = ParamType->getPointeeType(); in isMoveAssignmentOperator()
2502 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator()
2822 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() local
2827 if (ParamType.getUnqualifiedType() != ClassTy) in isSpecializationCopyingObject()
H A DODRHash.cpp1042 for (auto ParamType : T->getParamTypes()) in VisitFunctionProtoType() local
1043 AddQualType(ParamType); in VisitFunctionProtoType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp526 for (const auto &ParamType : Proto->getParamTypes()) in isVectorTypeBased() local
527 if (isVectorTypeBased(ParamType.getTypePtr(), /*IsParam*/true)) in isVectorTypeBased()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp124 PrimType ParamType = this->classify(PVD->getType()).value_or(PT_Ptr); in emitLambdaStaticInvokerBody() local
125 if (!this->emitGetParam(ParamType, It->second.Offset, MD)) in emitLambdaStaticInvokerBody()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2269 if (!ParamType->hasFloatingRepresentation()) in canApplyNoFPClass()
2694 QualType ParamType = I->type; in ConstructAttributeList() local
2710 DetermineNoUndef(ParamType, getTypes(), DL, AI)) { in ConstructAttributeList()
2731 if (canApplyNoFPClass(AI, ParamType, false)) in ConstructAttributeList()
2741 auto *Decl = ParamType->getAsRecordDecl(); in ConstructAttributeList()
2777 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2792 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { in ConstructAttributeList()
2802 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList()
2812 ParamType->isPointerType()) { in ConstructAttributeList()
2813 QualType PTy = ParamType->getPointeeType(); in ConstructAttributeList()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp402 QualType ParamType = Parameter->getType(); in processArgument() local
414 if (isTransparentUnion(ParamType) && in processArgument()
423 return SVB.makeCompoundVal(ParamType, CompoundSVals); in processArgument()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp376 for (auto ParamType : Sig.ParamTypes) in writeSectionContent() local
377 writeUint8(OS, ParamType); in writeSectionContent()
/freebsd/contrib/googletest/docs/reference/
H A Dtesting.md117 [`TestParamInfo<class ParamType>`](#TestParamInfo) and return a `std::string`.
126 [](const testing::TestParamInfo<MyTestSuite::ParamType>& info) {
1296 This interface defines the type alias `ParamType` for the parameter type `T` and
1300 static const ParamType& GetParam()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp1119 uint32_t ParamType = readUint8(Ctx); in parseTypeSection() local
1120 Sig.Params.push_back(wasm::ValType(ParamType)); in parseTypeSection()

12