Home
last modified time | relevance | path

Searched refs:RecordDecl (Results 26 – 50 of 179) sorted by relevance

12345678

/openbsd/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.h119 void SetRecordLayout(clang::RecordDecl *decl, const LayoutInfo &layout);
122 const clang::RecordDecl *record_decl, uint64_t &bit_size,
453 typedef llvm::DenseMap<const clang::RecordDecl *, LayoutInfo>
H A DClangASTSource.h137 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
235 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment, in layoutRecordType()
H A DClangASTSource.cpp1465 DeclFromUser<RecordDecl> origin_base_record( in ExtractBaseOffsets()
1493 bool ClangASTSource::layoutRecordType(const RecordDecl *record, uint64_t &size, in layoutRecordType()
1507 DeclFromParser<const RecordDecl> parser_record(record); in layoutRecordType()
1508 DeclFromUser<const RecordDecl> origin_record( in layoutRecordType()
1520 const_cast<RecordDecl *>(origin_record.decl)); in layoutRecordType()
1522 clang::RecordDecl *definition = origin_record.decl->getDefinition(); in layoutRecordType()
1531 for (RecordDecl::field_iterator fi = origin_record->field_begin(), in layoutRecordType()
1575 for (RecordDecl::field_iterator fi = record->field_begin(), in layoutRecordType()
1596 DeclFromParser<RecordDecl> base_record(base_record_type->getDecl()); in layoutRecordType()
H A DClangASTImporter.cpp289 RecordDecl *from_record_decl = dyn_cast<RecordDecl>(from); in NewDeclImported()
521 const clang::RecordDecl *record_decl, uint64_t &bit_size, in LayoutRecordType()
549 void ClangASTImporter::SetRecordLayout(clang::RecordDecl *decl, in SetRecordLayout()
647 if (RecordDecl *record_decl = dyn_cast<RecordDecl>(origin_tag_decl)) in CompleteAndFetchChildren()
1000 clang::RecordDecl *rd = return_type->getPointeeType()->getAsRecordDecl(); in MaybeCompleteReturnType()
H A DClangExternalASTSourceCallbacks.h42 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
H A DClangExternalASTSourceCallbacks.cpp30 const clang::RecordDecl *Record, uint64_t &Size, uint64_t &Alignment, in layoutRecordType()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDecl.h68 class RecordDecl; variable
3135 const RecordDecl *getParent() const { in getParent()
3136 return dyn_cast<RecordDecl>(getDeclContext()); in getParent()
3139 RecordDecl *getParent() { in getParent()
3996 class RecordDecl : public TagDecl {
4036 RecordDecl *getPreviousDecl() { in getPreviousDecl()
4037 return cast_or_null<RecordDecl>( in getPreviousDecl()
4040 const RecordDecl *getPreviousDecl() const { in getPreviousDecl()
4044 RecordDecl *getMostRecentDecl() { in getMostRecentDecl()
4047 const RecordDecl *getMostRecentDecl() const { in getMostRecentDecl()
[all …]
H A DODRHash.h60 void AddRecordDecl(const RecordDecl *Record);
H A DASTContext.h261 mutable llvm::DenseMap<const RecordDecl*, const ASTRecordLayout*>
385 mutable RecordDecl *CFConstantStringTagDecl = nullptr;
411 mutable RecordDecl *BlockDescriptorType = nullptr;
417 mutable RecordDecl *BlockDescriptorExtendedType = nullptr;
1189 RecordDecl *buildImplicitRecord(StringRef Name,
1190 RecordDecl::TagKind TK = TTK_Struct) const;
1575 QualType getRecordType(const RecordDecl *Decl) const;
1800 RecordDecl *getCFConstantStringTagDecl() const;
2401 const ASTRecordLayout &getASTRecordLayout(const RecordDecl *D) const;
2408 void DumpRecordLayout(const RecordDecl *RD, raw_ostream &OS,
[all …]
H A DExternalASTSource.h48 class RecordDecl; variable
269 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment,
/openbsd/gnu/llvm/clang/include/clang/Frontend/
H A DLayoutOverrideSource.h50 layoutRecordType(const RecordDecl *Record,
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp155 LayoutOverrideSource::layoutRecordType(const RecordDecl *Record, in layoutRecordType()
172 for (RecordDecl::field_iterator F = Record->field_begin(), in layoutRecordType()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1105 const RecordDecl *RD = Ty->getDecl(); in getOrCreateRecordFwdDecl()
1116 const RecordDecl *D = RD->getDefinition(); in getOrCreateRecordFwdDecl()
1358 if (isa<RecordDecl>(DC)) in CreateType()
1589 const RecordDecl *RD) { in CollectRecordNormalField()
1673 if (isa<RecordDecl>(I) && in CollectRecordFields()
2561 RecordDecl *RD = Ty->getDecl(); in CreateType()
2574 RecordDecl *RD = Ty->getDecl(); in CreateTypeDefinition()
3408 if (isa<RecordDecl>(D) && !cast<RecordDecl>(D)->getDefinition()) in getParentModuleOrNull()
3557 RecordDecl *RD = Ty->getDecl(); in CreateLimitedType()
3720 else if (const RecordDecl *RDecl = in collectFunctionDeclProps()
[all …]
H A DModuleBuilder.cpp280 if (const RecordDecl *RD = dyn_cast<RecordDecl>(D)) in HandleTagDeclRequiredDefinition()
H A DCodeGenABITypes.cpp114 const RecordDecl *RD, in getLLVMFieldNumber()
/openbsd/gnu/llvm/clang/lib/AST/
H A DASTStructuralEquivalence.cpp1303 RecordDecl *D1 = Field1->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent()
1304 RecordDecl *D2 = Field2->getType()->castAs<RecordType>()->getDecl(); in IsStructurallyEquivalent()
1350 const auto *Owner2 = cast<RecordDecl>(Field2->getDeclContext()); in IsStructurallyEquivalent()
1421 static bool IsRecordContextStructurallyEquivalent(RecordDecl *D1, in IsRecordContextStructurallyEquivalent()
1422 RecordDecl *D2) { in IsRecordContextStructurallyEquivalent()
1458 RecordDecl *D1, RecordDecl *D2) { in IsStructurallyEquivalent()
1670 RecordDecl::field_iterator Field2 = D2->field_begin(), in IsStructurallyEquivalent()
1672 for (RecordDecl::field_iterator Field1 = D1->field_begin(), in IsStructurallyEquivalent()
2159 StructuralEquivalenceContext::findUntaggedStructOrUnionIndex(RecordDecl *Anon) { in findUntaggedStructOrUnionIndex()
2163 const auto *Owner = dyn_cast<RecordDecl>(Anon->getDeclContext()); in findUntaggedStructOrUnionIndex()
[all …]
H A DExternalASTSource.cpp64 const RecordDecl *Record, uint64_t &Size, uint64_t &Alignment, in layoutRecordType()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp120 static bool shouldIgnoreRecord(const RecordDecl *RD, StringRef Pattern);
280 const RecordDecl *RD = R->getValueType()->getAsRecordDecl()->getDefinition(); in isNonUnionUninit()
500 static bool shouldIgnoreRecord(const RecordDecl *RD, StringRef Pattern) { in shouldIgnoreRecord()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DOpcodes.td46 def ArgRecordDecl : ArgType { let Name = "const RecordDecl *"; }
256 // RecordDecl of base class.
266 // RecordDecl of base class.
/openbsd/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2439 clang::RecordDecl *record_decl = llvm::dyn_cast<clang::RecordDecl>(decl); in DumpDeclHiearchy()
3096 clang::RecordDecl::field_iterator field_pos, in IsHomogeneousAggregate()
5430 clang::RecordDecl::field_iterator field, field_end; in GetNumChildren()
5764 clang::RecordDecl::field_iterator field, field_end; in GetFieldAtIndex()
6321 clang::RecordDecl::field_iterator field, field_end; in GetChildCompilerTypeAtIndex()
6643 const clang::RecordDecl *record_decl, in GetIndexForRecordBase()
6677 clang::RecordDecl::field_iterator field, field_end; in GetIndexForRecordChild()
7424 if (clang::RecordDecl *Rec = in AddFieldToRecordType()
7496 clang::RecordDecl::field_iterator field_pos; in BuildIndirectFields()
7515 for (clang::RecordDecl::decl_iterator in BuildIndirectFields()
[all …]
/openbsd/gnu/llvm/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h1066 const RecordDecl *AggregateType;
1090 OverloadCandidate(const RecordDecl *Aggregate) in OverloadCandidate()
1126 const RecordDecl *getAggregate() const { in getAggregate()
H A DScopeInfo.h55 class RecordDecl; variable
787 RecordDecl *TheRecordDecl;
802 RecordDecl *RD, ImplicitParamDecl *Context, in CapturedRegionScopeInfo()
/openbsd/gnu/llvm/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h105 const RecordDecl *RD, const FieldDecl *FD);
/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.h22 class RecordDecl; variable
/openbsd/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp83 RecordDecl *NSStringRecord;
91 RecordDecl *SuperStructDecl;
92 RecordDecl *ConstantStringDecl;
260 void RewriteRecordBody(RecordDecl *RD);
2360 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, in SynthMsgSendSuperFunctionDecl()
2403 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, in SynthMsgSendSuperStretFunctionDecl()
3758 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, in SynthesizeBlockCall()
4486 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, in SynthBlockInitExpr()
4893 RecordDecl *RD = cast<RecordDecl>(D); in HandleDeclInMainFile()
5824 RecordDecl *RD = RecordDecl::Create(*Context, TTK_Struct, TUDecl, in RewriteObjCIvarRefExpr()
[all …]

12345678