Home
last modified time | relevance | path

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

12

/src/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.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()
/src/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()
/src/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()
/src/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())
/src/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()
/src/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()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp277 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
/src/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()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp343 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in lowerUnion()
/src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp1239 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()

12