| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/ |
| H A D | gtest-param-util.h | 55 template <class ParamType> 57 TestParamInfo(const ParamType& a_param, size_t an_index) : in TestParamInfo() 60 ParamType param; 67 template <class ParamType> 68 std::string operator()(const TestParamInfo<ParamType>& info) const { in operator() 166 typedef T ParamType; typedef 373 template <class ParamType> 374 std::string DefaultParamName(const TestParamInfo<ParamType>& info) { in DefaultParamName() 394 typedef typename TestClass::ParamType ParamType; typedef 395 explicit ParameterizedTestFactory(ParamType parameter) : in ParameterizedTestFactory() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/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() 461 static ::testing::internal::ParamGenerator<test_suite_name::ParamType> \ 466 const ::testing::TestParamInfo<test_suite_name::ParamType>& info) { \ 470 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \ 478 ::testing::internal::DefaultParamName<test_suite_name::ParamType>, \
|
| H A D | gtest.h | 1851 typedef T ParamType; typedef 1856 static const ParamType& GetParam() { in GetParam() 1866 static void SetParam(const ParamType* parameter) { in SetParam() 1871 static const ParamType* parameter_;
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaTemplate.cpp | 6248 QualType ParamType, Expr *Arg, in isNullPointerValueTemplateArgument() argument 6258 if (!S.isCompleteType(Arg->getExprLoc(), ParamType)) in isNullPointerValueTemplateArgument() 6309 if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) || in isNullPointerValueTemplateArgument() 6310 S.IsQualificationConversion(Arg->getType(), ParamType, false, in isNullPointerValueTemplateArgument() 6317 << Arg->getType() << ParamType << Arg->getSourceRange(); in isNullPointerValueTemplateArgument() 6325 std::string Code = "static_cast<" + ParamType.getAsString() + ">("; in isNullPointerValueTemplateArgument() 6327 << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), Code) in isNullPointerValueTemplateArgument() 6343 Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, in CheckTemplateArgumentIsCompatibleWithParameter() argument 6346 if (ParamType->isPointerType() && in CheckTemplateArgumentIsCompatibleWithParameter() 6347 !ParamType->castAs<PointerType>()->getPointeeType()->isFunctionType() && in CheckTemplateArgumentIsCompatibleWithParameter() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 416 QualType ParamType = S.Context.getAdjustedParameterType(NTTP->getType()); in DeduceNonTypeTemplateArgument() local 417 if (auto *Expansion = dyn_cast<PackExpansionType>(ParamType)) in DeduceNonTypeTemplateArgument() 418 ParamType = Expansion->getPattern(); in DeduceNonTypeTemplateArgument() 425 if (ParamType->isReferenceType()) in DeduceNonTypeTemplateArgument() 426 ParamType = ParamType.getNonReferenceType(); in DeduceNonTypeTemplateArgument() 432 S, TemplateParams, ParamType, ValueType, Info, Deduced, in DeduceNonTypeTemplateArgument() 1127 static bool hasInconsistentOrSupersetQualifiersOf(QualType ParamType, in hasInconsistentOrSupersetQualifiersOf() argument 1129 Qualifiers ParamQs = ParamType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf() 3742 Expr *Arg, QualType ParamType, in ResolveOverloadForDeduction() argument 3760 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction() [all …]
|
| H A D | SemaCodeComplete.cpp | 3584 QualType ParamType = (*P)->getType(); in createCodeCompletionStringForDecl() local 3589 if (ParamType->isBlockPointerType() && !DeclaringEntity) in createCodeCompletionStringForDecl() 3594 ParamType = ParamType.substObjCTypeArgs( in createCodeCompletionStringForDecl() 3597 ParamType); in createCodeCompletionStringForDecl() 3598 Arg += ParamType.getAsString(Policy) + ")"; in createCodeCompletionStringForDecl() 5689 QualType ParamType; in getParamType() local 5694 if (ParamType.isNull()) in getParamType() 5695 ParamType = Proto->getParamType(N); in getParamType() 5697 ParamType.getNonReferenceType(), in getParamType() 5704 return ParamType; in getParamType() [all …]
|
| H A D | SemaDeclCXX.cpp | 4641 QualType ParamType = Param->getType().getNonReferenceType(); in BuildImplicitBaseInitializer() local 4646 Constructor->getLocation(), ParamType, in BuildImplicitBaseInitializer() 4654 ParamType.getQualifiers()); in BuildImplicitBaseInitializer() 4711 QualType ParamType = Param->getType().getNonReferenceType(); in BuildImplicitMemberInitializer() local 4720 Loc, ParamType, VK_LValue, nullptr); in BuildImplicitMemberInitializer() 4737 ParamType, Loc, in BuildImplicitMemberInitializer() 10330 QualType ParamType = Constructor->getParamDecl(0)->getType(); in CheckConstructor() local 10332 if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) { in CheckConstructor() 10370 QualType ParamType = OperatorDelete->getParamDecl(0)->getType(); in CheckDestructor() local 10371 if (!declaresSameEntity(ParamType->getAsCXXRecordDecl(), RD)) { in CheckDestructor() [all …]
|
| H A D | SemaStmt.cpp | 4695 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local 4697 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart() 4733 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)) in ActOnCapturedRegionStart() local 4737 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart() 4755 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); in ActOnCapturedRegionStart() local 4757 ImplicitParamDecl::Create(Context, DC, Loc, ParamName, ParamType, in ActOnCapturedRegionStart()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 181 static bool isRValueRef(QualType ParamType) { in isRValueRef() argument 182 return ParamType->isRValueReferenceType(); in isRValueRef() 189 static bool isPointerOrRef(QualType ParamType) { in isPointerOrRef() argument 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() 652 (!ParamType->getPointeeType().isConstQualified() || in handleCall() 653 isSetOnReadPtrType(ParamType))) in handleCall() 858 QualType ParamType = Param->getType(); in VisitParmVarDecl() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MismatchedIteratorChecker.cpp | 177 const auto *ParamType = in checkPreCall() local 179 if (!ParamType || in checkPreCall() 180 ParamType->getReplacedParameter()->getDecl() != TPDecl) in checkPreCall()
|
| H A D | DynamicTypePropagation.cpp | 867 QualType ParamType = OrigParamType.substObjCTypeArgs( in checkPreObjCMessage() local 870 const auto *ParamObjectPtrType = ParamType->getAs<ObjCObjectPointerType>(); in checkPreObjCMessage()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCMachineFunctionInfo.h | 28 enum ParamType { enum 232 void appendParameterType(ParamType Type);
|
| H A D | PPCMachineFunctionInfo.cpp | 68 void PPCFunctionInfo::appendParameterType(ParamType Type) { in appendParameterType()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 2389 QualType ParamType = getParamDecl(0)->getType(); in isCopyAssignmentOperator() local 2390 if (const auto *Ref = ParamType->getAs<LValueReferenceType>()) in isCopyAssignmentOperator() 2391 ParamType = Ref->getPointeeType(); in isCopyAssignmentOperator() 2396 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isCopyAssignmentOperator() 2409 QualType ParamType = getParamDecl(0)->getType(); in isMoveAssignmentOperator() local 2410 if (!isa<RValueReferenceType>(ParamType)) in isMoveAssignmentOperator() 2412 ParamType = ParamType->getPointeeType(); in isMoveAssignmentOperator() 2417 return Context.hasSameUnqualifiedType(ClassType, ParamType); in isMoveAssignmentOperator() 2737 CanQualType ParamType = Context.getCanonicalType(Param->getType()); in isSpecializationCopyingObject() local 2742 if (ParamType.getUnqualifiedType() != ClassTy) in isSpecializationCopyingObject()
|
| H A D | ODRHash.cpp | 903 for (auto ParamType : T->getParamTypes()) in VisitFunctionProtoType() local 904 AddQualType(ParamType); in VisitFunctionProtoType()
|
| /netbsd-src/external/apache2/llvm/dist/clang/docs/ |
| H A D | LibASTMatchers.rst | 109 ``AST_MATCHER_P(Type, Name, ParamType, Param)`` 114 named *Name* that takes a parameter of type *ParamType* and returns the
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | CodeGenTarget.cpp | 902 MVT ParamType = MVT(IS.ParamVTs[ParamIdx]); in isParamAPointer() local 903 return ParamType == MVT::iPTR || ParamType == MVT::iPTRAny; in isParamAPointer()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| H A D | wasm2yaml.cpp | 217 for (const auto &ParamType : FunctionSig.Params) in dump() local 218 Sig.ParamTypes.emplace_back(static_cast<uint32_t>(ParamType)); in dump()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 363 for (auto ParamType : Sig.ParamTypes) in writeSectionContent() local 364 writeUint8(OS, ParamType); in writeSectionContent()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGCall.cpp | 2364 QualType ParamType = I->type; in ConstructAttributeList() local 2379 bool ArgNoUndef = DetermineNoUndef(ParamType, getTypes(), DL, AI); in ConstructAttributeList() 2406 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList() 2408 auto *Decl = ParamType->getAsRecordDecl(); in ConstructAttributeList() 2445 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList() 2461 if (const auto *RefTy = ParamType->getAs<ReferenceType>()) { in ConstructAttributeList() 2471 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList() 2484 Attrs.addStructRetAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList() 2492 auto PTy = ParamType->getPointeeType(); in ConstructAttributeList()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 868 Type *ParamType = T->getParamType(I); in getCustomFunctionType() local 870 if (isa<PointerType>(ParamType) && in getCustomFunctionType() 871 (FT = dyn_cast<FunctionType>(ParamType->getPointerElementType()))) { in getCustomFunctionType() 877 ArgTypes.push_back(ParamType); in getCustomFunctionType()
|
| H A D | InstrProfiling.cpp | 606 #define VALUE_PROF_FUNC_PARAM(ParamType, ParamName, ParamLLVMType) ParamLLVMType in getOrInsertValueProfilingCall() argument
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | WasmObjectFile.cpp | 1018 uint32_t ParamType = readUint8(Ctx); in parseTypeSection() local 1019 Sig.Params.push_back(wasm::ValType(ParamType)); in parseTypeSection()
|