| /openbsd-src/gnu/llvm/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 | CommentSema.cpp | 913 return isClassOrStructDeclImpl(ThisRecordType->getAsRecordDecl()); in isClassOrStructOrTagTypedefDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 483 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent() 484 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
|
| H A D | DeclCXX.cpp | 3067 return getIntroducer()->getQualifier()->getAsRecordDecl(); in getNominatedBaseClass() 3395 const RecordDecl *RD = T->getAsRecordDecl(); in isValidStructGUID()
|
| H A D | Type.cpp | 1787 RecordDecl *Type::getAsRecordDecl() const { in getAsRecordDecl() function in Type 2553 } else if (const auto *RD = BaseElementType->getAsRecordDecl()) { in isTriviallyRelocatableType()
|
| H A D | ASTImporter.cpp | 1868 FromRecordDecl = FieldFrom->getType()->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportDeclContext() 1869 ToRecordDecl = FieldTo->getType()->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportDeclContext() 9268 if (ExpectedDecl RDOrErr = Import(FromNNS->getAsRecordDecl())) in Import() 9365 Builder.MakeSuper(getToContext(), Spec->getAsRecordDecl(), in Import()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaSYCL.cpp | 139 if (const auto *RecDecl = NextTy->getAsRecordDecl()) { in deepTypeCheckForSYCLDevice()
|
| H A D | SemaCXXScopeSpec.cpp | 161 return NNS->getAsRecordDecl(); in computeDeclContext()
|
| H A D | SemaCodeComplete.cpp | 5127 static RecordDecl *getAsRecordDecl(QualType BaseType) { in getAsRecordDecl() function 5129 if (auto *RD = BaseType->getAsRecordDecl()) { in getAsRecordDecl() 5578 : llvm::dyn_cast_or_null<CXXRecordDecl>(getAsRecordDecl(Base)); in getApproximateType() 5680 if (RecordDecl *RD = getAsRecordDecl(BaseType)) { in CodeCompleteMemberReferenceExpr() 6274 isCompleteType(Loc, Type) ? Type->getAsRecordDecl() : nullptr; in ProduceConstructorSignatureHelp() 6424 auto *RD = getAsRecordDecl(BaseType); in getDesignatedType() 6444 const auto *RD = getAsRecordDecl(BaseType); in CodeCompleteDesignator()
|
| H A D | SemaCast.cpp | 3182 const RecordDecl *SrcRD = SrcTy->getAsRecordDecl(); in CheckCStyleCast() 3183 const RecordDecl *DestRD = DestTy->getAsRecordDecl(); in CheckCStyleCast()
|
| H A D | SemaLookup.cpp | 2690 return LookupInSuper(R, NNS->getAsRecordDecl()); in LookupQualifiedName() 2726 return LookupInSuper(R, NNS->getAsRecordDecl()); in LookupParsedName()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | AbstractBasicWriter.h | 264 asImpl().writeDeclRef(NNS->getAsRecordDecl()); in writeNestedNameSpecifier()
|
| H A D | NestedNameSpecifier.h | 193 CXXRecordDecl *getAsRecordDecl() const;
|
| H A D | Type.h | 2391 RecordDecl *getAsRecordDecl() const; 6777 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl()) 6783 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl()) 6789 if (auto *RD = getTypePtr()->getBaseElementTypeUnsafe()->getAsRecordDecl())
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 87 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(), in visitRecord()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowAnalysisContext.cpp | 409 for (const FieldDecl *Field : Type->getAsRecordDecl()->fields()) in getFieldsFromClassHierarchy()
|
| H A D | Transfer.cpp | 716 for (auto It : llvm::zip(Type->getAsRecordDecl()->fields(), S->inits())) { in VisitInitListExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 280 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugReporterVisitors.cpp | 640 if (const RecordDecl *RRD = II.getType()->getAsRecordDecl()) in findRegionOfInterestInRecord() 657 if (const RecordDecl *RRD = FT->getAsRecordDecl()) in findRegionOfInterestInRecord() 666 if (const RecordDecl *RRD = PT->getAsRecordDecl()) in findRegionOfInterestInRecord() 732 if (const RecordDecl *RD = PT->getAsRecordDecl()) in maybeEmitNoteForParameters()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 372 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 269 cast<ClassTemplateSpecializationDecl>(Type->getAsRecordDecl()) in countOptionalWrappers()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 340 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in lowerUnion()
|
| H A D | CGExprConstant.cpp | 2289 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in EmitNullConstant()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTImporter.cpp | 1000 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()
|