Home
last modified time | relevance | path

Searched refs:getAsRecordDecl (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DCXXInheritance.cpp81 return Specifier->getType()->getAsRecordDecl() && in isDerivedFrom()
174 BaseSpec.getType()->getAsRecordDecl())) in lookupInBases()
273 BaseRecord = cast<CXXRecordDecl>(BaseSpec.getType()->getAsRecordDecl()); in lookupInBases()
370 return cast<CXXRecordDecl>(Specifier->getType()->getAsRecordDecl()) in FindBaseClass()
380 cast<CXXRecordDecl>(Specifier->getType()->getAsRecordDecl()) in FindVirtualBaseClass()
641 cast<CXXRecordDecl>(I.getType()->getAsRecordDecl()); in AddIndirectPrimaryBases()
663 cast<CXXRecordDecl>(I.getType()->getAsRecordDecl()); in getIndirectPrimaryBases()
H A DASTImporterLookupTable.cpp31 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl()
33 for (auto *it : RTy->getAsRecordDecl()->fields()) { in VisitTypedefNameDecl()
H A DNestedNameSpecifier.cpp179 CXXRecordDecl *NestedNameSpecifier::getAsRecordDecl() const { in getAsRecordDecl() function in NestedNameSpecifier
H A DCommentSema.cpp914 return isClassOrStructDeclImpl(ThisRecordType->getAsRecordDecl()); in isClassOrStructOrTagTypedefDecl()
H A DType.cpp1933 RecordDecl *Type::getAsRecordDecl() const { in getAsRecordDecl() function in Type
2889 const auto *RD = CanonicalType->getAsRecordDecl(); // struct/union/class in isBitwiseCloneableType()
5324 *D2 = getQualifier()->getAsRecordDecl(); in isSugared()
5341 ->getAsRecordDecl(); in getCXXRecordDecl()
H A DASTStructuralEquivalence.cpp612 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent()
613 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp67 Fields.insert_range(Type->getAsRecordDecl()->fields()); in getFieldsFromClassHierarchy()
97 const RecordDecl *RD = InitList->getType()->getAsRecordDecl(); in getFieldsForInitListExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h270 asImpl().writeDeclRef(NNS->getAsRecordDecl()); in writeNestedNameSpecifier()
H A DNestedNameSpecifier.h187 CXXRecordDecl *getAsRecordDecl() const;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdVariantChecker.cpp78 auto *Decl = Type->getAsRecordDecl(); in isStdType()
H A DPaddingChecker.cpp85 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(), in visitRecord()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp51 if (const auto *FieldRD = FD->getType()->getAsRecordDecl(); in recordIsNotEmpty()
63 if (const auto *RD = ty->getAsRecordDecl()) in isTrackedVar()
H A DBodyFarm.cpp372 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp132 if (const auto *RecDecl = NextTy->getAsRecordDecl()) { in deepTypeCheckForDevice()
H A DCheckExprLifetime.cpp455 const auto *RHSRD = RHSArgType->getAsRecordDecl(); in shouldTrackFirstArgumentForConstructor()
626 if (const auto *RD = Callee->getReturnType()->getAsRecordDecl()) { in visitFunctionCallArguments()
H A DSemaCXXScopeSpec.cpp155 return NNS->getAsRecordDecl(); in computeDeclContext()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp277 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltinBitCast.cpp208 if (const RecordDecl *RD = T->getAsRecordDecl()) { in CheckBitcastType()
H A DPointer.cpp250 if (const auto *RD = ElemType->getAsRecordDecl(); in toAPValue()
H A DInterp.cpp1639 InitialPointeeType->getAsRecordDecl(), in CallVirt()
1640 OverriderPointeeType->getAsRecordDecl()); in CallVirt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp577 if (const RecordDecl *RRD = II.getType()->getAsRecordDecl()) in findRegionOfInterestInRecord()
594 if (const RecordDecl *RRD = FT->getAsRecordDecl()) in findRegionOfInterestInRecord()
603 if (const RecordDecl *RRD = PT->getAsRecordDecl()) in findRegionOfInterestInRecord()
669 if (const RecordDecl *RD = PT->getAsRecordDecl()) in maybeEmitNoteForParameters()
H A DExprEngineCXX.cpp730 dyn_cast_or_null<CXXRecordDecl>(CE->getType()->getAsRecordDecl()); in handleConstructor()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenRecordLayoutBuilder.cpp720 if (const RecordDecl *fieldRD = field->getType()->getAsRecordDecl()) in lowerUnion()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp343 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in lowerUnion()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp1264 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()

123