Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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 DCommentSema.cpp913 return isClassOrStructDeclImpl(ThisRecordType->getAsRecordDecl()); in isClassOrStructOrTagTypedefDecl()
H A DASTStructuralEquivalence.cpp483 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent()
484 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
H A DDeclCXX.cpp3067 return getIntroducer()->getQualifier()->getAsRecordDecl(); in getNominatedBaseClass()
3395 const RecordDecl *RD = T->getAsRecordDecl(); in isValidStructGUID()
H A DType.cpp1787 RecordDecl *Type::getAsRecordDecl() const { in getAsRecordDecl() function in Type
2553 } else if (const auto *RD = BaseElementType->getAsRecordDecl()) { in isTriviallyRelocatableType()
H A DASTImporter.cpp1868 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 DSemaSYCL.cpp139 if (const auto *RecDecl = NextTy->getAsRecordDecl()) { in deepTypeCheckForSYCLDevice()
H A DSemaCXXScopeSpec.cpp161 return NNS->getAsRecordDecl(); in computeDeclContext()
H A DSemaCodeComplete.cpp5127 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 DSemaCast.cpp3182 const RecordDecl *SrcRD = SrcTy->getAsRecordDecl(); in CheckCStyleCast()
3183 const RecordDecl *DestRD = DestTy->getAsRecordDecl(); in CheckCStyleCast()
H A DSemaLookup.cpp2690 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 DAbstractBasicWriter.h264 asImpl().writeDeclRef(NNS->getAsRecordDecl()); in writeNestedNameSpecifier()
H A DNestedNameSpecifier.h193 CXXRecordDecl *getAsRecordDecl() const;
H A DType.h2391 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 DPaddingChecker.cpp87 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(), in visitRecord()
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp409 for (const FieldDecl *Field : Type->getAsRecordDecl()->fields()) in getFieldsFromClassHierarchy()
H A DTransfer.cpp716 for (auto It : llvm::zip(Type->getAsRecordDecl()->fields(), S->inits())) { in VisitInitListExpr()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp280 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp640 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 DBodyFarm.cpp372 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp269 cast<ClassTemplateSpecializationDecl>(Type->getAsRecordDecl()) in countOptionalWrappers()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp340 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in lowerUnion()
H A DCGExprConstant.cpp2289 if (const auto *FieldRD = Field->getType()->getAsRecordDecl()) in EmitNullConstant()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp1000 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()

12