diff options
author | David Blaikie <dblaikie@gmail.com> | 2016-12-27 22:05:35 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2016-12-27 22:05:35 +0000 |
commit | deeca6de08ff517ecc4db90598d67e23c930302f (patch) | |
tree | c56772ed8b3a79684d43a8100552d5072345e376 /clang/test/CodeGenCXX/debug-info-class.cpp | |
parent | 5cc08f865bc105ec7dc89321fa383b17bd5238ff (diff) | |
download | bcm5719-llvm-deeca6de08ff517ecc4db90598d67e23c930302f.tar.gz bcm5719-llvm-deeca6de08ff517ecc4db90598d67e23c930302f.zip |
DebugInfo: Don't include size/alignment on class declarations
This seems like it must've been a leftover by accident - no tests were
backing it up & it doesn't make much sense to include size/alignment on
class declarations (it'd only be on those declarations for which the
definition was available - otherwise the size/alignment would not be
known).
llvm-svn: 290631
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-class.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-class.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-class.cpp b/clang/test/CodeGenCXX/debug-info-class.cpp index d03c0845dd6..d572eef68ab 100644 --- a/clang/test/CodeGenCXX/debug-info-class.cpp +++ b/clang/test/CodeGenCXX/debug-info-class.cpp @@ -122,6 +122,7 @@ int main(int argc, char **argv) { // CHECK: [[C_DTOR]] = !DISubprogram(name: "~C" // CHECK: [[D:![0-9]+]] = !DICompositeType(tag: DW_TAG_structure_type, name: "D" +// CHECK-NOT: size: // CHECK-SAME: DIFlagFwdDecl // CHECK-SAME: identifier: "_ZTS1D" // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "E" |