/external/clang/lib/Analysis/ |
H A D | ScanfFormatString.cpp | 18 using clang::analyze_format_string::ArgType; 196 ArgType ScanfSpecifier::getArgType(ASTContext &Ctx) const { 200 return ArgType::Invalid(); 208 return ArgType::PtrTo(Ctx.IntTy); 210 return ArgType::PtrTo(ArgType::AnyCharTy); 212 return ArgType::PtrTo(Ctx.ShortTy); 214 return ArgType::PtrTo(Ctx.LongTy); 217 return ArgType::PtrTo(Ctx.LongLongTy); 219 return ArgType [all...] |
H A D | PrintfFormatString.cpp | 18 using clang::analyze_format_string::ArgType; 244 ArgType PrintfSpecifier::getArgType(ASTContext &Ctx, 249 return ArgType::Invalid(); 255 return ArgType(ArgType::WIntTy, "wint_t"); 257 return ArgType::Invalid(); 266 case LengthModifier::AsChar: return ArgType::AnyCharTy; 273 return ArgType(Ctx.getIntMaxType(), "intmax_t"); 276 return ArgType(); 278 return ArgType(Ct [all...] |
H A D | FormatString.cpp | 19 using clang::analyze_format_string::ArgType; 233 // Methods on ArgType. 236 bool ArgType::matchesType(ASTContext &C, QualType argTy) const { 252 llvm_unreachable("ArgType must be valid"); 381 llvm_unreachable("Invalid ArgType Kind!"); 384 QualType ArgType::getRepresentativeType(ASTContext &C) const { 388 llvm_unreachable("No representative type for Invalid ArgType"); 390 llvm_unreachable("No representative type for Unknown ArgType"); 420 std::string ArgType::getRepresentativeTypeName(ASTContext &C) const { 428 // If ArgType i [all...] |
/external/clang/test/SemaTemplate/ |
H A D | instantiate-expr-3.cpp | 94 template<typename ArgType> 100 (void)__builtin_va_arg(va, ArgType); 107 template<typename VaList, typename ArgType> 113 (void)__builtin_va_arg(va, ArgType); // expected-error{{int}}
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | FormatString.h | 208 class ArgType { class in namespace:clang::analyze_format_string 218 ArgType(Kind k = UnknownTy, const char *n = 0) : K(k), Name(n), Ptr(false) {} function in class:clang::analyze_format_string::ArgType 219 ArgType(QualType t, const char *n = 0) function in class:clang::analyze_format_string::ArgType 221 ArgType(CanQualType t) : K(SpecificTy), T(t), Name(0), Ptr(false) {} function in class:clang::analyze_format_string::ArgType 223 static ArgType Invalid() { return ArgType(InvalidTy); } 226 /// Create an ArgType which corresponds to the type pointer to A. 227 static ArgType PtrTo(const ArgType& A) { 228 assert(A.K >= InvalidTy && "ArgType canno [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | destructors.cpp | 355 struct ArgType { struct in namespace:test9 356 ~ArgType(); 359 void f1(const ArgType& = ArgType()); 365 // CHECK: call void @_ZN5test97ArgTypeD1Ev(%"struct.test9::ArgType"* %
|
/external/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 819 QualType ArgType) { 821 Qualifiers ArgQs = ArgType.getQualifiers(); 2800 QualType ArgType = GetTypeOfFunction(S.Context, R, Fn); local 2801 if (ArgType.isNull()) continue; 2805 ArgType->isFunctionType()) 2806 ArgType = S.Context.getPointerType(ArgType); 2825 ArgType, Info, Deduced, TDF); 2828 Match = ArgType; 2842 QualType &ArgType, 818 hasInconsistentOrSupersetQualifiersOf(QualType ParamType, QualType ArgType) argument 2839 AdjustFunctionParmAndArgTypesForDeduction(Sema &S, TemplateParameterList *TemplateParams, QualType &ParamType, QualType &ArgType, Expr *Arg, unsigned &TDF) argument 2980 QualType ArgType = Arg->getType(); local 3081 QualType ArgType = Arg->getType(); local 3174 QualType ArgType = Arg->getType(); local [all...] |
H A D | SemaTemplate.cpp | 2516 QualType ArgType = Context.getCanonicalType(Arg.getAsType()); 2522 ArgType->isObjCLifetimeType() && 2523 !ArgType.getObjCLifetime()) { 2526 ArgType = Context.getQualifiedType(ArgType, Qs); 2529 Converted.push_back(TemplateArgument(ArgType)); 2561 TypeSourceInfo *ArgType = Param->getDefaultArgumentInfo(); local 2565 if (ArgType->getType()->isDependentType()) { 2579 ArgType = SemaRef.SubstType(ArgType, AllTemplateArg 3675 QualType ArgType = Arg->getType(); local 4185 QualType ArgType = Arg->getType(); local 4309 QualType ArgType = Arg->getType(); local [all...] |
H A D | SemaDeclObjC.cpp | 2838 QualType ArgType; local 2842 ArgType = Context.getObjCIdType(); 2845 ArgType = GetTypeFromParser(ArgInfo[i].Type, &DI); 2847 ArgType = Context.getAdjustedParameterType(ArgType); 2871 ArgType, DI, SC_None, SC_None); 2893 QualType ArgType = Param->getType(); local 2894 if (ArgType.isNull()) 2895 ArgType = Context.getObjCIdType(); 2898 ArgType [all...] |
H A D | SemaDeclCXX.cpp | 4133 QualType ArgType = ExpectedParams ? Type->getArgType(0) : QualType(); local 4135 if (ExpectedParams && ArgType->isReferenceType()) { 4137 QualType ReferentType = ArgType->getPointeeType(); 4182 Context.getFunctionType(ReturnType, &ArgType, ExpectedParams, EPI)); 5669 QualType ArgType = Ctor->getParamDecl(0)->getType(); 5670 if (const ReferenceType *RT = ArgType->getAs<ReferenceType>()) 5671 ArgType = RT->getPointeeType().getUnqualifiedType(); 5673 return isStdInitializerList(ArgType, 0); 7602 QualType ArgType = Context.getTypeDeclType(ClassDecl); local 7603 QualType RetType = Context.getLValueReferenceType(ArgType); 8138 QualType ArgType = Context.getTypeDeclType(ClassDecl); local 8641 QualType ArgType = ClassType; local 8823 QualType ArgType = Context.getRValueReferenceType(ClassType); local [all...] |
H A D | SemaLookup.cpp | 2152 QualType ArgType = Proto->getArgType(0).getNonReferenceType(); local 2153 if (Context.hasSameUnqualifiedType(T1, ArgType)) 2161 QualType ArgType = Proto->getArgType(1).getNonReferenceType(); local 2162 if (Context.hasSameUnqualifiedType(T2, ArgType)) 2285 QualType ArgType = CanTy; local 2309 ArgType.addConst(); 2311 ArgType.addVolatile(); 2326 OpaqueValueExpr FakeArg(SourceLocation(), ArgType, VK); local
|
H A D | SemaInit.cpp | 3934 QualType ArgType = Initializer->getType(); local 3936 if (const ArrayType *ArgArrayType = S.Context.getAsArrayType(ArgType)) { 3939 ArgType = S.Context.getPointerType(ArgPointee); 3944 if (!S.isObjCWritebackConversion(ArgType, Entity.getType(),
|
/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 267 llvm::Type *ArgType = ArgValue->getType(); local 268 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType); 284 llvm::Type *ArgType = ArgValue->getType(); local 285 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType); 301 llvm::Type *ArgType = ArgValue->getType(); local 302 Value *F = CGM.getIntrinsic(Intrinsic::cttz, ArgType); 307 llvm::ConstantInt::get(ArgType, 1)); 308 Value *Zero = llvm::Constant::getNullValue(ArgType); 322 llvm::Type *ArgType = ArgValue->getType(); local 323 Value *F = CGM.getIntrinsic(Intrinsic::ctpop, ArgType); 338 llvm::Type *ArgType = ArgValue->getType(); local 350 llvm::Type *ArgType = ArgValue->getType(); local 362 llvm::Type *ArgType = ArgValue->getType(); local 422 llvm::Type *ArgType = Base->getType(); local 1270 llvm::Type *ArgType = Base->getType(); local 1283 llvm::Type *ArgType = FirstArg->getType(); local [all...] |
H A D | CodeGenFunction.h | 2543 void EmitCallArg(CallArgList &args, const Expr *E, QualType ArgType); 2596 QualType ArgType = *I; local 2599 if (ArgType->isPointerType() && ActualArgType->isPointerType()) { 2603 ArgType->getAs<PointerType>()->getPointeeType(); 2608 ActualArgType = ArgType; 2612 assert(getContext().getCanonicalType(ArgType.getNonReferenceType()). 2617 EmitCallArg(Args, *Arg, ArgType);
|
H A D | CGClass.cpp | 1319 QualType ArgType = Arg->getType(); local 1320 EmitCallArg(Args, *Arg, ArgType);
|
/external/clang/include/clang/AST/ |
H A D | ExprObjC.h | 685 QualType ArgType; local 689 ArgType = (*P)->getType(); 694 ArgType = (*P)->getType(); 696 if (ArgType.isNull()) 697 ArgType = getType(); 699 return ArgType;
|
/external/clang/lib/AST/ |
H A D | ASTDiagnostic.cpp | 889 QualType &ArgType) { 890 ArgType = QualType(); 894 ArgType = Iter->getAsType(); 896 ArgType = DefaultTTPD->getDefaultArgument(); 888 GetType(const TSTiterator &Iter, TemplateTypeParmDecl *DefaultTTPD, QualType &ArgType) argument
|
H A D | DeclTemplate.cpp | 185 QualType ArgType = Context.getTypeDeclType(TTP); local 187 ArgType = Context.getPackExpansionType(ArgType, 190 Arg = TemplateArgument(ArgType);
|
H A D | DeclCXX.cpp | 416 QualType ArgType = FnType->getArgType(0); local 418 if (const LValueReferenceType *Ref = ArgType->getAs<LValueReferenceType>()) { 419 ArgType = Ref->getPointeeType(); 422 if (ArgIsConst && !ArgType.isConstQualified()) 425 Quals = ArgType.getQualifiers(); 432 if (!Context.hasSameUnqualifiedType(ArgType, Class))
|
H A D | ExprCXX.cpp | 146 const QualType ArgType = Arg->getType(); local 148 if (ArgType->isDependentType() && !ArgType->isPointerType()) 151 return ArgType->getAs<PointerType>()->getPointeeType();
|
/external/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 1526 char ArgType = Proto[arg]; local 1527 if (ArgType == 'c') { 1532 if (ArgType == 'p') {
|
/external/chromium/testing/gmock/include/gmock/ |
H A D | gmock-matchers.h | 1801 template <typename ArgType, typename ResType> 1802 struct CallableTraits<ResType(*)(ArgType)> { 1804 typedef ResType(*StorageType)(ArgType); 1806 static void CheckIsValid(ResType(*f)(ArgType)) { 1811 static ResType Invoke(ResType(*f)(ArgType), T arg) {
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SimplifyLibCalls.cpp | 1110 Type *ArgType = Op->getType(); local 1112 Intrinsic::cttz, ArgType); 1117 Value *Cond = B.CreateICmpNE(Op, Constant::getNullValue(ArgType));
|
/external/llvm/include/llvm/ |
H A D | IRBuilder.h | 1284 PointerType *ArgType = cast<PointerType>(LHS->getType()); local 1289 ConstantExpr::getSizeOf(ArgType->getElementType()),
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | BBVectorize.cpp | 1872 Type *ArgType = ArgTypeL; local 1910 ArgType = ArgTypeH; 1945 if (ArgType->isVectorTy()) {
|