Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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.cpp450 return IsStructurallyEquivalent(Context, NNS1->getAsRecordDecl(), in IsStructurallyEquivalent()
451 NNS2->getAsRecordDecl()); in IsStructurallyEquivalent()
H A DCommentSema.cpp978 return isClassOrStructDeclImpl(ThisRecordType->getAsRecordDecl()); in isClassOrStructOrTagTypedefDecl()
H A DDeclCXX.cpp3028 return getUsingDecl()->getQualifier()->getAsRecordDecl(); in getNominatedBaseClass()
3302 const RecordDecl *RD = T->getAsRecordDecl(); in isValidStructGUID()
H A DASTImporter.cpp1794 FromRecordDecl = FieldFrom->getType()->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportDeclContext()
1795 ToRecordDecl = FieldTo->getType()->getBaseElementTypeUnsafe()->getAsRecordDecl(); in ImportDeclContext()
8607 if (ExpectedDecl RDOrErr = Import(FromNNS->getAsRecordDecl())) in Import()
8705 Builder.MakeSuper(getToContext(), Spec->getAsRecordDecl(), in Import()
H A DType.cpp1757 RecordDecl *Type::getAsRecordDecl() const { in getAsRecordDecl() function in Type
H A DExprConstant.cpp6847 const RecordDecl *RD = Ty->getAsRecordDecl(); in visitRecord()
7041 const RecordDecl *RD = RTy->getAsRecordDecl(); in visit()
7187 if (RecordDecl *Record = Ty->getAsRecordDecl()) { in checkBitCastConstexprEligibilityType()
/netbsd-src/external/apache2/llvm/dist/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())
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp87 return visitRecord(CXXRD->bases().begin()->getType()->getAsRecordDecl(), in visitRecord()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp282 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp530 if (const RecordDecl *RRD = II.getType()->getAsRecordDecl()) in findRegionOfInterestInRecord()
547 if (const RecordDecl *RRD = FT->getAsRecordDecl()) in findRegionOfInterestInRecord()
556 if (const RecordDecl *RRD = PT->getAsRecordDecl()) in findRegionOfInterestInRecord()
624 if (const RecordDecl *RD = PT->getAsRecordDecl()) in VisitNode()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DBodyFarm.cpp340 auto *FlagRecordDecl = FlagType->getAsRecordDecl(); in create_call_once()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp161 return NNS->getAsRecordDecl(); in computeDeclContext()
H A DSemaCodeComplete.cpp4815 static RecordDecl *getAsRecordDecl(const QualType BaseType) { in getAsRecordDecl() function
4816 if (auto *RD = BaseType->getAsRecordDecl()) { in getAsRecordDecl()
5257 RecordDecl *RD = Base.isNull() ? nullptr : getAsRecordDecl(Base); in getApproximateType()
5348 if (RecordDecl *RD = getAsRecordDecl(BaseType)) { in CodeCompleteMemberReferenceExpr()
5891 auto *RD = getAsRecordDecl(BaseType); in getDesignatedType()
5911 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.cpp441 BaseSpecifier.getType()->getAsRecordDecl(), OO_Star); in threadSafetyCheckIsSmartPointer()
444 BaseSpecifier.getType()->getAsRecordDecl(), OO_Arrow); in threadSafetyCheckIsSmartPointer()
H A DSemaDecl.cpp11897 if (auto *OrigRD = OrigTy->getAsRecordDecl()) in visitStruct()
11962 if (auto *OrigRD = OrigTy->getAsRecordDecl()) in visitStruct()
12028 if (auto *OrigRD = OrigTy->getAsRecordDecl()) in visitStruct()
/netbsd-src/external/apache2/llvm/dist/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.cpp2408 auto *Decl = ParamType->getAsRecordDecl(); in ConstructAttributeList()
H A DCGOpenMPRuntime.cpp4426 const auto *KmpAffinityInfoRD = KmpTaskAffinityInfoTy->getAsRecordDecl(); in emitTaskInit()
9023 const auto *RD = BaseType->getAsRecordDecl(); in generateInfoForCapture()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTWriter.cpp5410 AddDeclRef(NNS.getNestedNameSpecifier()->getAsRecordDecl()); in AddNestedNameSpecifierLoc()

12