Home | History | Annotate | Download | only in AST

Lines Matching defs:ObjType

2379   QualType ObjType = Obj.Type;
2395 if (ObjType->isRecordType() && handler.AccessKind == AK_Read &&
2396 diagnoseUnreadableFields(Info, E, ObjType))
2399 if (!handler.found(*O, ObjType))
2412 if (ObjType->isArrayType()) {
2414 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType);
2428 ObjType = CAT->getElementType();
2439 return handler.foundString(*O, ObjType, Index);
2449 } else if (ObjType->isAnyComplexType()) {
2461 bool WasConstQualified = ObjType.isConstQualified();
2462 ObjType = ObjType->castAs<ComplexType>()->getElementType();
2464 ObjType.addConst();
2469 : O->getComplexIntReal(), ObjType);
2473 : O->getComplexFloatReal(), ObjType);
2484 RecordDecl *RD = ObjType->castAs<RecordType>()->getDecl();
2497 bool WasConstQualified = ObjType.isConstQualified();
2498 ObjType = Field->getType();
2500 ObjType.addConst();
2502 if (ObjType.isVolatileQualified()) {
2517 const CXXRecordDecl *Derived = ObjType->getAsCXXRecordDecl();
2521 bool WasConstQualified = ObjType.isConstQualified();
2522 ObjType = Info.Ctx.getRecordType(Base);
2524 ObjType.addConst();
2631 static unsigned FindDesignatorMismatch(QualType ObjType,
2637 if (!ObjType.isNull() &&
2638 (ObjType->isArrayType() || ObjType->isAnyComplexType())) {
2644 if (ObjType->isAnyComplexType())
2645 ObjType = ObjType->castAs<ComplexType>()->getElementType();
2647 ObjType = ObjType->castAsArrayTypeUnsafe()->getElementType();
2655 ObjType = FD->getType();
2658 ObjType = QualType();
2667 static bool AreElementsOfSameArray(QualType ObjType,
2682 unsigned CommonLength = FindDesignatorMismatch(ObjType, A, B, WasArrayIndex);