Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp30 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl()
32 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 DASTStructuralEquivalence.cpp451 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent()
452 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
H A DCommentSema.cpp978 return isClassOrStructDeclImpl(ThisRecordType->getAsRecordDecl()); in isClassOrStructOrTagTypedefDecl()
H A DDeclCXX.cpp3014 return getIntroducer()->getQualifier()->getAsRecordDecl(); in getNominatedBaseClass()
3326 const RecordDecl *RD = T->getAsRecordDecl(); in isValidStructGUID()
H A DASTImporter.cpp1812 FromRecordDecl = FieldFrom->getType()->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportDeclContext()
1813 ToRecordDecl = FieldTo->getType()->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportDeclContext()
8736 if (ExpectedDecl RDOrErr = Import(FromNNS->getAsRecordDecl())) in Import()
8834 Builder.MakeSuper(getToContext(), Spec->getAsRecordDecl(), in Import()
H A DType.cpp1757 RecordDecl *Type::getAsRecordDecl() const { in getAsRecordDecl() function in Type
H A DExprConstant.cpp6850 const RecordDecl *RD = Ty->getAsRecordDecl(); in visitRecord()
7044 const RecordDecl *RD = RTy->getAsRecordDecl(); in visit()
7190 if (RecordDecl *Record = Ty->getAsRecordDecl()) { in checkBitCastConstexprEligibilityType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicWriter.h267 asImpl().writeDeclRef(NNS->getAsRecordDecl()); in writeNestedNameSpecifier()
H A DNestedNameSpecifier.h193 CXXRecordDecl *getAsRecordDecl() const;
H A DType.h2251 RecordDecl *getAsRecordDecl() const;
6558 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
6564 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
6570 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp87 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(), in visitRecord()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp282 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp531 if (const RecordDecl *RRD = II.getType()->getAsRecordDecl()) in findRegionOfInterestInRecord()
548 if (const RecordDecl *RRD = FT->getAsRecordDecl()) in findRegionOfInterestInRecord()
557 if (const RecordDecl *RRD = PT->getAsRecordDecl()) in findRegionOfInterestInRecord()
625 if (const RecordDecl *RD = PT->getAsRecordDecl()) in VisitNode()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp340 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp161 return NNS->getAsRecordDecl(); in computeDeclContext()
H A DSemaCodeComplete.cpp4818 static RecordDecl *getAsRecordDecl(const QualType BaseType) { in getAsRecordDecl() function
4819 if (auto *RD = BaseType->getAsRecordDecl()) { in getAsRecordDecl()
5260 RecordDecl *RD = Base.isNull() ? nullptr : getAsRecordDecl(Base); in getApproximateType()
5351 if (RecordDecl *RD = getAsRecordDecl(BaseType)) { in CodeCompleteMemberReferenceExpr()
5894 auto *RD = getAsRecordDecl(BaseType); in getDesignatedType()
5914 const auto *RD = getAsRecordDecl(BaseType); in CodeCompleteDesignator()
H A DSemaLookup.cpp2423 return LookupInSuper(R, NNS->getAsRecordDecl()); in LookupQualifiedName()
2459 return LookupInSuper(R, NNS->getAsRecordDecl()); in LookupParsedName()
H A DSemaDeclAttr.cpp442 BaseSpecifier.getType()->getAsRecordDecl(), OO_Star); in threadSafetyCheckIsSmartPointer()
445 BaseSpecifier.getType()->getAsRecordDecl(), OO_Arrow); in threadSafetyCheckIsSmartPointer()
H A DSemaDecl.cpp11956 if (auto *OrigRD = OrigTy->getAsRecordDecl()) in visitStruct()
12021 if (auto *OrigRD = OrigTy->getAsRecordDecl()) in visitStruct()
12087 if (auto *OrigRD = OrigTy->getAsRecordDecl()) in visitStruct()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp340 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in lowerUnion()
H A DCGExprConstant.cpp2252 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in EmitNullConstant()
H A DCGCall.cpp2410 auto *Decl = ParamType->getAsRecordDecl(); in ConstructAttributeList()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp1031 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp5410 AddDeclRef(NNS.getNestedNameSpecifier()->getAsRecordDecl()); in AddNestedNameSpecifierLoc()

12