Lines Matching defs:QT
143 static bool isConsumableType(const QualType &QT) {
144 if (QT->isPointerOrReferenceType())
147 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl())
153 static bool isAutoCastType(const QualType &QT) {
154 if (QT->isPointerOrReferenceType())
157 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl())
163 static bool isSetOnReadPtrType(const QualType &QT) {
164 if (const CXXRecordDecl *RD = QT->getPointeeCXXRecordDecl())
189 static ConsumedState mapConsumableAttrState(const QualType QT) {
190 assert(isConsumableType(QT));
193 QT->getAsCXXRecordDecl()->getAttr<ConsumableAttr>();