| /minix3/external/bsd/llvm/dist/clang/lib/Analysis/ |
| H A D | ScanfFormatString.cpp | 19 using clang::analyze_format_string::ArgType; 221 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const { in getArgType() 225 return ArgType::Invalid(); in getArgType() 234 return ArgType::PtrTo(Ctx.IntTy); in getArgType() 236 return ArgType::PtrTo(ArgType::AnyCharTy); in getArgType() 238 return ArgType::PtrTo(Ctx.ShortTy); in getArgType() 240 return ArgType::PtrTo(Ctx.LongTy); in getArgType() 243 return ArgType::PtrTo(Ctx.LongLongTy); in getArgType() 245 return ArgType::PtrTo(ArgType(Ctx.LongLongTy, "__int64")); in getArgType() 247 return ArgType::PtrTo(ArgType(Ctx.getIntMaxType(), "intmax_t")); in getArgType() [all …]
|
| H A D | PrintfFormatString.cpp | 19 using clang::analyze_format_string::ArgType; 300 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, in getArgType() 305 return ArgType::Invalid(); in getArgType() 313 return ArgType(ArgType::WIntTy, "wint_t"); in getArgType() 318 return ArgType::Invalid(); in getArgType() 329 return ArgType(Ctx.IntTy, "__int32"); in getArgType() 330 case LengthModifier::AsChar: return ArgType::AnyCharTy; in getArgType() 337 return ArgType(Ctx.LongLongTy, "__int64"); in getArgType() 339 return ArgType(Ctx.getIntMaxType(), "intmax_t"); in getArgType() 342 return ArgType(); in getArgType() [all …]
|
| H A D | FormatString.cpp | 19 using clang::analyze_format_string::ArgType; 259 bool ArgType::matchesType(ASTContext &C, QualType argTy) const { in matchesType() 407 QualType ArgType::getRepresentativeType(ASTContext &C) const { in getRepresentativeType() 443 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { in getRepresentativeTypeName() 469 ArgType
|
| /minix3/external/bsd/libc++/dist/libcxx/test/std/utilities/function.objects/func.require/ |
| H A D | bullet_1_and_2.pass.cpp | 75 F(ArgType&) 76 F(ArgType&, ...) 77 F(ArgType&, ArgType&) 78 F(ArgType&, ArgType&, ...) 79 F(ArgType&, ArgType&, ArgType&) 80 F(ArgType&, ArgType&, ArgType&, ...) 109 F(ArgType&&) 110 F(ArgType&&, ...) 111 F(ArgType&&, ArgType&&) 112 F(ArgType&&, ArgType&&, ...) [all …]
|
| H A D | bullet_3_and_4.pass.cpp | 159 TestCase<ArgType>::run(); in main() 160 TestCase<ArgType const>::run(); in main() 161 TestCase<ArgType volatile>::run(); in main() 162 TestCase<ArgType const volatile>::run(); in main() 163 TestCase<ArgType*>::run(); in main()
|
| H A D | invoke_helpers.h | 80 struct ArgType { struct 82 explicit ArgType(int val = 0) : value(val) {} in value() argument 84 ArgType(ArgType const&); 85 ArgType& operator=(ArgType const&); argument 228 ArgType a0, a1, a2;
|
| H A D | bullet_5.pass.cpp | 253 typedef ArgType A; in main()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ |
| H A D | FormatString.h | 223 class ArgType { 233 ArgType(Kind k = UnknownTy, const char *n = nullptr) 235 ArgType(QualType t, const char *n = nullptr) 237 ArgType(CanQualType t) : K(SpecificTy), T(t), Name(nullptr), Ptr(false) {} in ArgType() function 239 static ArgType Invalid() { return ArgType(InvalidTy); } in Invalid() 243 static ArgType PtrTo(const ArgType& A) { in PtrTo() 245 ArgType Res = A; in PtrTo() 302 ArgType getArgType(ASTContext &Ctx) const; 416 using analyze_format_string::ArgType; 491 ArgType getArgType(ASTContext &Ctx, bool IsObjCLiteral) const; [all …]
|
| /minix3/external/bsd/llvm/dist/clang/test/SemaTemplate/ |
| H A D | instantiate-expr-3.cpp | 94 template<typename ArgType> 100 (void)__builtin_va_arg(va, ArgType); in f() 107 template<typename VaList, typename ArgType> 113 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}} in f()
|
| /minix3/minix/drivers/power/acpi/namespace/ |
| H A D | nsarguments.c | 73 UINT8 ArgType; in AcpiNsCheckArgumentTypes() local 92 ArgType = METHOD_GET_NEXT_TYPE (ArgTypeList); in AcpiNsCheckArgumentTypes() 95 if (UserArgType != ArgType) in AcpiNsCheckArgumentTypes() 101 AcpiUtGetTypeName (ArgType))); in AcpiNsCheckArgumentTypes()
|
| /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/ |
| H A D | destructors.cpp | 398 struct ArgType { struct 399 ~ArgType(); 402 void f1(const ArgType& = ArgType());
|
| /minix3/minix/drivers/power/acpi/parser/ |
| H A D | psargs.c | 426 UINT32 ArgType, in AcpiPsGetNextSimpleArg() argument 434 ACPI_FUNCTION_TRACE_U32 (PsGetNextSimpleArg, ArgType); in AcpiPsGetNextSimpleArg() 437 switch (ArgType) in AcpiPsGetNextSimpleArg() 501 ACPI_ERROR ((AE_INFO, "Invalid ArgType 0x%X", ArgType)); in AcpiPsGetNextSimpleArg() 763 UINT32 ArgType, in AcpiPsGetNextArg() argument 776 switch (ArgType) in AcpiPsGetNextArg() 792 AcpiPsGetNextSimpleArg (ParserState, ArgType, Arg); in AcpiPsGetNextArg() 926 ACPI_ERROR ((AE_INFO, "Invalid ArgType: 0x%X", ArgType)); in AcpiPsGetNextArg()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 895 QualType ArgType) { in hasInconsistentOrSupersetQualifiersOf() argument 897 Qualifiers ArgQs = ArgType.getQualifiers(); in hasInconsistentOrSupersetQualifiersOf() 3088 QualType ArgType = GetTypeOfFunction(S, R, Fn); in ResolveOverloadForDeduction() local 3089 if (ArgType.isNull()) continue; in ResolveOverloadForDeduction() 3093 ArgType->isFunctionType()) in ResolveOverloadForDeduction() 3094 ArgType = S.Context.getPointerType(ArgType); in ResolveOverloadForDeduction() 3113 ArgType, Info, Deduced, TDF); in ResolveOverloadForDeduction() 3116 Match = ArgType; in ResolveOverloadForDeduction() 3131 QualType &ArgType, in AdjustFunctionParmAndArgTypesForDeduction() argument 3144 if (ArgType->isIncompleteArrayType() && !S.RequireCompleteExprType(Arg, 0)) in AdjustFunctionParmAndArgTypesForDeduction() [all …]
|
| H A D | SemaTemplate.cpp | 3001 QualType ArgType; in CheckTemplateTypeArgument() local 3010 ArgType = Arg.getAsType(); in CheckTemplateTypeArgument() 3063 ArgType = in CheckTemplateTypeArgument() 3066 DependentNameTypeLoc TL = TLB.push<DependentNameTypeLoc>(ArgType); in CheckTemplateTypeArgument() 3070 TSI = TLB.getTypeSourceInfo(Context, ArgType); in CheckTemplateTypeArgument() 3074 AL = TemplateArgumentLoc(TemplateArgument(ArgType), in CheckTemplateTypeArgument() 3097 ArgType = Context.getCanonicalType(ArgType); in CheckTemplateTypeArgument() 3103 ArgType->isObjCLifetimeType() && in CheckTemplateTypeArgument() 3104 !ArgType.getObjCLifetime()) { in CheckTemplateTypeArgument() 3107 ArgType = Context.getQualifiedType(ArgType, Qs); in CheckTemplateTypeArgument() [all …]
|
| H A D | SemaDeclCXX.cpp | 5191 QualType ArgType = ExpectedParams ? Type->getParamType(0) : QualType(); in CheckExplicitlyDefaultedSpecialMember() local 5193 if (ExpectedParams && ArgType->isReferenceType()) { in CheckExplicitlyDefaultedSpecialMember() 5195 QualType ReferentType = ArgType->getPointeeType(); in CheckExplicitlyDefaultedSpecialMember() 5272 llvm::makeArrayRef(&ArgType, in CheckExplicitlyDefaultedSpecialMember() 7389 QualType ArgType = Ctor->getParamDecl(0)->getType(); in isInitListConstructor() local 7390 if (const ReferenceType *RT = ArgType->getAs<ReferenceType>()) in isInitListConstructor() 7391 ArgType = RT->getPointeeType().getUnqualifiedType(); in isInitListConstructor() 7393 return isStdInitializerList(ArgType, nullptr); in isInitListConstructor() 9886 QualType ArgType = Context.getTypeDeclType(ClassDecl); in DeclareImplicitCopyAssignment() local 9887 QualType RetType = Context.getLValueReferenceType(ArgType); in DeclareImplicitCopyAssignment() [all …]
|
| H A D | SemaChecking.cpp | 3143 bool checkForCStrMembers(const analyze_printf::ArgType &AT, 3192 const analyze_printf::ArgType &AT = Amt.getArgType(S.Context); in HandleAmount() 3315 const analyze_printf::ArgType &AT, const Expr *E) { in checkForCStrMembers() 3555 const analyze_printf::ArgType &AT = FS.getArgType(S.Context, in checkFormatExpr() 3925 const analyze_format_string::ArgType &AT = FS.getArgType(S.Context); in HandleScanfSpecifier() 4122 static unsigned getBestAbsFunction(ASTContext &Context, QualType ArgType, in getBestAbsFunction() argument 4125 uint64_t ArgSize = Context.getTypeSize(ArgType); in getBestAbsFunction() 4132 else if (Context.hasSameType(ParamType, ArgType)) { in getBestAbsFunction() 4258 unsigned AbsKind, QualType ArgType) { in emitReplacement() argument 4262 if (S.getLangOpts().CPlusPlus && !ArgType->isAnyComplexType()) { in emitReplacement() [all …]
|
| H A D | SemaDeclObjC.cpp | 3135 QualType ArgType; in ActOnMethodDeclaration() local 3139 ArgType = Context.getObjCIdType(); in ActOnMethodDeclaration() 3142 ArgType = GetTypeFromParser(ArgInfo[i].Type, &DI); in ActOnMethodDeclaration() 3166 ArgType, DI, SC_None); in ActOnMethodDeclaration() 3188 QualType ArgType = Param->getType(); in ActOnMethodDeclaration() local 3189 if (ArgType.isNull()) in ActOnMethodDeclaration() 3190 ArgType = Context.getObjCIdType(); in ActOnMethodDeclaration() 3193 ArgType = Context.getAdjustedParameterType(ArgType); in ActOnMethodDeclaration()
|
| /minix3/minix/drivers/power/acpi/include/ |
| H A D | acparser.h | 98 UINT32 ArgType, 112 UINT32 ArgType,
|
| /minix3/external/bsd/llvm/dist/llvm/utils/ |
| H A D | llvm.grm | 213 ArgType ::= Types OptParamAttrs ; 217 ArgTypeList ::= ArgType | ArgTypeList ^ "," ArgType ;
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 707 QualType ArgType; 711 ArgType = (*P)->getType(); 716 ArgType = (*P)->getType(); 718 if (ArgType.isNull()) 719 ArgType = getType(); 721 return ArgType;
|
| /minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 433 static const char *PropertyMemoryAttribute(ASTContext &Context, QualType ArgType) { in PropertyMemoryAttribute() argument 434 Qualifiers::ObjCLifetime propertyLifetime = ArgType.getObjCLifetime(); in PropertyMemoryAttribute() 435 bool RetainableObject = ArgType->isObjCRetainableType(); in PropertyMemoryAttribute() 440 ArgType->getAs<ObjCObjectPointerType>()) { in PropertyMemoryAttribute() 448 else if (ArgType->isBlockPointerType()) in PropertyMemoryAttribute() 455 return ArgType->isBlockPointerType() ? "copy" : "strong"; in PropertyMemoryAttribute() 506 QualType ArgType = Context.getCanonicalType(argDecl->getType()); in rewriteToObjCProperty() local 507 if (const char *MemoryManagementAttr = PropertyMemoryAttribute(Context, ArgType)) in rewriteToObjCProperty() 1222 QualType ArgType = argDecl->getType(); in migrateProperty() local 1223 if (!Ctx.hasSameUnqualifiedType(ArgType, GRT)) in migrateProperty()
|
| /minix3/minix/llvm/passes/magic/support/ |
| H A D | MagicUtil.cpp | 1033 TYPECONST Type* ArgType = callArgs[i]->getType(); in inlinePreHookForwardingCall() local 1036 if (!MagicUtil::isCompatibleType(ArgType, ParamType)) { in inlinePreHookForwardingCall() 1037 assert(CastInst::isCastable(ArgType, ParamType) && "The value of the argument cannot be " in inlinePreHookForwardingCall() 1073 TYPECONST Type* ArgType = callArgs[i]->getType(); in inlinePostHookForwardingCall() local 1076 if (!MagicUtil::isCompatibleType(ArgType, ParamType)) { in inlinePostHookForwardingCall() 1077 assert(CastInst::isCastable(ArgType, ParamType) && "The value of the argument cannot be " in inlinePostHookForwardingCall()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | Mips16HardFloat.cpp | 155 Type *ArgType = F.getFunctionType()->getParamType(0); in needsFPStubFromParams() local 156 switch (ArgType->getTypeID()) { in needsFPStubFromParams()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | DeclTemplate.cpp | 186 QualType ArgType = Context.getTypeDeclType(TTP); in GenerateInjectedTemplateArgs() local 188 ArgType = Context.getPackExpansionType(ArgType, None); in GenerateInjectedTemplateArgs() 190 Arg = TemplateArgument(ArgType); in GenerateInjectedTemplateArgs()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 307 llvm::Type *ArgType = ArgValue->getType(); in EmitBuiltinExpr() local 308 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType); in EmitBuiltinExpr() 324 llvm::Type *ArgType = ArgValue->getType(); in EmitBuiltinExpr() local 325 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType); in EmitBuiltinExpr() 341 llvm::Type *ArgType = ArgValue->getType(); in EmitBuiltinExpr() local 342 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType); in EmitBuiltinExpr() 347 llvm::ConstantInt::get(ArgType, 1)); in EmitBuiltinExpr() 348 Value *Zero = llvm::Constant::getNullValue(ArgType); in EmitBuiltinExpr() 362 llvm::Type *ArgType = ArgValue->getType(); in EmitBuiltinExpr() local 363 Value *F = CGM.getIntrinsic(Intrinsic::ctpop, ArgType); in EmitBuiltinExpr() [all …]
|