forked from OSchip/llvm-project
Debug Info: pass in DIScope instead of DIDescriptor in createFieldType.
Improve readability. No functionality change. llvm-svn: 190268
This commit is contained in:
parent
f2a88f3622
commit
2c826dcc20
|
@ -788,7 +788,7 @@ llvm::DIType CGDebugInfo::createFieldType(StringRef name,
|
|||
AccessSpecifier AS,
|
||||
uint64_t offsetInBits,
|
||||
llvm::DIFile tunit,
|
||||
llvm::DIDescriptor scope) {
|
||||
llvm::DIScope scope) {
|
||||
llvm::DIType debugType = getOrCreateType(type, tunit);
|
||||
|
||||
// Get the location for the field.
|
||||
|
|
|
@ -179,7 +179,7 @@ class CGDebugInfo {
|
|||
uint64_t sizeInBitsOverride, SourceLocation loc,
|
||||
AccessSpecifier AS, uint64_t offsetInBits,
|
||||
llvm::DIFile tunit,
|
||||
llvm::DIDescriptor scope);
|
||||
llvm::DIScope scope);
|
||||
|
||||
// Helpers for collecting fields of a record.
|
||||
void CollectRecordLambdaFields(const CXXRecordDecl *CXXDecl,
|
||||
|
|
Loading…
Reference in New Issue