1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Remove more seemingly unused code.

llvm-svn: 187009
This commit is contained in:
Eric Christopher 2013-07-24 00:13:02 +00:00
parent cf58aac74c
commit 80a88852b0

View File

@ -207,9 +207,7 @@ namespace llvm {
protected:
friend class DIDescriptor;
void printInternal(raw_ostream &OS) const;
// This ctor is used when the Tag has already been validated by a derived
// ctor.
DIType(const MDNode *N, bool, bool) : DIScope(N) {}
public:
/// Verify - Verify that a type descriptor is well formed.
bool Verify() const;
@ -289,12 +287,10 @@ namespace llvm {
class DIDerivedType : public DIType {
friend class DIDescriptor;
void printInternal(raw_ostream &OS) const;
protected:
explicit DIDerivedType(const MDNode *N, bool, bool)
: DIType(N, true, true) {}
public:
explicit DIDerivedType(const MDNode *N = 0)
: DIType(N, true, true) {}
: DIType(N) {}
DIType getTypeDerivedFrom() const { return getFieldAs<DIType>(9); }
@ -331,7 +327,7 @@ namespace llvm {
void printInternal(raw_ostream &OS) const;
public:
explicit DICompositeType(const MDNode *N = 0)
: DIDerivedType(N, true, true) {
: DIDerivedType(N) {
if (N && !isCompositeType())
DbgNode = 0;
}