| /freebsd-12.1/contrib/googletest/googletest/include/gtest/internal/ |
| H A D | gtest-param-util.h | 54 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 D | gtest-param-util-generated.h.pump | 116 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 D | gtest-param-util-generated.h | 3573 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-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersMacros.h | 75 #define AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) \ argument 76 AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, Param, \ 78 #define AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, \ argument 80 inline ReturnType DefineMatcher(ParamType const &Param); \ 81 typedef ReturnType (&DefineMatcher##_Type##OverloadId)(ParamType const &); \ 82 inline ReturnType DefineMatcher(ParamType const &Param) 129 #define AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) \ argument 130 AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, 0) 132 #define AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, \ argument 139 ParamType const &A##Param) \ [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 5845 if (ParamType->isPointerType() || ParamType->isNullPtrType()) { in CheckTemplateArgumentAddressOfObjectOrFunction() 5943 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction() 5949 << ParamType in CheckTemplateArgumentAddressOfObjectOrFunction() 5982 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction() 5988 << ParamType in CheckTemplateArgumentAddressOfObjectOrFunction() 6005 << ParamType; in CheckTemplateArgumentAddressOfObjectOrFunction() 6205 ParamType = CheckNonTypeTemplateParameterType(ParamType, Arg->getExprLoc()); in CheckTemplateArgument() 6206 if (ParamType.isNull()) { in CheckTemplateArgument() 6304 assert(ParamType->isPointerType() || ParamType->isReferenceType() || in CheckTemplateArgument() 6753 ParamType = Context.getArrayDecayedType(ParamType); in BuildExpressionFromDeclTemplateArgument() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 407 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument() 3490 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction() 3491 !ParamType->isFunctionPointerType() && in ResolveOverloadForDeduction() 3582 if (ParamType.hasQualifiers()) in AdjustFunctionParmAndArgTypesForDeduction() 3583 ParamType = ParamType.getUnqualifiedType(); in AdjustFunctionParmAndArgTypesForDeduction() 3589 ParamType = ParamRefType->getPointeeType(); in AdjustFunctionParmAndArgTypesForDeduction() 3657 if (isSimpleTemplateIdType(ParamType) || in AdjustFunctionParmAndArgTypesForDeduction() 3658 (isa<PointerType>(ParamType) && in AdjustFunctionParmAndArgTypesForDeduction() 3747 QualType OrigParamType = ParamType; in DeduceTemplateArgumentsFromCallArgument() 3873 QualType ParamType = ParamTypes[ParamIdx]; in DeduceTemplateArguments() local [all …]
|
| H A D | SemaDeclCXX.cpp | 4398 ParamType, Loc, in BuildImplicitMemberInitializer() 13325 if (ParamType->isDependentType() || ParamType->isRecordType() || in CheckOverloadedOperatorDeclaration() 13326 ParamType->isEnumeralType()) { in CheckOverloadedOperatorDeclaration() 13416 QualType ParamType = LastParam->getType(); in CheckOverloadedOperatorDeclaration() local 13419 !ParamType->isDependentType()) in CheckOverloadedOperatorDeclaration() 13518 Context.hasSameType(ParamType, Context.CharTy) || in CheckLiteralOperatorDeclaration() 13520 Context.hasSameType(ParamType, Context.Char8Ty) || in CheckLiteralOperatorDeclaration() 13521 Context.hasSameType(ParamType, Context.Char16Ty) || in CheckLiteralOperatorDeclaration() 13536 } else if (ParamType->isRealFloatingType()) { in CheckLiteralOperatorDeclaration() 13541 } else if (ParamType->isIntegerType()) { in CheckLiteralOperatorDeclaration() [all …]
|
| H A D | SemaCodeComplete.cpp | 3116 QualType ParamType = (*P)->getType(); in createCodeCompletionStringForDecl() local 3126 ParamType = ParamType.substObjCTypeArgs( in createCodeCompletionStringForDecl() 4607 QualType ParamType; in getParamType() local 4612 if (ParamType.isNull()) in getParamType() 4613 ParamType = Proto->getParamType(N); in getParamType() 4622 return ParamType; in getParamType() 4727 QualType ParamType = in ProduceCallSignatureHelp() local 7859 QualType ParamType; in CodeCompleteObjCMethodDecl() local 7861 ParamType = (*P)->getType(); in CodeCompleteObjCMethodDecl() 7863 ParamType = (*P)->getOriginalType(); in CodeCompleteObjCMethodDecl() [all …]
|
| H A D | SemaStmt.cpp | 4267 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local 4269 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart() 4304 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)) in ActOnCapturedRegionStart() local 4308 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart() 4326 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local 4328 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
|
| H A D | SemaChecking.cpp | 8401 QualType ParamType = getAbsoluteValueArgumentType(Context, Kind); in getBestAbsFunction() local 8402 if (Context.getTypeSize(ParamType) >= ArgSize) { in getBestAbsFunction() 8405 else if (Context.hasSameType(ParamType, ArgType)) { in getBestAbsFunction() 8566 QualType ParamType = FDecl->getParamDecl(0)->getType(); in emitReplacement() local 8567 if (getAbsoluteValueKind(ArgType) == getAbsoluteValueKind(ParamType) && in emitReplacement() 8569 S.Context.getTypeSize(ParamType)) { in emitReplacement() 8637 QualType ParamType = Call->getArg(0)->getType(); in CheckAbsoluteValueFunction() local 8644 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType; in CheckAbsoluteValueFunction() 8670 AbsoluteValueKind ParamValueKind = getAbsoluteValueKind(ParamType); in CheckAbsoluteValueFunction() 8675 if (Context.getTypeSize(ArgType) <= Context.getTypeSize(ParamType)) in CheckAbsoluteValueFunction() [all …]
|
| H A D | SemaOverload.cpp | 6152 QualType ParamType = Proto->getParamType(ArgIdx); in AddOverloadCandidate() local 6154 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddOverloadCandidate() 6653 QualType ParamType = Proto->getParamType(ArgIdx); in AddMethodCandidate() local 6655 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddMethodCandidate() 6856 QualType ParamType = ParamTypes[I]; in CheckNonDependentConversions() local 6857 if (!ParamType->isDependentType()) { in CheckNonDependentConversions() 6859 = TryCopyInitialization(*this, Args[I], ParamType, in CheckNonDependentConversions() 7225 QualType ParamType = Proto->getParamType(ArgIdx); in AddSurrogateCandidate() local 7227 = TryCopyInitialization(*this, Args[ArgIdx], ParamType, in AddSurrogateCandidate()
|
| H A D | SemaType.cpp | 2492 QualType ParamType = Context.getAdjustedParameterType(ParamTypes[Idx]); in BuildFunctionType() local 2493 if (ParamType->isVoidType()) { in BuildFunctionType() 2496 } else if (ParamType->isHalfType() && !getLangOpts().HalfArgsAndReturns) { in BuildFunctionType() 2503 ParamTypes[Idx] = ParamType; in BuildFunctionType()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 144 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-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 182 static bool isRValueRef(QualType ParamType) { in isRValueRef() argument 183 return ParamType->isRValueReferenceType(); in isRValueRef() 191 return ParamType->isPointerType() || ParamType->isReferenceType(); in isPointerOrRef() 625 QualType ParamType = Param->getType(); in handleCall() local 648 if (isRValueRef(ParamType)) in handleCall() 652 else if (isPointerOrRef(ParamType) && in handleCall() 654 isSetOnReadPtrType(ParamType))) in handleCall() 859 QualType ParamType = Param->getType(); in VisitParmVarDecl() local 864 else if (isConsumableType(ParamType)) in VisitParmVarDecl() 866 else if (isRValueRef(ParamType) && in VisitParmVarDecl() [all …]
|
| /freebsd-12.1/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest-param-test.h.pump | 305 ::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 D | gtest.h | 1814 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 D | gtest-param-test.h | 306 ::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-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 2114 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator() local 2115 if (const auto *Ref = ParamType->getAs<LValueReferenceType>()) in isCopyAssignmentOperator() 2116 ParamType = Ref->getPointeeType(); in isCopyAssignmentOperator() 2121 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator() 2134 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator() local 2135 if (!isa<RValueReferenceType>(ParamType)) in isMoveAssignmentOperator() 2137 ParamType = ParamType->getPointeeType(); in isMoveAssignmentOperator() 2142 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator() 2444 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() local 2449 if (ParamType.getUnqualifiedType() != ClassTy) in isSpecializationCopyingObject()
|
| H A D | ODRHash.cpp | 819 for (auto ParamType : T->getParamTypes()) in VisitFunctionProtoType() local 820 AddQualType(ParamType); in VisitFunctionProtoType()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypePropagation.cpp | 782 QualType ParamType = OrigParamType.substObjCTypeArgs( in checkPreObjCMessage() local 785 const auto *ParamObjectPtrType = ParamType->getAs<ObjCObjectPointerType>(); in checkPreObjCMessage()
|
| H A D | IteratorChecker.cpp | 586 const auto *ParamType = in checkPreCall() local 588 if (!ParamType || in checkPreCall() 589 ParamType->getReplacedParameter()->getDecl() != TPDecl) in checkPreCall()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 521 #define VALUE_PROF_FUNC_PARAM(ParamType, ParamName, ParamLLVMType) ParamLLVMType in getOrInsertValueProfilingCall() argument 531 #define VALUE_PROF_FUNC_PARAM(ParamType, ParamName, ParamLLVMType) ParamLLVMType in getOrInsertValueProfilingCall() argument
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 794 uint32_t ParamType = readUint8(Ctx); in parseTypeSection() local 795 Sig.Params.push_back(wasm::ValType(ParamType)); in parseTypeSection()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGDebugInfo.cpp | 1169 for (const QualType &ParamType : FPT->param_types()) in CreateType() local 1170 EltTys.push_back(getOrCreateType(ParamType, Unit)); in CreateType() 3390 for (QualType ParamType : FPT->param_types()) in getOrCreateFunctionType() local 3391 EltTys.push_back(getOrCreateType(ParamType, F)); in getOrCreateFunctionType()
|
| H A D | CGCall.cpp | 2033 QualType ParamType = I->type; in ConstructAttributeList() local 2107 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { in ConstructAttributeList() 2133 auto PTy = ParamType->getPointeeType(); in ConstructAttributeList()
|