| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTImporterLookupTable.cpp | 31 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl() 33 for (auto *it : RTy->getAsRecordDecl()->fields()) { in VisitTypedefNameDecl()
|
| H A D | NestedNameSpecifier.cpp | 185 CXXRecordDecl *NestedNameSpecifier::getAsRecordDecl() const { in getAsRecordDecl() function in NestedNameSpecifier 287 dyn_cast_or_null<ClassTemplateSpecializationDecl>(getAsRecordDecl()); in print()
|
| H A D | CXXInheritance.cpp | 83 return Specifier->getType()->getAsRecordDecl() && in isDerivedFrom()
|
| H A D | CommentSema.cpp | 912 return isClassOrStructDeclImpl(ThisRecordType->getAsRecordDecl()); in isClassOrStructOrTagTypedefDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 574 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent() 575 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
|
| H A D | DeclCXX.cpp | 3152 return getIntroducer()->getQualifier()->getAsRecordDecl(); in getNominatedBaseClass() 3482 const RecordDecl *RD = T->getAsRecordDecl(); in isValidStructGUID()
|
| H A D | Type.cpp | 1886 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 D | ASTOps.cpp | 66 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 D | SemaSYCL.cpp | 128 if (const auto *RecDecl = NextTy->getAsRecordDecl()) { in deepTypeCheckForDevice()
|
| H A D | SemaExprMember.cpp | 660 : Record(RTy->getAsRecordDecl()) { in RecordMemberExprValidatorCCC() 1355 if (BaseType->getAsRecordDecl()) { in LookupMemberExpr()
|
| H A D | SemaCXXScopeSpec.cpp | 160 return NNS->getAsRecordDecl(); in computeDeclContext()
|
| H A D | CheckExprLifetime.cpp | 463 if (const auto *RD = Callee->getReturnType()->getAsRecordDecl()) { in visitLifetimeBoundArguments()
|
| H A D | SemaCodeComplete.cpp | 5223 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 D | SemaOpenACC.cpp | 1175 } else if (auto *RD = VarExpr->getType()->getAsRecordDecl()) { in CheckReductionVar()
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | AbstractBasicWriter.h | 272 asImpl().writeDeclRef(NNS->getAsRecordDecl()); in writeNestedNameSpecifier()
|
| H A D | NestedNameSpecifier.h | 193 CXXRecordDecl *getAsRecordDecl() const;
|
| H A D | Type.h | 2755 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 D | StdVariantChecker.cpp | 80 auto *Decl = Type->getAsRecordDecl(); in isStdType()
|
| H A D | PaddingChecker.cpp | 87 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(), in visitRecord()
|
| /src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UninitializedValues.cpp | 53 if (const auto *FieldRD = FD->getType()->getAsRecordDecl(); in recordIsNotEmpty() 65 if (const auto *RD = ty->getAsRecordDecl()) in isTrackedVar()
|
| H A D | BodyFarm.cpp | 372 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 277 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 670 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 D | CGRecordLayoutBuilder.cpp | 343 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in lowerUnion()
|
| /src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTImporter.cpp | 1239 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()
|