diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-24 00:13:02 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-24 00:13:02 +0000 |
commit | 28a485b001b9b0952b51ab9c467e9dc0c88a2ca0 (patch) | |
tree | 47996542e0d8affbff6f87e6625d92175f6894b3 /include | |
parent | 1f67c63cb23ba5d405452d72bb8892df6b7ccd4f (diff) | |
download | external_llvm-28a485b001b9b0952b51ab9c467e9dc0c88a2ca0.zip external_llvm-28a485b001b9b0952b51ab9c467e9dc0c88a2ca0.tar.gz external_llvm-28a485b001b9b0952b51ab9c467e9dc0c88a2ca0.tar.bz2 |
Remove more seemingly unused code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 0911ec8..450404e 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<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; } |