Home
last modified time | relevance | path

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

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
HDASTImporterLookupTable.cpp31 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl()
33 for (auto *it : RTy->getAsRecordDecl()->fields()) { in VisitTypedefNameDecl()
HDNestedNameSpecifier.cpp185 CXXRecordDecl *NestedNameSpecifier::getAsRecordDecl() const { in getAsRecordDecl() function in NestedNameSpecifier
287 dyn_cast_or_null<ClassTemplateSpecializationDecl>(getAsRecordDecl()); in print()
HDCXXInheritance.cpp83 return Specifier->getType()->getAsRecordDecl() && in isDerivedFrom()
HDCommentSema.cpp912 return isClassOrStructDeclImpl(ThisRecordType->getAsRecordDecl()); in isClassOrStructOrTagTypedefDecl()
HDASTStructuralEquivalence.cpp574 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent()
575 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
HDDeclCXX.cpp3152 return getIntroducer()->getQualifier()->getAsRecordDecl(); in getNominatedBaseClass()
3482 const RecordDecl *RD = T->getAsRecordDecl(); in isValidStructGUID()
HDType.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()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
HDASTOps.cpp66 for (const FieldDecl *Field : Type->getAsRecordDecl()->fields()) in getFieldsFromClassHierarchy()
97 const RecordDecl *RD = InitList->getType()->getAsRecordDecl(); in getFieldsForInitListExpr()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaSYCL.cpp128 if (const auto *RecDecl = NextTy->getAsRecordDecl()) { in deepTypeCheckForDevice()
HDSemaExprMember.cpp660 : Record(RTy->getAsRecordDecl()) { in RecordMemberExprValidatorCCC()
1355 if (BaseType->getAsRecordDecl()) { in LookupMemberExpr()
HDSemaCXXScopeSpec.cpp160 return NNS->getAsRecordDecl(); in computeDeclContext()
HDCheckExprLifetime.cpp463 if (const auto *RD = Callee->getReturnType()->getAsRecordDecl()) { in visitLifetimeBoundArguments()
HDSemaCodeComplete.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()
HDSemaOpenACC.cpp1175 } else if (auto *RD = VarExpr->getType()->getAsRecordDecl()) { in CheckReductionVar()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
HDAbstractBasicWriter.h272 asImpl().writeDeclRef(NNS->getAsRecordDecl()); in writeNestedNameSpecifier()
HDNestedNameSpecifier.h193 CXXRecordDecl *getAsRecordDecl() const;
HDType.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-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDStdVariantChecker.cpp80 auto *Decl = Type->getAsRecordDecl(); in isStdType()
HDPaddingChecker.cpp87 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(), in visitRecord()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
HDUninitializedValues.cpp53 if (const auto *FieldRD = FD->getType()->getAsRecordDecl(); in recordIsNotEmpty()
65 if (const auto *RD = ty->getAsRecordDecl()) in isTrackedVar()
HDBodyFarm.cpp372 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
HDUninitializedObjectChecker.cpp277 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDBugReporterVisitors.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-13-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGRecordLayoutBuilder.cpp343 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in lowerUnion()
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
HDClangASTImporter.cpp1239 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()

12