From 80a88852b042be9f6451683a72c3167db249f075 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 24 Jul 2013 00:13:02 +0000 Subject: [PATCH] Remove more seemingly unused code. llvm-svn: 187009 --- include/llvm/DebugInfo.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 0911ec88b8b..450404ec619 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -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(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; }