forked from OSchip/llvm-project
DebugInfo: Contrain the record type parameter for CollectRecordFields
This is the correct type (as is demonstrated by the fact that the caller didn't need to change) & will be useful in a future patch. llvm-svn: 188575
This commit is contained in:
parent
36362016d3
commit
ab255bb9cf
|
@ -932,10 +932,10 @@ CollectRecordNormalField(const FieldDecl *field, uint64_t OffsetInBits,
|
|||
|
||||
/// CollectRecordFields - A helper function to collect debug info for
|
||||
/// record fields. This is used while creating debug info entry for a Record.
|
||||
void CGDebugInfo::
|
||||
CollectRecordFields(const RecordDecl *record, llvm::DIFile tunit,
|
||||
SmallVectorImpl<llvm::Value *> &elements,
|
||||
llvm::DIType RecordTy) {
|
||||
void CGDebugInfo::CollectRecordFields(const RecordDecl *record,
|
||||
llvm::DIFile tunit,
|
||||
SmallVectorImpl<llvm::Value *> &elements,
|
||||
llvm::DICompositeType RecordTy) {
|
||||
const CXXRecordDecl *CXXDecl = dyn_cast<CXXRecordDecl>(record);
|
||||
|
||||
if (CXXDecl && CXXDecl->isLambda())
|
||||
|
|
|
@ -192,7 +192,7 @@ class CGDebugInfo {
|
|||
llvm::DIType RecordTy);
|
||||
void CollectRecordFields(const RecordDecl *Decl, llvm::DIFile F,
|
||||
SmallVectorImpl<llvm::Value *> &E,
|
||||
llvm::DIType RecordTy);
|
||||
llvm::DICompositeType RecordTy);
|
||||
|
||||
void CollectVTableInfo(const CXXRecordDecl *Decl,
|
||||
llvm::DIFile F,
|
||||
|
|
Loading…
Reference in New Issue