Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-param-util.h54 template <class ParamType>
59 ParamType param;
66 template <class ParamType>
164 typedef T ParamType; typedef
372 template <class ParamType>
389 template <class ParamType>
394 template <class ParamType>
406 typedef typename TestClass::ParamType ParamType; typedef
424 template <class ParamType>
444 typedef typename TestCase::ParamType ParamType; typedef
[all …]
H A Dgtest-param-util-generated.h.pump116 typedef ::testing::tuple<$for j, [[T$j]]> ParamType;
122 virtual ParamIteratorInterface<ParamType>* Begin() const {
125 virtual ParamIteratorInterface<ParamType>* End() const {
130 class Iterator : public ParamIteratorInterface<ParamType> {
132 Iterator(const ParamGeneratorInterface<ParamType>* base, $for j, [[
145 virtual const ParamGeneratorInterface<ParamType>* BaseGenerator() const {
163 virtual ParamIteratorInterface<ParamType>* Clone() const {
166 virtual const ParamType* Current() const { return current_value_.get(); }
198 current_value_.reset(new ParamType($for j, [[*current$(j)_]]));
213 const ParamGeneratorInterface<ParamType>* const base_;
[all …]
H A Dgtest-param-util-generated.h3573 typedef ::testing::tuple<T1, T2> ParamType; typedef
3673 linked_ptr<ParamType> current_value_;
3688 typedef ::testing::tuple<T1, T2, T3> ParamType; typedef
3804 linked_ptr<ParamType> current_value_;
3954 linked_ptr<ParamType> current_value_;
4120 linked_ptr<ParamType> current_value_;
4305 linked_ptr<ParamType> current_value_;
4507 linked_ptr<ParamType> current_value_;
4728 linked_ptr<ParamType> current_value_;
4966 linked_ptr<ParamType> current_value_;
[all …]
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp6502 if (ParamType->isPointerType() || ParamType->isNullPtrType()) { in CheckTemplateArgumentAddressOfObjectOrFunction()
6606 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction()
6612 << ParamType in CheckTemplateArgumentAddressOfObjectOrFunction()
6635 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction()
6830 ParamType = in CheckTemplateArgument()
6853 ParamType = CheckNonTypeTemplateParameterType(ParamType, Arg->getExprLoc()); in CheckTemplateArgument()
6999 assert(ParamType->isPointerType() || ParamType->isReferenceType() || in CheckTemplateArgument()
7051 << ParamType; in CheckTemplateArgument()
7491 ParamType = Context.getArrayDecayedType(ParamType); in BuildExpressionFromDeclTemplateArgument()
7493 ParamType = Context.getPointerType(ParamType); in BuildExpressionFromDeclTemplateArgument()
[all …]
H A DSemaTemplateDeduction.cpp418 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument()
425 if (ParamType->isReferenceType()) in DeduceNonTypeTemplateArgument()
426 ParamType = ParamType.getNonReferenceType(); in DeduceNonTypeTemplateArgument()
3760 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction()
3761 !ParamType->isFunctionPointerType() && in ResolveOverloadForDeduction()
3852 if (ParamType.hasQualifiers()) in AdjustFunctionParmAndArgTypesForDeduction()
3853 ParamType = ParamType.getUnqualifiedType(); in AdjustFunctionParmAndArgTypesForDeduction()
3928 if (isSimpleTemplateIdType(ParamType) || in AdjustFunctionParmAndArgTypesForDeduction()
3929 (isa<PointerType>(ParamType) && in AdjustFunctionParmAndArgTypesForDeduction()
4024 QualType OrigParamType = ParamType; in DeduceTemplateArgumentsFromCallArgument()
[all …]
H A DSemaCodeComplete.cpp3584 QualType ParamType = (*P)->getType(); in createCodeCompletionStringForDecl() local
3594 ParamType = ParamType.substObjCTypeArgs( in createCodeCompletionStringForDecl()
5692 QualType ParamType; in getParamType() local
5697 if (ParamType.isNull()) in getParamType()
5698 ParamType = Proto->getParamType(N); in getParamType()
5707 return ParamType; in getParamType()
5820 QualType ParamType = in ProduceCallSignatureHelp() local
9003 QualType ParamType; in CodeCompleteObjCMethodDecl() local
9005 ParamType = (*P)->getType(); in CodeCompleteObjCMethodDecl()
9007 ParamType = (*P)->getOriginalType(); in CodeCompleteObjCMethodDecl()
[all …]
H A DSemaDeclCXX.cpp4737 ParamType, Loc, in BuildImplicitMemberInitializer()
15718 if (ParamType->isDependentType() || ParamType->isRecordType() || in CheckOverloadedOperatorDeclaration()
15719 ParamType->isEnumeralType()) { in CheckOverloadedOperatorDeclaration()
15809 QualType ParamType = LastParam->getType(); in CheckOverloadedOperatorDeclaration() local
15812 !ParamType->isDependentType()) in CheckOverloadedOperatorDeclaration()
15925 Context.hasSameType(ParamType, Context.CharTy) || in CheckLiteralOperatorDeclaration()
15927 Context.hasSameType(ParamType, Context.Char8Ty) || in CheckLiteralOperatorDeclaration()
15928 Context.hasSameType(ParamType, Context.Char16Ty) || in CheckLiteralOperatorDeclaration()
15943 } else if (ParamType->isRealFloatingType()) { in CheckLiteralOperatorDeclaration()
15948 } else if (ParamType->isIntegerType()) { in CheckLiteralOperatorDeclaration()
[all …]
H A DSemaStmt.cpp4643 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local
4645 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4681 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)) in ActOnCapturedRegionStart() local
4685 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
4703 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local
4705 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp144 Type *ParamType = *PI; in createWrapper() local
146 if (ArgType == ParamType) { in createWrapper()
149 if (CastInst::isBitOrNoopPointerCastable(ArgType, ParamType, DL)) { in createWrapper()
151 CastInst::CreateBitOrPointerCast(AI, ParamType, "cast"); in createWrapper()
154 } else if (ArgType->isStructTy() || ParamType->isStructTy()) { in createWrapper()
162 << *ParamType << " Got: " << *ArgType << "\n"); in createWrapper()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMachineFunctionInfo.h26 enum ParamType { enum
136 SmallVector<ParamType, 32> ParamtersType;
237 void appendParameterType(ParamType Type);
H A DPPCMachineFunctionInfo.cpp68 void PPCFunctionInfo::appendParameterType(ParamType Type) { in appendParameterType()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMismatchedIteratorChecker.cpp177 const auto *ParamType = in checkPreCall() local
179 if (!ParamType || in checkPreCall()
180 ParamType->getReplacedParameter()->getDecl() != TPDecl) in checkPreCall()
H A DDynamicTypePropagation.cpp867 QualType ParamType = OrigParamType.substObjCTypeArgs( in checkPreObjCMessage() local
870 const auto *ParamObjectPtrType = ParamType->getAs<ObjCObjectPointerType>(); in checkPreObjCMessage()
/freebsd-13.1/contrib/googletest/googletest/include/gtest/
H A Dgtest-param-test.h.pump305 ::value_type ParamType;
306 return internal::ParamGenerator<ParamType>(
307 new internal::ValuesInIteratorRangeGenerator<ParamType>(begin, end));
470 // type testing::TestParamInfo<class ParamType>, and return std::string.
480 static ::testing::internal::ParamGenerator<test_case_name::ParamType> \
483 const ::testing::TestParamInfo<test_case_name::ParamType>& info) { \
484 return ::testing::internal::GetParamNameGen<test_case_name::ParamType> \
H A Dgtest.h1814 typedef T ParamType; typedef
1822 const ParamType& GetParam() const { in GetParam()
1832 static void SetParam(const ParamType* parameter) { in SetParam()
1837 static const ParamType* parameter_;
H A Dgtest-param-test.h306 ::value_type ParamType; in ValuesIn() typedef
307 return internal::ParamGenerator<ParamType>( in ValuesIn()
308 new internal::ValuesInIteratorRangeGenerator<ParamType>(begin, end)); in ValuesIn()
1414 static ::testing::internal::ParamGenerator<test_case_name::ParamType> \
1417 const ::testing::TestParamInfo<test_case_name::ParamType>& info) { \
1418 return ::testing::internal::GetParamNameGen<test_case_name::ParamType> \
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp2375 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator() local
2376 if (const auto *Ref = ParamType->getAs<LValueReferenceType>()) in isCopyAssignmentOperator()
2377 ParamType = Ref->getPointeeType(); in isCopyAssignmentOperator()
2382 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator()
2395 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator() local
2396 if (!isa<RValueReferenceType>(ParamType)) in isMoveAssignmentOperator()
2398 ParamType = ParamType->getPointeeType(); in isMoveAssignmentOperator()
2403 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator()
2723 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() local
2728 if (ParamType.getUnqualifiedType() != ClassTy) in isSpecializationCopyingObject()
H A DODRHash.cpp903 for (auto ParamType : T->getParamTypes()) in VisitFunctionProtoType() local
904 AddQualType(ParamType); in VisitFunctionProtoType()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenTarget.cpp917 MVT ParamType = MVT(IS.ParamVTs[ParamIdx]); in isParamAPointer() local
918 return ParamType == MVT::iPTR || ParamType == MVT::iPTRAny; in isParamAPointer()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp479 QualType ParamType = Parameter->getType(); in processArgument() local
491 if (isTransparentUnion(ParamType) && in processArgument()
500 return SVB.makeCompoundVal(ParamType, CompoundSVals); in processArgument()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp363 for (auto ParamType : Sig.ParamTypes) in writeSectionContent() local
364 writeUint8(OS, ParamType); in writeSectionContent()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp2366 QualType ParamType = I->type; in ConstructAttributeList() local
2381 bool ArgNoUndef = DetermineNoUndef(ParamType, getTypes(), DL, AI); in ConstructAttributeList()
2408 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2410 auto *Decl = ParamType->getAsRecordDecl(); in ConstructAttributeList()
2447 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2463 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { in ConstructAttributeList()
2473 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList()
2486 Attrs.addStructRetAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2494 auto PTy = ParamType->getPointeeType(); in ConstructAttributeList()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp829 Type *ParamType = T->getParamType(I); in getCustomFunctionType() local
831 if (isa<PointerType>(ParamType) && in getCustomFunctionType()
832 (FT = dyn_cast<FunctionType>(ParamType->getPointerElementType()))) { in getCustomFunctionType()
838 ArgTypes.push_back(ParamType); in getCustomFunctionType()

12