/freebsd/contrib/googletest/googletest/include/gtest/internal/ |
H A D | gtest-param-util.h | 62 template <class ParamType> 64 TestParamInfo(const ParamType& a_param, size_t an_index) in TestParamInfo() 66 ParamType param; 73 template <class ParamType> 74 std::string operator()(const TestParamInfo<ParamType>& info) const { in operator() 173 typedef T ParamType; typedef 381 template <class ParamType> 382 std::string DefaultParamName(const TestParamInfo<ParamType>& info) { in DefaultParamName() 400 typedef typename TestClass::ParamType ParamType; typedef 401 explicit ParameterizedTestFactory(ParamType parameter) in ParameterizedTestFactory() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersMacros.h | 74 #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 …]
|
H A D | ASTMatchers.h | 5191 QualType ParamType = FProto->getParamType(ParamIndex); in AST_POLYMORPHIC_MATCHER_P2() local 5192 if (ParamMatcher.matches(ParamType, Finder, &ParamMatches)) { in AST_POLYMORPHIC_MATCHER_P2()
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-param-test.h | 298 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 D | gtest.h | 1691 typedef T ParamType; typedef 1696 static const ParamType& GetParam() { in GetParam() 1706 static void SetParam(const ParamType* parameter) { parameter_ = parameter; } in SetParam() 1709 static const ParamType* parameter_;
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 5928 QualType ParamType, Expr *Arg, in isNullPointerValueTemplateArgument() argument 5938 if (!S.isCompleteType(Arg->getExprLoc(), ParamType)) in isNullPointerValueTemplateArgument() 5989 if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) || in isNullPointerValueTemplateArgument() 5990 S.IsQualificationConversion(Arg->getType(), ParamType, false, in isNullPointerValueTemplateArgument() 5997 << Arg->getType() << ParamType << Arg->getSourceRange(); in isNullPointerValueTemplateArgument() 6007 << EvalResult.Val.getAsString(S.Context, ParamType); in isNullPointerValueTemplateArgument() 6015 std::string Code = "static_cast<" + ParamType.getAsString() + ">("; in isNullPointerValueTemplateArgument() 6017 << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), Code) in isNullPointerValueTemplateArgument() 6033 Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, in CheckTemplateArgumentIsCompatibleWithParameter() argument 6036 if (ParamType->isPointerType() && in CheckTemplateArgumentIsCompatibleWithParameter() [all …]
|
H A D | SemaTemplateDeduction.cpp | 429 QualType ParamType = S.Context.getAdjustedParameterType(NTTP->getType()); in DeduceNonTypeTemplateArgument() local 430 if (auto *Expansion = dyn_cast<PackExpansionType>(ParamType)) in DeduceNonTypeTemplateArgument() 431 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument() 438 if (ParamType->isReferenceType()) in DeduceNonTypeTemplateArgument() 439 ParamType = ParamType.getNonReferenceType(); in DeduceNonTypeTemplateArgument() 445 S, TemplateParams, ParamType, ValueType, Info, Deduced, in DeduceNonTypeTemplateArgument() 1312 static bool hasInconsistentOrSupersetQualifiersOf(QualType ParamType, in hasInconsistentOrSupersetQualifiersOf() argument 1314 Qualifiers ParamQs = ParamType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf() 4038 Expr *Arg, QualType ParamType, in ResolveOverloadForDeduction() argument 4057 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction() [all …]
|
H A D | SemaCodeComplete.cpp | 3709 QualType ParamType = (*P)->getType(); in createCodeCompletionStringForDecl() local 3714 if (ParamType->isBlockPointerType() && !DeclaringEntity) in createCodeCompletionStringForDecl() 3719 ParamType = ParamType.substObjCTypeArgs( in createCodeCompletionStringForDecl() 3722 ParamType); in createCodeCompletionStringForDecl() 3723 Arg += ParamType.getAsString(Policy) + ")"; in createCodeCompletionStringForDecl() 6138 QualType ParamType; in getParamType() local 6143 if (ParamType.isNull()) { in getParamType() 6144 ParamType = CandidateParamType; in getParamType() 6148 ParamType.getNonReferenceType(), in getParamType() 6154 return ParamType; in getParamType() [all …]
|
H A D | SemaDeclCXX.cpp | 4808 QualType ParamType = Param->getType().getNonReferenceType(); in BuildImplicitBaseInitializer() local 4813 Constructor->getLocation(), ParamType, in BuildImplicitBaseInitializer() 4821 ParamType.getQualifiers()); in BuildImplicitBaseInitializer() 4878 QualType ParamType = Param->getType().getNonReferenceType(); in BuildImplicitMemberInitializer() local 4887 Loc, ParamType, VK_LValue, nullptr); in BuildImplicitMemberInitializer() 4904 ParamType, Loc, in BuildImplicitMemberInitializer() 10823 QualType ParamType = Constructor->getParamDecl(0)->getType(); in CheckConstructor() local 10825 if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) { in CheckConstructor() 10860 QualType ParamType = OperatorDelete->getParamDecl(0)->getType(); in CheckDestructor() local 10861 if (!declaresSameEntity(ParamType in CheckDestructor() 16316 QualType ParamType = Param->getType().getNonReferenceType(); CheckOverloadedOperatorDeclaration() local 16433 QualType ParamType = LastParam->getType(); CheckOverloadedOperatorDeclaration() local 16540 QualType ParamType = Param->getType().getUnqualifiedType(); CheckLiteralOperatorDeclaration() local [all...] |
H A D | SemaStmt.cpp | 4476 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local 4478 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart() 4515 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)) in ActOnCapturedRegionStart() local 4519 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart() 4537 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local 4539 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
|
H A D | SemaType.cpp | 2615 QualType ParamType = Context.getAdjustedParameterType(ParamTypes[Idx]); in BuildFunctionType() local 2616 if (ParamType->isVoidType()) { in BuildFunctionType() 2619 } else if (ParamType->isHalfType() && !getLangOpts().NativeHalfArgsAndReturns && in BuildFunctionType() 2625 } else if (ParamType->isWebAssemblyTableType()) { in BuildFunctionType() 2632 if (ParamType.isVolatileQualified() && getLangOpts().CPlusPlus20) in BuildFunctionType() 2633 Diag(Loc, diag::warn_deprecated_volatile_param) << ParamType; in BuildFunctionType() 2635 ParamTypes[Idx] = ParamType; in BuildFunctionType()
|
H A D | SemaOverload.cpp | 7008 QualType ParamType = Proto->getParamType(ArgIdx); in AddOverloadCandidate() local 7010 *this, Args[ArgIdx], ParamType, SuppressUserConversions, in AddOverloadCandidate() 7530 QualType ParamType; in AddMethodCandidate() local 7532 ParamType = ArgIdx == 0 in AddMethodCandidate() 7536 ParamType = Proto->getParamType(ArgIdx + ExplicitOffset); in AddMethodCandidate() 7539 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddMethodCandidate() 7769 QualType ParamType = ParamTypes[I + Offset]; in CheckNonDependentConversions() local 7770 if (!ParamType->isDependentType()) { in CheckNonDependentConversions() 7785 = TryCopyInitialization(*this, Args[I], ParamType, in CheckNonDependentConversions() 8176 QualType ParamType = Proto->getParamType(ArgIdx); in AddSurrogateCandidate() local [all …]
|
H A D | SemaChecking.cpp | 7981 QualType ParamType = getAbsoluteValueArgumentType(Context, Kind); in getBestAbsFunction() local 7982 if (Context.getTypeSize(ParamType) >= ArgSize) { in getBestAbsFunction() 7985 else if (Context.hasSameType(ParamType, ArgType)) { in getBestAbsFunction() 8146 QualType ParamType = FDecl->getParamDecl(0)->getType(); in emitReplacement() local 8147 if (getAbsoluteValueKind(ArgType) == getAbsoluteValueKind(ParamType) && in emitReplacement() 8149 S.Context.getTypeSize(ParamType)) { in emitReplacement() 8232 QualType ParamType = Call->getArg(0)->getType(); in CheckAbsoluteValueFunction() local 8239 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType; in CheckAbsoluteValueFunction() 8265 AbsoluteValueKind ParamValueKind = getAbsoluteValueKind(ParamType); in CheckAbsoluteValueFunction() 8270 if (Context.getTypeSize(ArgType) <= Context.getTypeSize(ParamType)) in CheckAbsoluteValueFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixFunctionBitcasts.cpp | 136 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/llvm/lib/Target/PowerPC/ |
H A D | PPCMachineFunctionInfo.h | 26 enum ParamType { enum 136 SmallVector<ParamType, 32> ParamtersType; 254 void appendParameterType(ParamType Type);
|
H A D | PPCMachineFunctionInfo.cpp | 76 void PPCFunctionInfo::appendParameterType(ParamType Type) { in appendParameterType()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 2516 QualType ParamType = getNonObjectParameter(0)->getType(); in isCopyAssignmentOperator() local 2517 if (const auto *Ref = ParamType->getAs<LValueReferenceType>()) in isCopyAssignmentOperator() 2518 ParamType = Ref->getPointeeType(); in isCopyAssignmentOperator() 2523 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator() 2536 QualType ParamType = getNonObjectParameter(0)->getType(); in isMoveAssignmentOperator() local 2537 if (!ParamType->isRValueReferenceType()) in isMoveAssignmentOperator() 2539 ParamType = ParamType->getPointeeType(); in isMoveAssignmentOperator() 2544 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator() 2875 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() local 2880 if (ParamType.getUnqualifiedType() != ClassTy) in isSpecializationCopyingObject()
|
H A D | ODRHash.cpp | 1059 for (auto ParamType : T->getParamTypes()) in VisitFunctionProtoType() local 1060 AddQualType(ParamType); in VisitFunctionProtoType()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | SystemZ.cpp | 528 for (const auto &ParamType : Proto->getParamTypes()) in isVectorTypeBased() local 529 if (isVectorTypeBased(ParamType.getTypePtr(), /*IsParam*/true)) in isVectorTypeBased()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 2248 static bool canApplyNoFPClass(const ABIArgInfo &AI, QualType ParamType, in canApplyNoFPClass() argument 2251 if (!ParamType->hasFloatingRepresentation()) in canApplyNoFPClass() 2676 QualType ParamType = I->type; in ConstructAttributeList() local 2692 DetermineNoUndef(ParamType, getTypes(), DL, AI)) { in ConstructAttributeList() 2713 if (canApplyNoFPClass(AI, ParamType, false)) in ConstructAttributeList() 2721 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList() 2723 auto *Decl = ParamType->getAsRecordDecl(); in ConstructAttributeList() 2759 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList() 2774 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { in ConstructAttributeList() 2784 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList() [all …]
|
H A D | CGDebugInfo.cpp | 1592 for (const QualType &ParamType : FPT->param_types()) in CreateType() local 1593 EltTys.push_back(getOrCreateType(ParamType, Unit)); in CreateType() 4341 for (QualType ParamType : FPT->param_types()) in getOrCreateFunctionType() local 4342 EltTys.push_back(getOrCreateType(ParamType, F)); in getOrCreateFunctionType()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 402 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 D | WasmEmitter.cpp | 376 for (auto ParamType : Sig.ParamTypes) in writeSectionContent() local 377 writeUint8(OS, ParamType); in writeSectionContent()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | testing.md | 118 [`TestParamInfo<class ParamType>`](#TestParamInfo) and return a `std::string`. 127 [](const testing::TestParamInfo<MyTestSuite::ParamType>& info) { 1315 This interface defines the type alias `ParamType` for the parameter type `T` and 1319 static const ParamType& GetParam()
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | WasmObjectFile.cpp | 1244 uint32_t ParamType = readUint8(Ctx); in parseTypeSection() local 1245 Sig.Params.push_back(parseValType(Ctx, ParamType)); in parseTypeSection()
|