Debug Info: pass in DIScope instead of DIDescriptor in createFieldType.

Improve readability. No functionality change.

llvm-svn: 190268
This commit is contained in:
Manman Ren 2013-09-08 03:45:05 +00:00
parent f2a88f3622
commit 2c826dcc20
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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,