diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-08 03:45:05 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-08 03:45:05 +0000 |
commit | 2c826dcc20aaaab8c582261ef63cdf5c7d5c0470 (patch) | |
tree | bc2fd2426d6657bb6edc858622c2822f3a8974d5 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | f2a88f3622678987a5c87657542203de1d1c27e0 (diff) | |
download | bcm5719-llvm-2c826dcc20aaaab8c582261ef63cdf5c7d5c0470.tar.gz bcm5719-llvm-2c826dcc20aaaab8c582261ef63cdf5c7d5c0470.zip |
Debug Info: pass in DIScope instead of DIDescriptor in createFieldType.
Improve readability. No functionality change.
llvm-svn: 190268
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index b01532a97d0..872fb650e54 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -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. |