Searched refs:RecordType (Results 76 - 100 of 145) sorted by relevance

123456

/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp41 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl();
457 SourceLocation Loc = QT->castAs<RecordType>()->getDecl()->getLocation();
661 if (Size < CharUnits::fromQuantity(16) || EltTy->getAs<RecordType>()) {
H A DCGCall.cpp931 if (const RecordType *RT = Ty->getAs<RecordType>()) {
1793 if (const RecordType *RT =
1794 ReturnType.getCanonicalType()->getAs<RecordType>()) {
3400 static void setUsedBits(CodeGenModule &CGM, const RecordType *RTy, int Offset,
3453 if (const auto *RTy = QTy->getAs<RecordType>())
3497 setUsedBits(CGM, QTy->castAs<RecordType>(), 0, Bits);
3514 setUsedBits(CGM, QTy->castAs<RecordType>(), 0, Bits);
3714 if (ITy != nullptr && isa<RecordType>(RetTy.getCanonicalType()))
3858 type->castAs<RecordType>()
[all...]
H A DCGObjCRuntime.cpp448 auto *RT = QT->getAs<RecordType>();
H A DCGObjCMac.cpp994 void BuildRCBlockVarRecordLayout(const RecordType *RT,
2310 void visitRecord(const RecordType *RT, CharUnits offset);
2402 if (const RecordType *record = type->getAs<RecordType>()) {
2497 BuildRCBlockVarRecordLayout(FQT->castAs<RecordType>(),
2514 auto *RT = FQT->castAs<RecordType>();
2581 void CGObjCCommonMac::BuildRCBlockVarRecordLayout(const RecordType *RT,
2921 if (const RecordType *record = type->getAs<RecordType>()) {
2955 if (const RecordType *recor
[all...]
/openbsd-current/gnu/llvm/llvm/tools/llvm-xray/
H A Dxray-stacks.cpp118 "{FuncId: \"{0}\", ThreadId: \"{1}\", RecordType: \"{2}\"}",
120 DecodeRecordType(Item.RecordType));
H A Dxray-account.cpp491 Record.RecordType, Record.CPU, Record.Type, Record.FuncId,
/openbsd-current/gnu/llvm/clang/lib/AST/Interp/
H A DInterp.cpp422 if (isa<RecordType>(ElemType.getTypePtr())) {
/openbsd-current/gnu/llvm/llvm/include/llvm-c/
H A DDebugInfo.h573 * @param RecordType DW_MACINFO_define or DW_MACINFO_undef.
582 LLVMDWARFMacinfoRecordType RecordType,
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp700.C2062 typedef struct Record RecordType;
2063 typedef RecordType * RecordPtr;
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DODRHash.cpp864 // Return the RecordType if the typedef only strips away a keyword.
893 const auto *RecordT = dyn_cast<RecordType>(NamedType);
1168 void VisitRecordType(const RecordType *T) { VisitTagType(T); }
H A DDecl.cpp2760 auto *Ty = getType()->getAs<RecordType>();
2775 auto *Ty = getType()->getAs<RecordType>();
2887 auto *RT = getType()->getAs<RecordType>();
4309 if (const auto *Record = getType()->getAs<RecordType>())
4336 const auto *RT = getType()->getAs<RecordType>();
4761 const RecordType *RT = FD->getType()->getAs<RecordType>();
4879 if (const auto *RT = I->getType()->getAs<RecordType>())
H A DASTStructuralEquivalence.cpp1303 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl();
1304 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl();
2187 if (const auto *RecType = dyn_cast<RecordType>(FieldType)) {
H A DExpr.cpp77 const RecordType *Ty = DerivedType->castAs<RecordType>();
95 cast<CXXRecordDecl>(E->getType()->castAs<RecordType>()->getDecl());
2029 auto RD = unionType->castAs<RecordType>()->getDecl();
3347 RecordDecl *RD = ILE->getType()->castAs<RecordType>()->getDecl();
3952 if (const RecordType *UT = getType()->getAsUnionType())
H A DCommentSema.cpp912 if (auto *ThisRecordType = dyn_cast<RecordType>(DesugaredTypePtr)) {
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp92 if (const RecordType *RT = T->getAsStructureType()) {
391 const RecordType *UT = T->getAsUnionType();
H A DRegionStore.cpp2321 const RecordDecl *RD = R->getValueType()->castAs<RecordType>()->getDecl();
2629 const RecordType* RT = T->castAs<RecordType>();
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaOverload.cpp937 auto *RHSRec = RHS->getAs<RecordType>();
1557 if (ToType->getAs<RecordType>() && FromType->getAs<RecordType>() &&
2150 const RecordType *UT = ToType->getAsUnionType();
3270 if (const RecordType *VBase = Paths.getDetectedVirtual()) {
3548 if (const RecordType *ToRecordType = ToType->getAs<RecordType>()) {
3558 (From->getType()->getAs<RecordType>() &&
3636 } else if (const RecordType *FromRecordType =
3637 From->getType()->getAs<RecordType>()) {
[all...]
H A DSemaDeclObjC.cpp3224 if (!isa<RecordType>(lt) || !isa<RecordType>(rt)) return false;
3225 RecordDecl *left = cast<RecordType>(lt)->getDecl();
3226 RecordDecl *right = cast<RecordType>(rt)->getDecl();
3844 const auto *RecordTy = T->getAs<RecordType>();
3890 } else if (const RecordType *RecordTy = IvarTy->getAs<RecordType>()) {
H A DSemaDeclAttr.cpp186 const auto *RT = PT->getPointeeType()->getAs<RecordType>();
432 static bool threadSafetyCheckIsSmartPointer(Sema &S, const RecordType* RT) {
475 if (const auto *RT = QT->getAs<RecordType>()) {
490 /// Checks that the passed in QualType either is of RecordType or points
491 /// to RecordType. Returns the relevant RecordType, null if it does not exit.
492 static const RecordType *getRecordType(QualType QT) {
493 if (const auto *RT = QT->getAs<RecordType>())
498 return PT->getPointeeType()->getAs<RecordType>();
520 const RecordType *R
[all...]
H A DSemaPseudoObject.cpp1053 const RecordType *RecordTy = T->getAs<RecordType>();
H A DSemaLookup.cpp2766 BaseSpec.getType()->castAs<RecordType>()->getDecl());
3048 const RecordType *BaseType = Base.getType()->getAs<RecordType>();
3129 cast<CXXRecordDecl>(cast<RecordType>(T)->getDecl());
4212 const auto *Record = BaseType->getAs<RecordType>();
H A DSemaDecl.cpp5188 else if (const RecordType *RT =
5191 else if (const RecordType *UT = DS.getRepAsType().get()->getAsUnionType())
9432 // At this point we already handled everything except of a RecordType or
9433 // an ArrayType of a RecordType.
9435 const RecordType *RecTy =
9436 PT->getPointeeOrArrayElementType()->getAs<RecordType>();
9466 RD = FieldRecTy->castAs<RecordType>()->getDecl();
12809 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl();
12874 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl();
12940 const RecordDecl *RD = QT->castAs<RecordType>()
[all...]
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DType.h2372 const RecordType *getAsStructureType() const;
2374 const RecordType *getAsUnionType() const;
2386 /// because the type is a RecordType or because it is the injected-class-name
2398 /// If this is a pointer or reference to a RecordType, return the
2971 /// RecordType, but could be a typedef or a template parameter too.
4821 class RecordType : public TagType {
4825 explicit RecordType(const RecordDecl *D)
4827 explicit RecordType(TypeClass TC, RecordDecl *D)
5347 /// typically for a \c RecordType. For example, a class template
5479 /// equivalent for non-templated classes is just RecordType
[all...]
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp357 } else if (const RecordType *RT = T->getAs<RecordType>()) {
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp255 if (const RecordType *RT = T->getAsStructureType()) {

Completed in 599 milliseconds

123456