/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateDeduction.cpp | 579 const RecordType *RecordArg = dyn_cast<RecordType>(Arg); 1770 const RecordType *RecordT = Arg->getAs<RecordType>(); 1807 llvm::SmallPtrSet<const RecordType *, 8> Visited; 1808 SmallVector<const RecordType *, 8> ToVisit; 1814 const RecordType *NextT = ToVisit.pop_back_val(); 1853 ToVisit.push_back(Base.getType()->getAs<RecordType>());
|
H A D | SemaLookup.cpp | 2073 RecordDecl *BaseRecord = Specifier->getType()->castAs<RecordType>()->getDecl(); 2451 BaseSpec.getType()->castAs<RecordType>()->getDecl()); 2723 const RecordType *BaseType = Base.getType()->getAs<RecordType>(); 2804 cast<CXXRecordDecl>(cast<RecordType>(T)->getDecl()); 3796 const auto *Record = BaseType->getAs<RecordType>();
|
H A D | SemaOverload.cpp | 1449 if (ToType->getAs<RecordType>() && FromType->getAs<RecordType>() && 2040 const RecordType *UT = ToType->getAsUnionType(); 3153 if (const RecordType *VBase = Paths.getDetectedVirtual()) { 3422 if (const RecordType *ToRecordType = ToType->getAs<RecordType>()) { 3432 (From->getType()->getAs<RecordType>() && 3506 } else if (const RecordType *FromRecordType = 3507 From->getType()->getAs<RecordType>()) { 4552 auto *T2RecordDecl = cast<CXXRecordDecl>(T2->castAs<RecordType>() [all...] |
H A D | SemaDeclObjC.cpp | 3197 if (!isa<RecordType>(lt) || !isa<RecordType>(rt)) return false; 3198 RecordDecl *left = cast<RecordType>(lt)->getDecl(); 3199 RecordDecl *right = cast<RecordType>(rt)->getDecl(); 3815 const auto *RecordTy = T->getAs<RecordType>(); 3861 } else if (const RecordType *RecordTy = IvarTy->getAs<RecordType>()) {
|
H A D | SemaDecl.cpp | 4685 else if (const RecordType *RT = 4688 else if (const RecordType *UT = DS.getRepAsType().get()->getAsUnionType()) 8062 Specifier->getType()->castAs<RecordType>()->getDecl(); 8686 // At this point we already handled everything except of a RecordType or 8687 // an ArrayType of a RecordType. 8689 const RecordType *RecTy = 8690 PT->getPointeeOrArrayElementType()->getAs<RecordType>(); 8720 RD = FieldRecTy->castAs<RecordType>()->getDecl(); 11696 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl(); 11761 const RecordDecl *RD = QT->castAs<RecordType>() [all...] |
H A D | SemaPseudoObject.cpp | 1053 const RecordType *RecordTy = T->getAs<RecordType>();
|
H A D | SemaDeclAttr.cpp | 171 const auto *RT = PT->getPointeeType()->getAs<RecordType>(); 464 static bool threadSafetyCheckIsSmartPointer(Sema &S, const RecordType* RT) { 507 if (const auto *RT = QT->getAs<RecordType>()) { 522 /// Checks that the passed in QualType either is of RecordType or points 523 /// to RecordType. Returns the relevant RecordType, null if it does not exit. 524 static const RecordType *getRecordType(QualType QT) { 525 if (const auto *RT = QT->getAs<RecordType>()) 530 return PT->getPointeeType()->getAs<RecordType>(); 550 return Ty.castAs<RecordType>() [all...] |
H A D | SemaExpr.cpp | 2907 QualType QRecordType = QualType(QType->getAs<RecordType>(), 0); 6710 dyn_cast<RecordType>(Args[i]->getType().getCanonicalType())) { 8122 if (const RecordType *LHSRT = LHSTy->getAs<RecordType>()) { // C99 6.5.15p3 8123 if (const RecordType *RHSRT = RHSTy->getAs<RecordType>()) 9245 const RecordType *UT = ArgType->getAsUnionType(); 12493 const RecordType *Ty, 12497 std::vector<const RecordType *> RecordTypeList; 12522 if (const auto *FieldRecTy = FieldTy->getAs<RecordType>()) { [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjCMac.cpp | 995 void BuildRCBlockVarRecordLayout(const RecordType *RT, 2352 void visitRecord(const RecordType *RT, CharUnits offset); 2444 if (const RecordType *record = type->getAs<RecordType>()) { 2539 BuildRCBlockVarRecordLayout(FQT->getAs<RecordType>(), 2556 auto *RT = FQT->castAs<RecordType>(); 2623 void CGObjCCommonMac::BuildRCBlockVarRecordLayout(const RecordType *RT, 2963 if (const RecordType *record = type->getAs<RecordType>()) { 2998 if (const RecordType *recor [all...] |
H A D | CGDecl.cpp | 1462 if (const RecordType *RecordTy = Ty->getAs<RecordType>()) { 2418 Ty->castAs<RecordType>()->getDecl()->isParamDestroyedInCallee()) {
|
H A D | CGExpr.cpp | 331 if (const RecordType *RT = 332 E->getType()->getBaseElementTypeUnsafe()->getAs<RecordType>()) { 1431 if (const auto *RT = dyn_cast<RecordType>(type)) 3572 if (const auto *RecT = dyn_cast<RecordType>(PointeeT)) 4593 E->getSubExpr()->getType()->castAs<RecordType>(); 4613 const auto *DerivedClassTy = E->getType()->castAs<RecordType>();
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 4022 if (const auto *Record = getType()->getAs<RecordType>()) 4049 const auto *RT = getType()->getAs<RecordType>(); 4428 const RecordType *RT = FD->getType()->getAs<RecordType>(); 4534 if (const auto *RT = I->getType()->getAs<RecordType>())
|
H A D | Expr.cpp | 73 const RecordType *Ty = DerivedType->castAs<RecordType>(); 91 cast<CXXRecordDecl>(E->getType()->castAs<RecordType>()->getDecl()); 1869 auto RD = unionType->castAs<RecordType>()->getDecl(); 3235 RecordDecl *RD = ILE->getType()->castAs<RecordType>()->getDecl(); 3824 if (const RecordType *UT = getType()->getAsUnionType())
|
H A D | ASTDiagnostic.cpp | 1090 const RecordType *RT = Ty->getAs<RecordType>();
|
H A D | ASTContext.cpp | 1786 if (const auto *RT = T->getAs<RecordType>()) { 2232 const auto *RT = cast<RecordType>(TT); 2329 if (const auto *RT = T->getAs<RecordType>()) { 2528 const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl(); 2556 Context, Base.getType()->castAs<RecordType>()->getDecl()); 2647 const RecordDecl *Record = Ty->castAs<RecordType>()->getDecl(); 4413 auto *newType = new (*this, TypeAlignment) RecordType(Decl); 6484 CFConstantStringTypeDecl->getUnderlyingType()->castAs<RecordType>(); 7313 } else if (const auto *RTy = PointeeTy->getAs<RecordType>()) { 7376 RecordDecl *RDecl = cast<RecordType>(C [all...] |
H A D | CommentSema.cpp | 977 if (auto *ThisRecordType = dyn_cast<RecordType>(DesugaredTypePtr)) {
|
H A D | ASTImporter.cpp | 370 ExpectedType VisitRecordType(const RecordType *T); 1395 ExpectedType ASTNodeImporter::VisitRecordType(const RecordType *T) { 1614 auto *RT = dyn_cast<RecordType>(LeafT); 1747 const RecordType *RecordFrom = FieldFrom->getType()->getAs<RecordType>(); 1748 const RecordType *RecordTo = FieldTo->getType()->getAs<RecordType>(); 3112 if (const RecordType *RecordT = 3113 DeducedT.isNull() ? nullptr : dyn_cast<RecordType>(DeducedT)) {
|
H A D | ExprConstant.cpp | 2242 RecordDecl *RD = Type->castAs<RecordType>()->getDecl(); 3551 RecordDecl *RD = ObjType->castAs<RecordType>()->getDecl(); 6700 Optional<APValue> visit(const RecordType *RTy, CharUnits Offset) { 7380 assert(BaseTy->castAs<RecordType>()->getDecl()->getCanonicalDecl() == 7604 assert(BaseTy->castAs<RecordType>()->getDecl()->getCanonicalDecl() == 9315 const RecordDecl *RD = T->castAs<RecordType>()->getDecl(); 9378 const RecordDecl *RD = E->getType()->castAs<RecordType>()->getDecl(); 9563 RecordDecl *Record = E->getType()->castAs<RecordType>()->getDecl(); 12603 const RecordType *RT = CurrentType->getAs<RecordType>(); [all...] |
H A D | ExprCXX.cpp | 756 cast<CXXRecordDecl>(SrcType->castAs<RecordType>()->getDecl()); 762 cast<CXXRecordDecl>(DestType->castAs<RecordType>()->getDecl());
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 2069 const RecordDecl *RD = R->getValueType()->castAs<RecordType>()->getDecl(); 2337 const RecordType* RT = T->castAs<RecordType>();
|
H A D | CallEvent.cpp | 110 if (const RecordType *RT = T->getAsStructureType()) {
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Type.h | 2249 const RecordType *getAsStructureType() const; 2251 const RecordType *getAsUnionType() const; 2263 /// because the type is a RecordType or because it is the injected-class-name 2275 /// If this is a pointer or reference to a RecordType, return the 2842 /// RecordType, but could be a typedef or a template parameter too. 4613 class RecordType : public TagType { 4617 explicit RecordType(const RecordDecl *D) 4619 explicit RecordType(TypeClass TC, RecordDecl *D) 5088 /// typically for a \c RecordType. For example, a class template 5223 /// equivalent for non-templated classes is just RecordType [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugInfo.cpp | 942 LLVMDWARFMacinfoRecordType RecordType, 947 static_cast<MacinfoRecordType>(RecordType), 939 LLVMDIBuilderCreateMacro(LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, unsigned Line, LLVMDWARFMacinfoRecordType RecordType, const char *Name, size_t NameLen, const char *Value, size_t ValueLen) argument
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CallAndMessageChecker.cpp | 255 if (const RecordType *RT = T->getAsStructureType()) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 1066 const RecordType *RecordTy = UPointeeT->getAs<RecordType>();
|