Searched refs:ParamType (Results 1 - 14 of 14) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h68 /// \brief AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) { ... }
76 /// is ParamType.
81 #define AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) \
82 AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, 0)
84 #define AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, \
91 const ParamType &A##Param) \
97 const ParamType Param; \
100 inline internal::Matcher<Type> DefineMatcher(const ParamType &Param) { \
105 const ParamType &Param); \
202 /// \brief AST_POLYMORPHIC_MATCHER_P(DefineMatcher, ParamType, Para
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplate.cpp4083 QualType ParamType, Expr *Arg) {
4134 if (S.Context.hasSameUnqualifiedType(Arg->getType(), ParamType) ||
4135 S.IsQualificationConversion(Arg->getType(), ParamType, false,
4142 << Arg->getType() << ParamType << Arg->getSourceRange();
4150 std::string Code = "static_cast<" + ParamType.getAsString() + ">(";
4152 << ParamType
4169 Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn,
4172 if (ParamType->isPointerType() &&
4173 !ParamType->getAs<PointerType>()->getPointeeType()->isFunctionType() &&
4174 S.IsQualificationConversion(ArgType, ParamType, fals
4082 isNullPointerValueTemplateArgument(Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *Arg) argument
4168 CheckTemplateArgumentIsCompatibleWithParameter( Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, Expr *Arg, QualType ArgType) argument
4226 CheckTemplateArgumentAddressOfObjectOrFunction(Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *ArgIn, TemplateArgument &Converted) argument
4511 CheckTemplateArgumentPointerToMember(Sema &S, NonTypeTemplateParmDecl *Param, QualType ParamType, Expr *&ResultArg, TemplateArgument &Converted) argument
4666 QualType ParamType = InstantiatedParamType; local
5048 BuildExpressionFromDeclTemplateArgument(const TemplateArgument &Arg, QualType ParamType, SourceLocation Loc) argument
[all...]
H A DSemaTemplateDeduction.cpp846 static bool hasInconsistentOrSupersetQualifiersOf(QualType ParamType, argument
848 Qualifiers ParamQs = ParamType.getQualifiers();
3003 Expr *Arg, QualType ParamType,
3021 if (!ParamType->isFunctionType() &&
3022 !ParamType->isFunctionPointerType() &&
3023 !ParamType->isMemberFunctionPointerType()) {
3065 if (!ParamWasReference && ParamType->isPointerType() &&
3085 = DeduceTemplateArgumentsByTypeMatch(S, TemplateParams, ParamType,
3103 QualType &ParamType,
3110 if (ParamType
3002 ResolveOverloadForDeduction(Sema &S, TemplateParameterList *TemplateParams, Expr *Arg, QualType ParamType, bool ParamWasReference) argument
3101 AdjustFunctionParmAndArgTypesForDeduction(Sema &S, TemplateParameterList *TemplateParams, QualType &ParamType, QualType &ArgType, Expr *Arg, unsigned &TDF) argument
3217 DeduceTemplateArgumentByListElement(Sema &S, TemplateParameterList *TemplateParams, QualType ParamType, Expr *Arg, TemplateDeductionInfo &Info, SmallVectorImpl<DeducedTemplateArgument> &Deduced, unsigned TDF) argument
3331 QualType ParamType = OrigParamType; local
[all...]
H A DSemaCodeComplete.cpp3909 QualType ParamType; local
3929 if (ParamType.isNull())
3930 ParamType = Proto->getArgType(Args.size());
3932 ParamType.getNonReferenceType(),
3934 ParamType = QualType();
3955 ParamType = Proto->getArgType(Args.size());
3959 if (ParamType.isNull())
3962 CodeCompleteExpression(S, ParamType);
H A DSemaType.cpp1723 QualType ParamType = Context.getAdjustedParameterType(ParamTypes[Idx]); local
1724 if (ParamType->isVoidType()) {
1727 } else if (ParamType->isHalfType()) {
1734 ParamTypes[Idx] = ParamType;
H A DSemaDeclCXX.cpp3032 QualType ParamType = Param->getType().getNonReferenceType(); local
3037 Constructor->getLocation(), ParamType,
3045 ParamType.getQualifiers());
3102 QualType ParamType = Param->getType().getNonReferenceType(); local
3111 Loc, ParamType, VK_LValue, 0);
3128 ParamType, Loc,
6141 QualType ParamType = Constructor->getParamDecl(0)->getType(); local
6143 if (Context.getCanonicalType(ParamType).getUnqualifiedType() == ClassTy) {
10712 QualType ParamType = (*Param)->getType().getNonReferenceType(); local
10713 if (ParamType
[all...]
H A DSemaOverload.cpp5558 QualType ParamType = Proto->getArgType(ArgIdx); local
5560 = TryCopyInitialization(*this, Args[ArgIdx], ParamType,
5738 QualType ParamType = Proto->getArgType(ArgIdx); local
5740 = TryCopyInitialization(*this, Args[ArgIdx], ParamType,
6182 QualType ParamType = Proto->getArgType(ArgIdx); local
6184 = TryCopyInitialization(*this, Args[ArgIdx], ParamType,
H A DSemaDecl.cpp2693 ParamType = OldProto->arg_type_begin(),
2695 ParamType != ParamEnd; ++ParamType) {
2699 *ParamType, /*TInfo=*/0,
6506 OpenCLParamType ParamType = getOpenCLKernelParameterType(QT); local
6507 if (ParamType == ValidKernelParam)
6510 if (ParamType == RecordKernelParam) {
6519 if (ParamType == PtrKernelParam || ParamType == PtrPtrKernelParam) {
H A DSemaStmt.cpp3212 QualType ParamType = Context.getPointerType(Context.getTagDeclType(RD)); local
3214 = ImplicitParamDecl::Create(Context, DC, Loc, VarName, ParamType);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DConsumed.cpp168 static bool isRValueRefish(QualType ParamType) { argument
169 return ParamType->isRValueReferenceType() ||
170 (ParamType->isLValueReferenceType() &&
172 ParamType.getCanonicalType())->isSpelledAsLValue());
179 static bool isValueType(QualType ParamType) { argument
180 return !(ParamType->isPointerType() || ParamType->isReferenceType());
635 QualType ParamType = Param->getType(); local
663 if (isRValueRefish(ParamType)) {
670 } else if (!isValueType(ParamType)
904 QualType ParamType = Param->getType(); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclCXX.cpp1473 QualType ParamType = getParamDecl(0)->getType();
1474 if (const LValueReferenceType *Ref = ParamType->getAs<LValueReferenceType>())
1475 ParamType = Ref->getPointeeType();
1480 return Context.hasSameUnqualifiedType(ClassType, ParamType);
1493 QualType ParamType = getParamDecl(0)->getType();
1494 if (!isa<RValueReferenceType>(ParamType))
1496 ParamType = ParamType->getPointeeType();
1501 return Context.hasSameUnqualifiedType(ClassType, ParamType);
1798 CanQualType ParamType local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Target/R600/
H A DSIISelLowering.cpp229 Type *ParamType = FType->getParamType(Arg.OrigArgIndex); local
230 unsigned NumElements = ParamType->getVectorNumElements();
309 Type *ParamType = FType->getParamType(Arg.OrigArgIndex); local
310 unsigned NumElements = ParamType->getVectorNumElements();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCall.cpp1119 QualType ParamType = it->type; local
1136 if (ParamType->isSignedIntegerOrEnumerationType())
1138 else if (ParamType->isUnsignedIntegerOrEnumerationType())
1181 getTypes().GetExpandedTypes(ParamType, types);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h5350 QualType ParamType,

Completed in 685 milliseconds