DI: Remove unnecessary DICompositeTypeBase
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 20:56:36 +0000 (20:56 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 24 Jul 2015 20:56:36 +0000 (20:56 +0000)
commite5f2fce18ac75040a70b3d1a9c1cc0d50130c66b
treeac18b0033e7ce811a2bb3aca7bdce787b2173d42
parent24b6acf9719e4cae19a2b9cdb3fd32e074b19c7a
DI: Remove unnecessary DICompositeTypeBase

Remove unnecessary and confusing common base class for `DICompositeType`
and `DISubroutineType`.

While at a high-level `DISubroutineType` is a sort of composite of other
types, it has no shared code paths, and its fields are completely
disjoint.  This relationship was left over from the old debug info
hierarchy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243160 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfoMetadata.h
include/llvm/IR/Metadata.def
lib/IR/DebugInfoMetadata.cpp