/external/mesa3d/src/gallium/state_trackers/clover/core/ |
H A D | module.cpp | 94 template<typename S, typename QT> 96 proc(S &s, QT &x) { 106 template<typename S, typename QT> 108 proc(S &s, QT &x) { 117 template<typename S, typename QT> 119 proc(S &s, QT &x) { 129 template<typename S, typename QT> 131 proc(S &s, QT &x) {
|
/external/clang/lib/Analysis/ |
H A D | PrintfFormatString.cpp | 488 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt, argument 498 if (QT->isObjCRetainableType()) { 517 if (QT->isPointerType() && (QT->getPointeeType()->isAnyCharacterType())) { 525 if (QT->getPointeeType()->isWideCharType()) 534 if (const EnumType *ETy = QT->getAs<EnumType>()) 535 QT = ETy->getDecl()->getIntegerType(); 538 const BuiltinType *BT = QT->getAs<BuiltinType>(); 599 if (isa<TypedefType>(QT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) 600 namedTypeToLengthModifier(QT, L [all...] |
H A D | Consumed.cpp | 141 static bool isConsumableType(const QualType &QT) { argument 142 if (QT->isPointerType() || QT->isReferenceType()) 145 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) 151 static bool isAutoCastType(const QualType &QT) { argument 152 if (QT->isPointerType() || QT->isReferenceType()) 155 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) 161 static bool isSetOnReadPtrType(const QualType &QT) { argument 162 if (const CXXRecordDecl *RD = QT 192 mapConsumableAttrState(const QualType QT) argument [all...] |
H A D | ScanfFormatString.cpp | 402 bool ScanfSpecifier::fixType(QualType QT, QualType RawQT, argument 410 if (!QT->isPointerType()) 413 QualType PT = QT->getPointeeType(); 495 if (AT.isValid() && AT.matchesType(Ctx, QT))
|
H A D | FormatString.cpp | 874 bool FormatSpecifier::namedTypeToLengthModifier(QualType QT, argument 876 assert(isa<TypedefType>(QT) && "Expected a TypedefType"); 877 const TypedefNameDecl *Typedef = cast<TypedefType>(QT)->getDecl();
|
H A D | UninitializedValues.cpp | 436 static bool isPointerToConst(const QualType &QT) { argument 437 return QT->isAnyPointerType() && QT->getPointeeType().isConstQualified();
|
H A D | CFG.cpp | 1222 QualType QT = FI->getType(); local 1223 if (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { 1226 QT = AT->getElementType(); 1229 if (const CXXRecordDecl *CD = QT->getAsCXXRecordDecl()) 1304 QualType QT = VD->getType(); local 1305 if (QT.getTypePtr()->isReferenceType()) { 1322 QT = getReferenceInitTemporaryType(*Context, Init); 1326 while (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { 1329 QT = AT->getElementType(); 1333 if (const CXXRecordDecl *CD = QT [all...] |
/external/clang/tools/libclang/ |
H A D | CXType.cpp | 703 QualType QT = GetQualType(T); local 707 if (QT->isReferenceType()) 708 QT = QT.getNonReferenceType(); 709 if (QT->isIncompleteType()) 711 if (QT->isDependentType()) 714 // if (QT->isFunctionType()) return 4; // Bug #15511 - should be 1 715 // if (QT->isVoidType()) return 1; 716 return Ctx.getTypeAlignInChars(QT).getQuantity(); 734 QualType QT local 855 QualType QT = GetQualType(T); local [all...] |
/external/clang/lib/AST/ |
H A D | ASTTypeTraits.cpp | 120 else if (const QualType *QT = get<QualType>()) 121 QT->print(OS, PP);
|
H A D | ASTDiagnostic.cpp | 29 static QualType Desugar(ASTContext &Context, QualType QT, bool &ShouldAKA) { argument 33 const Type *Ty = QC.strip(QT); 37 QT = ET->desugar(); 42 QT = PT->desugar(); 48 QT = ST->desugar(); 53 QT = AT->desugar(); 58 QT = AT->desugar(); 65 QT = AT->desugar(); 114 if (const TypedefType *QTT = dyn_cast<TypedefType>(QT)) 120 QT [all...] |
H A D | ExprCXX.cpp | 58 const UuidAttr *CXXUuidofExpr::GetUuidAttrOfType(QualType QT, argument 61 const Type *Ty = QT.getTypePtr(); 62 if (QT->isPointerType() || QT->isReferenceType()) 63 Ty = QT->getPointeeType().getTypePtr(); 64 else if (QT->isArrayType())
|
H A D | ASTContext.cpp | 480 QualType QT = TD->getUnderlyingType(); local 481 if (const TagType *TT = QT->getAs<TagType>()) 3572 if (ObjCObjectType *QT = ObjCObjectTypes.FindNodeOrInsertPos(ID, InsertPos)) 3573 return QualType(QT, 0); 3609 /// protocol list adopt all protocols in QT's qualified-id protocol 3611 bool ASTContext::ObjCObjectAdoptsQTypeProtocols(QualType QT, argument 3613 if (!QT->isObjCQualifiedIdType()) 3616 if (const ObjCObjectPointerType *OPT = QT->getAs<ObjCObjectPointerType>()) { 3628 /// QT's qualified-id protocol list adopt all protocols in IDecl's list 3630 bool ASTContext::QIdProtocolsAdoptObjCObjectProtocols(QualType QT, argument 5004 getObjCEncodingForMethodParameter(Decl::ObjCDeclQualifier QT, QualType T, std::string& S, bool Extended) const argument 5849 getObjCEncodingForTypeQualifier(Decl::ObjCDeclQualifier QT, std::string& S) const argument [all...] |
H A D | CommentSema.cpp | 842 QualType QT = VD->getType(); local 843 return QT->isFunctionPointerType();
|
H A D | Decl.cpp | 1674 // Helper function: returns true if QT is or contains a type 1676 bool typeIsPostfix(clang::QualType QT) { argument 1678 const Type* T = QT.getTypePtr(); 1683 QT = cast<PointerType>(T)->getPointeeType(); 1686 QT = cast<BlockPointerType>(T)->getPointeeType(); 1689 QT = cast<MemberPointerType>(T)->getPointeeType(); 1693 QT = cast<ReferenceType>(T)->getPointeeType(); 1696 QT = cast<PackExpansionType>(T)->getPattern();
|
/external/clang/include/clang/AST/ |
H A D | TemplateBase.h | 79 void *QT; member in struct:clang::TemplateArgument::DA 135 TemplateArgument(ValueDecl *D, QualType QT) { argument 138 DeclArg.QT = QT.getAsOpaquePtr(); 254 return QualType::getFromOpaquePtr(DeclArg.QT);
|
H A D | ASTContext.h | 1174 bool ObjCObjectAdoptsQTypeProtocols(QualType QT, ObjCInterfaceDecl *Decl); 1176 /// QT's qualified-id protocol list adopt all protocols in IDecl's list 1178 bool QIdProtocolsAdoptObjCObjectProtocols(QualType QT, 1407 /// \brief Put the string version of the type qualifiers \p QT into \p S. 1408 void getObjCEncodingForTypeQualifier(Decl::ObjCDeclQualifier QT, 1924 QualType getBaseElementType(QualType QT) const; 2317 void getObjCEncodingForMethodParameter(Decl::ObjCDeclQualifier QT,
|
/external/clang/include/clang/Analysis/Analyses/ |
H A D | FormatString.h | 391 /// For a TypedefType QT, if it is a named integer type such as size_t, 393 static bool namedTypeToLengthModifier(QualType QT, LengthModifier &LM); 516 bool fixType(QualType QT, const LangOptions &LangOpt, ASTContext &Ctx, 590 bool fixType(QualType QT, QualType RawQT, const LangOptions &LangOpt,
|
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 565 bool PointerTypeTakesAnyBlockArguments(QualType QT); 566 bool PointerTypeTakesAnyObjCQualifiedType(QualType QT); 1323 QualType QT = PDecl->getType(); local 1325 (void)convertBlockPointerToFunctionPointer(QT); 1326 QT.getAsStringInternal(Name, Context->getPrintingPolicy()); 2299 QualType QT = ND->getType(); local 2300 const Type* TypePtr = QT->getAs<Type>(); 2305 QT = TypeOfExprTypePtr->getUnderlyingExpr()->getType(); 2306 TypePtr = QT->getAs<Type>(); 2310 std::string TypeAsString(QT 4004 QualType QT = GetGroupRecordTypeForObjCIvarBitfield(IV); local 4162 QualType QT = (*AI)->getType(); local 4210 QualType QT = (*I)->getType(); local 4304 QualType QT = (*I)->getType(); local 4830 QualType QT = CE->getType(); local 4908 PointerTypeTakesAnyBlockArguments(QualType QT) argument 4926 PointerTypeTakesAnyObjCQualifiedType(QualType QT) argument 5429 QualType QT = (*I)->getType(); local 5445 QualType QT = (*I)->getType(); local [all...] |
H A D | RewriteObjC.cpp | 465 bool PointerTypeTakesAnyBlockArguments(QualType QT); 466 bool PointerTypeTakesAnyObjCQualifiedType(QualType QT); 1128 QualType QT = PDecl->getType(); local 1130 (void)convertBlockPointerToFunctionPointer(QT); 1131 QT.getAsStringInternal(Name, Context->getPrintingPolicy()); 2187 QualType QT = ND->getType(); local 2188 const Type* TypePtr = QT->getAs<Type>(); 2193 QT = TypeOfExprTypePtr->getUnderlyingExpr()->getType(); 2194 TypePtr = QT->getAs<Type>(); 2198 std::string TypeAsString(QT 3299 QualType QT = (*AI)->getType(); local 3347 QualType QT = (*I)->getType(); local 3441 QualType QT = (*I)->getType(); local 3925 QualType QT = CE->getType(); local 3986 PointerTypeTakesAnyBlockArguments(QualType QT) argument 4004 PointerTypeTakesAnyObjCQualifiedType(QualType QT) argument 4490 QualType QT = (*I)->getType(); local 4506 QualType QT = (*I)->getType(); local [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LLVMConventionsChecker.cpp | 52 if (const ElaboratedType *QT = T->getAs<ElaboratedType>()) 53 T = QT->getNamedType();
|
H A D | UnixAPIChecker.cpp | 100 QualType QT = Arg->getType(); local 101 if (!QT->isIntegerType()) {
|
/external/clang/lib/Sema/ |
H A D | DeclSpec.cpp | 328 QualType QT = DS.getRepAsType().get(); local 329 if (QT.isNull()) 332 if (const LocInfoType *LIT = dyn_cast<LocInfoType>(QT)) 333 QT = LIT->getType(); 335 if (QT.isNull()) 338 return QT->isFunctionType();
|
H A D | SemaStmt.cpp | 3414 QualType QT; member in class:CatchHandlerType 3421 CatchHandlerType(QualType QT, Unique) : QT(QT), IsPointer(false) {} argument 3427 CatchHandlerType(QualType Q) : QT(Q), IsPointer(false) { 3428 if (QT->isPointerType()) 3431 if (IsPointer || QT->isReferenceType()) 3432 QT = QT->getPointeeType(); 3433 QT 3439 CatchHandlerType(QualType QT, bool IsPointer) argument [all...] |
H A D | SemaDeclAttr.cpp | 351 QualType QT = Exp->getType(); local 352 return QT->isBooleanType() || QT->isIntegerType(); 378 QualType QT = vd->getType(); local 379 if (QT->isAnyPointerType()) 382 if (const RecordType *RT = QT->getAs<RecordType>()) { 394 << Attr.getName() << QT; 400 static const RecordType *getRecordType(QualType QT) { argument 401 if (const RecordType *RT = QT->getAs<RecordType>()) 405 if (const PointerType *PT = QT 1118 QualType QT = S.GetTypeFromParser(PT, &QTLoc); local 1152 QualType QT = I->getType(); local [all...] |
/external/clang/lib/CodeGen/ |
H A D | TargetInfo.cpp | 3339 QualType QT(T, 0); 3340 I.info = ABIArgInfo::getDirectInReg(CGT.ConvertType(QT)); 3369 unsigned getOpenMPSimdDefaultAlignment(QualType QT) const override { 3371 if (const PointerType *PT = QT->getAs<PointerType>()) 6766 static void appendQualifier(SmallStringEnc &Enc, QualType QT) { argument 6770 if (QT.isConstQualified()) 6772 if (QT.isRestrictQualified()) 6774 if (QT.isVolatileQualified()) 6850 static bool appendArrayType(SmallStringEnc &Enc, QualType QT, argument 6863 appendQualifier(Enc, QT); 6910 QualType QT = QType.getCanonicalType(); local [all...] |