Home
last modified time | relevance | path

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

12

/freebsd/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 DASTStructuralEquivalence.cpp574 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent()
575 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
H A DDeclCXX.cpp3152 return getIntroducer()->getQualifier()->getAsRecordDecl(); in getNominatedBaseClass()
3482 const RecordDecl *RD = T->getAsRecordDecl(); in isValidStructGUID()
H A DType.cpp1886 RecordDecl *Type::getAsRecordDecl() const { in getAsRecordDecl() function in Type
2764 const auto *RD = CanonicalType->getAsRecordDecl(); // struct/union/class in isBitwiseCloneableType()
2803 } else if (const auto *RD = BaseElementType->getAsRecordDecl()) { in isTriviallyRelocatableType()
H A DASTImporter.cpp2142 FromRecordDecl = FromType->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportFieldDeclDefinition()
2143 ToRecordDecl = ToType->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportFieldDeclDefinition()
2738 RecordDecl *FromR = FromUT->getAsRecordDecl(); in VisitTypedefNameDecl()
2739 RecordDecl *FoundR = FoundUT->getAsRecordDecl(); in VisitTypedefNameDecl()
9702 if (ExpectedDecl RDOrErr = Import(FromNNS->getAsRecordDecl())) in Import()
9799 Builder.MakeSuper(getToContext(), Spec->getAsRecordDecl(), in Import()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp66 for (const FieldDecl *Field : Type->getAsRecordDecl()->fields()) in getFieldsFromClassHierarchy()
97 const RecordDecl *RD = InitList->getType()->getAsRecordDecl(); in getFieldsForInitListExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp128 if (const auto *RecDecl = NextTy->getAsRecordDecl()) { in deepTypeCheckForDevice()
H A DSemaExprMember.cpp660 : Record(RTy->getAsRecordDecl()) { in RecordMemberExprValidatorCCC()
1355 if (BaseType->getAsRecordDecl()) { in LookupMemberExpr()
H A DSemaCXXScopeSpec.cpp160 return NNS->getAsRecordDecl(); in computeDeclContext()
H A DCheckExprLifetime.cpp463 if (const auto *RD = Callee->getReturnType()->getAsRecordDecl()) { in visitLifetimeBoundArguments()
H A DSemaCodeComplete.cpp5223 static RecordDecl *getAsRecordDecl(QualType BaseType) { in getAsRecordDecl() function
5225 if (auto *RD = BaseType->getAsRecordDecl()) { in getAsRecordDecl()
5674 : llvm::dyn_cast_or_null<CXXRecordDecl>(getAsRecordDecl(Base)); in getApproximateType()
5787 if (RecordDecl *RD = getAsRecordDecl(BaseType)) { in CodeCompleteMemberReferenceExpr()
6408 SemaRef.isCompleteType(Loc, Type) ? Type->getAsRecordDecl() : nullptr; in ProduceConstructorSignatureHelp()
6561 auto *RD = getAsRecordDecl(BaseType); in getDesignatedType()
6580 const auto *RD = getAsRecordDecl(BaseType); in CodeCompleteDesignator()
H A DSemaOpenACC.cpp1175 } else if (auto *RD = VarExpr->getType()->getAsRecordDecl()) { in CheckReductionVar()
H A DSemaCast.cpp3238 const RecordDecl *SrcRD = SrcTy->getAsRecordDecl(); in CheckCStyleCast()
3239 const RecordDecl *DestRD = DestTy->getAsRecordDecl(); in CheckCStyleCast()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h272 asImpl().writeDeclRef(NNS->getAsRecordDecl()); in writeNestedNameSpecifier()
H A DNestedNameSpecifier.h193 CXXRecordDecl *getAsRecordDecl() const;
H A DType.h2755 RecordDecl *getAsRecordDecl() const;
7882 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
7888 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
7894 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
/freebsd/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/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()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp670 if (const RecordDecl *RRD = II.getType()->getAsRecordDecl()) in findRegionOfInterestInRecord()
687 if (const RecordDecl *RRD = FT->getAsRecordDecl()) in findRegionOfInterestInRecord()
696 if (const RecordDecl *RRD = PT->getAsRecordDecl()) in findRegionOfInterestInRecord()
762 if (const RecordDecl *RD = PT->getAsRecordDecl()) in maybeEmitNoteForParameters()
/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.cpp1239 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp1204 const RecordDecl *RD = QT->getAsRecordDecl(); in VisitImplicitValueInitExpr()
2908 const RecordDecl *RD = GuidDecl->getType()->getAsRecordDecl(); in VisitCXXUuidofExpr()

12