| /freebsd/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-param-util.h | 63 template <class ParamType> 65 TestParamInfo(const ParamType& a_param, size_t an_index) in TestParamInfo() 67 ParamType param; 74 template <class ParamType> 75 std::string operator()(const TestParamInfo<ParamType>& info) const { in operator() 174 typedef T ParamType; typedef 382 template <class ParamType> 383 std::string DefaultParamName(const TestParamInfo<ParamType>& info) { in DefaultParamName() 401 typedef typename TestClass::ParamType ParamType; typedef 402 explicit ParameterizedTestFactory(ParamType parameter) in ParameterizedTestFactory() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersMacros.h | 76 #define AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) \ argument 77 AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, Param, \ 79 #define AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, \ argument 81 inline ReturnType DefineMatcher(ParamType const &Param); \ 82 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \ 83 inline ReturnType DefineMatcher(ParamType const &Param) 130 #define AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) \ argument 131 AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, 0) 133 #define AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, \ argument 140 ParamType const &A##Param) \ [all …]
|
| /freebsd/contrib/llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/server/ |
| H A D | RPCServerSourceEmitter.cpp | 100 QualType ParamType, const std::string &ParamName, in EmitStorageForOneParameter() argument 104 if (TypeIsConstCharPtr(ParamType)) { in EmitStorageForOneParameter() 107 } else if (TypeIsConstCharPtrPtr(ParamType)) { in EmitStorageForOneParameter() 113 lldb_rpc_gen::GetUnqualifiedUnderlyingType(ParamType); in EmitStorageForOneParameter() 116 if (ParamType->isPointerType() && !IsSBClass) { in EmitStorageForOneParameter() 120 if (ParamType->isVoidPointerType() && !IsFollowedByLen) { in EmitStorageForOneParameter() 125 if (!ParamType->isFunctionPointerType()) { in EmitStorageForOneParameter() 130 assert(ParamType->isFunctionPointerType() && "Unhandled pointer type"); in EmitStorageForOneParameter() 163 QualType ParamType, const std::string &ParamName, in EmitDecodeForOneParameter() argument 166 lldb_rpc_gen::GetUnqualifiedUnderlyingType(ParamType); in EmitDecodeForOneParameter() [all …]
|
| H A D | RPCServerSourceEmitter.h | 45 void EmitStorageForOneParameter(QualType ParamType, 52 void EmitDecodeForOneParameter(QualType ParamType,
|
| /freebsd/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest-param-test.h | 299 typedef typename std::iterator_traits<ForwardIterator>::value_type ParamType; in ValuesIn() typedef 300 return internal::ParamGenerator<ParamType>( in ValuesIn() 301 new internal::ValuesInIteratorRangeGenerator<ParamType>(begin, end)); in ValuesIn() 554 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \ 559 const ::testing::TestParamInfo<test_suite_name::ParamType>& info) { \ 563 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \ 571 ::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/ASTMatchers/ |
| H A D | LowLevelHelpers.cpp | 77 QualType ParamType; in matchEachArgumentWithParamTypeImpl() local 79 ParamType = FProto->getParamType(ParamIndex); in matchEachArgumentWithParamTypeImpl() 82 ParamType = FD->getParamDecl(ParamIndex)->getType(); in matchEachArgumentWithParamTypeImpl() 86 OnParamAndArg(ParamType, Node.getArg(ArgIndex)->IgnoreParenCasts()); in matchEachArgumentWithParamTypeImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 137 Type *ParamType = *PI; in createWrapper() local 139 if (ArgType == ParamType) { in createWrapper() 142 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) { in createWrapper() 144 CastInst::CreateBitOrPointerCast(AI, ParamType, "cast"); in createWrapper() 147 } else if (ArgType->isStructTy() || ParamType->isStructTy()) { in createWrapper() 155 << *ParamType << " Got: " << *ArgType << "\n"); in createWrapper()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 6364 QualType ParamType, Expr *Arg, in isNullPointerValueTemplateArgument() argument 6374 if (!S.isCompleteType(Arg->getExprLoc(), ParamType)) in isNullPointerValueTemplateArgument() 6425 if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) || in isNullPointerValueTemplateArgument() 6426 S.IsQualificationConversion(Arg->getType(), ParamType, false, in isNullPointerValueTemplateArgument() 6433 << Arg->getType() << ParamType << Arg->getSourceRange(); in isNullPointerValueTemplateArgument() 6443 << EvalResult.Val.getAsString(S.Context, ParamType); in isNullPointerValueTemplateArgument() 6451 std::string Code = "static_cast<" + ParamType.getAsString() + ">("; in isNullPointerValueTemplateArgument() 6453 << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), Code) in isNullPointerValueTemplateArgument() 6469 Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, in CheckTemplateArgumentIsCompatibleWithParameter() argument 6472 if (ParamType->isPointerType() && in CheckTemplateArgumentIsCompatibleWithParameter() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 420 QualType ParamType = S.Context.getAdjustedParameterType(NTTP->getType()); in DeduceNonTypeTemplateArgument() local 421 if (auto *Expansion = dyn_cast<PackExpansionType>(ParamType)) in DeduceNonTypeTemplateArgument() 422 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument() 428 if (ParamType->isReferenceType() && !ValueType->isReferenceType()) { in DeduceNonTypeTemplateArgument() 429 if (ParamType->isRValueReferenceType()) in DeduceNonTypeTemplateArgument() 436 S, TemplateParams, ParamType, ValueType, Info, Deduced, in DeduceNonTypeTemplateArgument() 1300 static bool hasInconsistentOrSupersetQualifiersOf(QualType ParamType, in hasInconsistentOrSupersetQualifiersOf() argument 1302 Qualifiers ParamQs = ParamType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf() 4123 Expr *Arg, QualType ParamType, in ResolveOverloadForDeduction() argument 4142 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction() [all …]
|
| H A D | SemaCodeComplete.cpp | 3872 QualType ParamType = (*P)->getType(); in createCodeCompletionStringForDecl() local 3877 if (ParamType->isBlockPointerType() && !DeclaringEntity) in createCodeCompletionStringForDecl() 3882 ParamType = ParamType.substObjCTypeArgs( in createCodeCompletionStringForDecl() 3885 ParamType); in createCodeCompletionStringForDecl() 3886 Arg += ParamType.getAsString(Policy) + ")"; in createCodeCompletionStringForDecl() 6288 QualType ParamType; in getParamType() local 6293 if (ParamType.isNull()) { in getParamType() 6294 ParamType = CandidateParamType; in getParamType() 6298 ParamType.getNonReferenceType(), in getParamType() 6304 return ParamType; in getParamType() [all …]
|
| H A D | SemaDeclCXX.cpp | 4900 QualType ParamType = Param->getType().getNonReferenceType(); in BuildImplicitBaseInitializer() local 4905 Constructor->getLocation(), ParamType, in BuildImplicitBaseInitializer() 4913 ParamType.getQualifiers()); in BuildImplicitBaseInitializer() 4970 QualType ParamType = Param->getType().getNonReferenceType(); in BuildImplicitMemberInitializer() local 4979 Loc, ParamType, VK_LValue, nullptr); in BuildImplicitMemberInitializer() 4996 ParamType, Loc, in BuildImplicitMemberInitializer() 11059 QualType ParamType = Constructor->getParamDecl(0)->getType(); in CheckConstructor() local 11061 if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) { in CheckConstructor() 11099 QualType ParamType = in CheckDestructor() local 11101 if (!declaresSameEntity(ParamType->getAsCXXRecordDecl(), RD)) { in CheckDestructor() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 178 static bool isRValueRef(QualType ParamType) { in isRValueRef() argument 179 return ParamType->isRValueReferenceType(); in isRValueRef() 617 QualType ParamType = Param->getType(); in handleCall() local 642 else if (isRValueRef(ParamType) || isConsumableType(ParamType)) in handleCall() 644 else if (ParamType->isPointerOrReferenceType() && in handleCall() 645 (!ParamType->getPointeeType().isConstQualified() || in handleCall() 646 isSetOnReadPtrType(ParamType))) in handleCall() 851 QualType ParamType = Param->getType(); in VisitParmVarDecl() local 856 else if (isConsumableType(ParamType)) in VisitParmVarDecl() 857 ParamState = mapConsumableAttrState(ParamType); in VisitParmVarDecl() [all …]
|
| /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/StaticAnalyzer/Checkers/ |
| H A D | MismatchedIteratorChecker.cpp | 173 const auto *ParamType = in checkPreCall() local 175 if (!ParamType) in checkPreCall() 177 const TemplateTypeParmDecl *D = ParamType->getReplacedParameter(); in checkPreCall()
|
| H A D | DynamicTypePropagation.cpp | 866 QualType ParamType = OrigParamType.substObjCTypeArgs( in checkPreObjCMessage() local 869 const auto *ParamObjectPtrType = ParamType->getAs<ObjCObjectPointerType>(); in checkPreObjCMessage()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | TemplateArgumentHasher.cpp | 315 for (auto ParamType : T->getParamTypes()) in VisitFunctionProtoType() local 316 AddQualType(ParamType); in VisitFunctionProtoType()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 2717 QualType ParamType = getNonObjectParameter(0)->getType(); in isCopyAssignmentOperator() local 2718 if (const auto *Ref = ParamType->getAs<LValueReferenceType>()) in isCopyAssignmentOperator() 2719 ParamType = Ref->getPointeeType(); in isCopyAssignmentOperator() 2724 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator() 2737 QualType ParamType = getNonObjectParameter(0)->getType(); in isMoveAssignmentOperator() local 2738 if (!ParamType->isRValueReferenceType()) in isMoveAssignmentOperator() 2740 ParamType = ParamType->getPointeeType(); in isMoveAssignmentOperator() 2745 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator() 3076 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() local 3081 if (ParamType.getUnqualifiedType() != ClassTy) in isSpecializationCopyingObject()
|
| H A D | ODRHash.cpp | 1087 for (auto ParamType : T->getParamTypes()) in VisitFunctionProtoType() local 1088 AddQualType(ParamType); in VisitFunctionProtoType()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SystemZ.cpp | 544 for (const auto &ParamType : Proto->getParamTypes()) in isVectorTypeBased() local 545 if (isVectorTypeBased(ParamType.getTypePtr(), /*IsParam*/true)) in isVectorTypeBased()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 2352 static bool canApplyNoFPClass(const ABIArgInfo &AI, QualType ParamType, in canApplyNoFPClass() argument 2355 if (!ParamType->hasFloatingRepresentation()) in canApplyNoFPClass() 2809 QualType ParamType = I->type; in ConstructAttributeList() local 2825 DetermineNoUndef(ParamType, getTypes(), DL, AI)) { in ConstructAttributeList() 2848 if (canApplyNoFPClass(AI, ParamType, false)) in ConstructAttributeList() 2856 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList() 2858 auto *Decl = ParamType->getAsRecordDecl(); in ConstructAttributeList() 2894 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList() 2909 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { in ConstructAttributeList() 2918 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList() [all …]
|
| H A D | CGHLSLBuiltins.cpp | 237 for (QualType ParamType : ClangParamTypes) { in getSpecConstantFunctionName() local 240 /*IdentifierInfo*/ nullptr, ParamType, /*TSI*/ nullptr, SC_None, in getSpecConstantFunctionName()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 401 QualType ParamType = Parameter->getType(); in processArgument() local 413 if (isTransparentUnion(ParamType) && in processArgument() 422 return SVB.makeCompoundVal(ParamType, CompoundSVals); in processArgument()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 384 for (auto ParamType : Sig.ParamTypes) in writeSectionContent() local 385 writeUint8(OS, ParamType); in writeSectionContent()
|