Searched refs:QT (Results 1 – 7 of 7) sorted by relevance
/frameworks/compile/slang/ |
D | slang_rs_export_var.cpp | 98 clang::QualType QT = VD->getTypeSourceInfo()->getType(); in RSExportVar() local 99 if (!QT.isNull()) { in RSExportVar() 100 mIsConst = QT.isConstQualified(); in RSExportVar() 101 mIsUnsigned = QT->hasUnsignedIntegerRepresentation(); in RSExportVar() 102 if (QT == Context->getASTContext().BoolTy) { in RSExportVar()
|
D | slang_rs_export_foreach.cpp | 157 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructOldStyleParams() local 159 if (!QT->isPointerType()) { in validateAndConstructOldStyleParams() 171 if (!QT->getPointeeType().isConstQualified()) { in validateAndConstructOldStyleParams() 267 clang::QualType QT = PVD->getType().getCanonicalType(); in validateAndConstructKernelParams() local 268 if (QT->isPointerType()) { in validateAndConstructKernelParams() 315 const clang::QualType QT = Type.getCanonicalType(); in processSpecialParameters() local 316 const clang::QualType UT = QT.getUnqualifiedType(); in processSpecialParameters() 489 clang::QualType QT = PVD->getType().getCanonicalType(); in Create() local 490 slangAssert(QT->isPointerType() && in Create() 491 QT->getPointeeType().isConstQualified()); in Create() [all …]
|
D | slang_rs_check_ast.cpp | 164 clang::QualType QT = PVD->getType().getCanonicalType(); in ValidateFunctionDecl() local 165 if (!RSExportType::ValidateType(Context, C, QT, PVD, PVD->getLocStart(), in ValidateFunctionDecl() 187 clang::QualType QT = VD->getType(); in ValidateVarDecl() local 191 const clang::Type *T = QT.getTypePtr(); in ValidateVarDecl() 199 if (!QT.isConstQualified()) { in ValidateVarDecl() 236 clang::QualType QT = CE->getType(); in VisitCastExpr() local 237 const clang::Type *T = QT.getTypePtr(); in VisitCastExpr()
|
D | slang_rs_export_type.h | 44 inline const clang::Type* GetCanonicalType(clang::QualType QT) { in GetCanonicalType() argument 45 return GetCanonicalType(QT.getTypePtr()); in GetCanonicalType() 238 clang::QualType QT, clang::NamedDecl *ND,
|
D | slang_rs_object_ref_count.cpp | 997 clang::QualType QT = LHS->getType(); in CreateStructRSSetObject() local 998 const clang::Type *T = QT.getTypePtr(); in CreateStructRSSetObject() 1093 new(C) clang::BinaryOperator(LHS, RHS, clang::BO_Assign, QT, in CreateStructRSSetObject() 1111 clang::QualType QT = AS->getType(); in ReplaceRSObjectAssignment() local 1120 if (!RSExportPrimitiveType::IsRSObjectType(QT.getTypePtr())) { in ReplaceRSObjectAssignment() 1492 clang::QualType QT = AS->getType(); in VisitBinAssign() local 1494 if (CountRSObjectTypes(mCtx, QT.getTypePtr(), AS->getExprLoc())) { in VisitBinAssign()
|
D | slang_rs_export_type.cpp | 539 clang::QualType QT = T->getCanonicalTypeInternal(); in ValidateTypeHelper() local 540 if (QT == C.DoubleTy || in ValidateTypeHelper() 541 QT == C.LongDoubleTy || in ValidateTypeHelper() 542 QT == C.LongTy || in ValidateTypeHelper() 543 QT == C.LongLongTy) { in ValidateTypeHelper() 671 clang::QualType QT, clang::NamedDecl *ND, in ValidateType() argument 675 const clang::Type *T = QT.getTypePtr(); in ValidateType()
|
D | slang_backend.cpp | 450 clang::QualType QT = PVD->getOriginalType(); in HandleTopLevelDecl() local 451 if (QT->isArrayType()) { in HandleTopLevelDecl() 455 << QT; in HandleTopLevelDecl()
|