Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp31 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl()
33 for (auto *it : RTy->getAsRecordDecl()->fields()) { in VisitTypedefNameDecl()
H A DNestedNameSpecifier.cpp185 CXXRecordDecl *NestedNameSpecifier::getAsRecordDecl() const { in getAsRecordDecl() function in NestedNameSpecifier
287 dyn_cast_or_null<ClassTemplateSpecializationDecl>(getAsRecordDecl()); in print()
H A DCXXInheritance.cpp83 return Specifier->getType()->getAsRecordDecl() && in isDerivedFrom()
H A DCommentSema.cpp912 return isClassOrStructDeclImpl(ThisRecordType->getAsRecordDecl()); in isClassOrStructOrTagTypedefDecl()
H A DASTStructuralEquivalence.cpp564 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent()
565 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
H A DDeclCXX.cpp3121 return getIntroducer()->getQualifier()->getAsRecordDecl(); in getNominatedBaseClass()
3448 const RecordDecl *RD = T->getAsRecordDecl(); in isValidStructGUID()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp123 if (const auto *RecDecl = NextTy->getAsRecordDecl()) { in deepTypeCheckForSYCLDevice()
H A DSemaCXXScopeSpec.cpp180 return NNS->getAsRecordDecl(); in computeDeclContext()
H A DSemaCodeComplete.cpp5208 static RecordDecl *getAsRecordDecl(QualType BaseType) { in getAsRecordDecl() function
5210 if (auto *RD = BaseType->getAsRecordDecl()) { in getAsRecordDecl()
5659 : llvm::dyn_cast_or_null<CXXRecordDecl>(getAsRecordDecl(Base)); in getApproximateType()
5761 if (RecordDecl *RD = getAsRecordDecl(BaseType)) { in CodeCompleteMemberReferenceExpr()
6364 isCompleteType(Loc, Type) ? Type->getAsRecordDecl() : nullptr; in ProduceConstructorSignatureHelp()
6514 auto *RD = getAsRecordDecl(BaseType); in getDesignatedType()
6534 const auto *RD = getAsRecordDecl(BaseType); in CodeCompleteDesignator()
H A DSemaCast.cpp3228 const RecordDecl *SrcRD = SrcTy->getAsRecordDecl(); in CheckCStyleCast()
3229 const RecordDecl *DestRD = DestTy->getAsRecordDecl(); in CheckCStyleCast()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h264 asImpl().writeDeclRef(NNS->getAsRecordDecl()); in writeNestedNameSpecifier()
H A DNestedNameSpecifier.h193 CXXRecordDecl *getAsRecordDecl() const;
H A DType.h2502 RecordDecl *getAsRecordDecl() const;
6967 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
6973 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
6979 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdVariantChecker.cpp80 auto *Decl = Type->getAsRecordDecl(); in isStdType()
H A DPaddingChecker.cpp87 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(), in visitRecord()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp53 if (const auto *FieldRD = FD->getType()->getAsRecordDecl(); in recordIsNotEmpty()
65 if (const auto *RD = ty->getAsRecordDecl()) in isTrackedVar()
H A DBodyFarm.cpp372 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp390 for (const FieldDecl *Field : Type->getAsRecordDecl()->fields()) in getFieldsFromClassHierarchy()
H A DTransfer.cpp662 getFieldsForInitListExpr(Type->getAsRecordDecl()); in VisitInitListExpr()
H A DDataflowEnvironment.cpp367 if (RecordDecl *RD = InitList->getType()->getAsRecordDecl()) in getFieldsGlobalsAndFuncs()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp277 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp666 if (const RecordDecl *RRD = II.getType()->getAsRecordDecl()) in findRegionOfInterestInRecord()
683 if (const RecordDecl *RRD = FT->getAsRecordDecl()) in findRegionOfInterestInRecord()
692 if (const RecordDecl *RRD = PT->getAsRecordDecl()) in findRegionOfInterestInRecord()
758 if (const RecordDecl *RD = PT->getAsRecordDecl()) in maybeEmitNoteForParameters()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp295 cast<ClassTemplateSpecializationDecl>(Type->getAsRecordDecl()) in countOptionalWrappers()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp341 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in lowerUnion()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp996 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()

12