Home
last modified time | relevance | path

Searched refs:RecordDecl (Results 126 – 150 of 179) sorted by relevance

12345678

/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp356 } else if (isa<RecordDecl>(SD)) { in isAcceptableNestedNameSpecifier()
H A DSema.cpp1475 while (isa<RecordDecl>(DC)) in getCurMethodDecl()
2668 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD, in PushCapturedRegionScope()
H A DSemaDeclCXX.cpp2050 const RecordDecl *RD = Field->getType()->castAs<RecordType>()->getDecl(); in CheckConstexprCtorInitializer()
2631 RecordDecl *BaseDecl = BaseType->castAs<RecordType>()->getDecl(); in CheckBaseSpecifier()
5026 RecordDecl *Record = Field->getParent(); in isInactiveUnionMember()
5352 const RecordDecl *RD = RT->getDecl(); in PopulateKeysForFields()
5546 typedef llvm::DenseMap<RecordDecl*, UnionEntry> RedundantUnionMap;
5552 RecordDecl *Parent = Field->getParent(); in CheckRedundantUnionInit()
5576 Parent = cast<RecordDecl>(Parent->getDeclContext()); in CheckRedundantUnionInit()
7085 ? RecordDecl::APK_CanPassInRegs in CheckCompletedCXXClass()
10017 RecordDecl *BaseRecord = in operator ()()
16880 RecordDecl *RD = RT->getDecl(); in CheckFriendTypeDecl()
[all …]
H A DSemaChecking.cpp547 bool dumpUnnamedRecord(const RecordDecl *RD, Expr *E, unsigned Depth) { in dumpUnnamedRecord()
558 bool dumpRecordValue(const RecordDecl *RD, Expr *E, Expr *RecordIndent, in dumpRecordValue()
685 const RecordDecl *RD = PtrArgType->getPointeeType()->getAsRecordDecl(); in SemaBuiltinDumpStruct()
17268 static bool isLayoutCompatibleStruct(ASTContext &C, RecordDecl *RD1, in isLayoutCompatibleStruct()
17269 RecordDecl *RD2) { in isLayoutCompatibleStruct()
17296 RecordDecl::field_iterator Field2 = RD2->field_begin(), in isLayoutCompatibleStruct()
17312 static bool isLayoutCompatibleUnion(ASTContext &C, RecordDecl *RD1, in isLayoutCompatibleUnion()
17313 RecordDecl *RD2) { in isLayoutCompatibleUnion()
17338 static bool isLayoutCompatible(ASTContext &C, RecordDecl *RD1, in isLayoutCompatible()
17339 RecordDecl *RD2) { in isLayoutCompatible()
[all …]
H A DSemaTemplate.cpp1994 RecordDecl *PrevRecordDecl = PrevClassTemplate->getTemplatedDecl(); in CheckClassTemplate()
4245 RecordDecl *D = RT->getDecl(); in ActOnTagTemplateIdType()
7818 = Context.getTypeDeclType(cast<RecordDecl>(VD->getDeclContext())); in BuildExpressionFromDeclTemplateArgument()
8342 else if (isa<RecordDecl>(Specialized)) in CheckTemplateSpecializationScope()
8825 RecordDecl *Def = Specialization->getDefinition(); in ActOnClassTemplateSpecialization()
9593 } else if (isa<RecordDecl>(Member)) { in CheckMemberSpecialization()
H A DSemaTemplateInstantiateDecl.cpp1241 cast<RecordDecl>(Owner), in VisitFieldDecl()
3725 Decl *TemplateDeclInstantiator::VisitRecordDecl(RecordDecl *D) { in VisitRecordDecl()
5016 RecordDecl *Record = cast_or_null<RecordDecl>( in InstantiateFunctionDefinition()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenFunction.h415 RecordDecl::field_iterator Field =
2673 const RecordDecl *RD = cast<RecordDecl>(RT->getDecl());
3021 unsigned getDebugInfoFIndex(const RecordDecl *Rec, unsigned FieldIndex);
H A DCGExpr.cpp4267 unsigned CodeGenFunction::getDebugInfoFIndex(const RecordDecl *Rec, in getDebugInfoFIndex()
4303 const RecordDecl *rec = field->getParent(); in emitAddrOfFieldStorage()
4313 const RecordDecl *rec = field->getParent(); in emitPreserveStructAccess()
4359 const RecordDecl *rec = field->getParent(); in EmitLValueForField()
4398 const RecordDecl *rec = field->getParent(); in EmitLValueForField()
H A DCGOpenMPRuntime.h630 const RecordDecl *KmpTaskTQTyRD = nullptr;
H A DCGDecl.cpp110 if (cast<RecordDecl>(D).getDefinition()) in EmitDecl()
111 DI->EmitAndRetainType(getContext().getRecordType(cast<RecordDecl>(&D))); in EmitDecl()
H A DCodeGenModule.cpp5134 const RecordDecl *RD = RT->getDecl(); in isVarDeclStrongDefinition()
5806 RecordDecl *D = Context.buildImplicitRecord("__objcFastEnumerationState"); in getObjCFastEnumerationStateType()
6335 DI->EmitAndRetainType(getContext().getRecordType(cast<RecordDecl>(D))); in EmitTopLevelDecl()
6562 if (cast<RecordDecl>(D)->getDefinition()) in EmitTopLevelDecl()
6563 DI->EmitAndRetainType(getContext().getRecordType(cast<RecordDecl>(D))); in EmitTopLevelDecl()
H A DCGNonTrivialStruct.cpp41 const RecordDecl *RD = QT->castAs<RecordType>()->getDecl(); in visitStructFields()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DRecursiveASTVisitor.h485 bool TraverseRecordHelper(RecordDecl *D);
1983 bool RecursiveASTVisitor<Derived>::TraverseRecordHelper(RecordDecl *D) {
2013 DEF_TRAVERSE_DECL(RecordDecl, { TRY_TO(TraverseRecordHelper(D)); })
H A DTypeProperties.td526 auto record = cast<RecordDecl>(declaration);
/openbsd/gnu/llvm/clang/lib/AST/
H A DTypePrinter.cpp1341 } else if ((isa<RecordDecl>(D) && cast<RecordDecl>(D)->isAnonymousStructOrUnion())) { in printTag()
H A DAPValue.cpp886 const RecordDecl *RD = Ty->castAs<RecordType>()->getDecl(); in printPretty()
H A DODRHash.cpp604 void ODRHash::AddRecordDecl(const RecordDecl *Record) { in AddRecordDecl()
H A DExpr.cpp281 RecordDecl::field_iterator FI( in isFlexibleArrayMemberLike()
2033 const FieldDecl *CastExpr::getTargetFieldForToUnionCast(const RecordDecl *RD, in getTargetFieldForToUnionCast()
2036 RecordDecl::field_iterator Field, FieldEnd; in getTargetFieldForToUnionCast()
3347 RecordDecl *RD = ILE->getType()->castAs<RecordType>()->getDecl(); in isConstantInitializer()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp93 const RecordDecl *RD = RT->getDecl(); in isCallback()
H A DSimpleSValBuilder.cpp711 const RecordDecl *RD = LeftFD->getParent(); in evalBinOpFieldRegionFieldRegion()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DFrontendActions.cpp452 if (const auto *R = dyn_cast<RecordDecl>(Decl)) { in printEntryName()
/openbsd/gnu/llvm/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp366 else if (auto *Record = dyn_cast<RecordDecl>(Context)) in getRelativeName()
/openbsd/gnu/llvm/clang/lib/Parse/
H A DParseTemplate.cpp232 RecordDecl *AnonRecord = nullptr; in ParseSingleDeclarationAfterTemplate()
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp1852 clang::RecordDecl *record_decl = in ParseStructureLikeDIE()
1911 clang::RecordDecl::APK_CannotPassInRegs); in ParseStructureLikeDIE()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriterDecl.cpp75 void VisitRecordDecl(RecordDecl *D);
480 void ASTDeclWriter::VisitRecordDecl(RecordDecl *D) { in VisitRecordDecl()

12345678