]> granicus.if.org Git - clang/commit
Include debug info for nested structs and classes
authorAdrian McCarthy <amccarth@google.com>
Wed, 6 Jul 2016 14:46:42 +0000 (14:46 +0000)
committerAdrian McCarthy <amccarth@google.com>
Wed, 6 Jul 2016 14:46:42 +0000 (14:46 +0000)
commitb8adec3cc678837dafc3d646ed2f158c6f65240f
tree9131bdd417a2c9c637b3ae4fae0a85998f88f2f2
parente2855b94ca83b1ed3840f3df71a3e7a2afcd200f
Include debug info for nested structs and classes

This includes nested types in the member list, even if there are no members of that type. Note that structs and classes have themselves as an "implicit struct" as the first member, so we skip implicit ones.

Differential Revision: http://reviews.llvm.org/D21705

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274628 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
test/CodeGenCXX/debug-info-dup-fwd-decl.cpp
test/CodeGenCXX/debug-info-indirect-field-decl.cpp
test/CodeGenCXX/debug-info-ms-abi.cpp