[llvm] r187009 - Remove more seemingly unused code.
Eric Christopher
echristo at gmail.com
Tue Jul 23 17:13:02 PDT 2013
Author: echristo
Date: Tue Jul 23 19:13:02 2013
New Revision: 187009
URL: http://llvm.org/viewvc/llvm-project?rev=187009&view=rev
Log:
Remove more seemingly unused code.
Modified:
llvm/trunk/include/llvm/DebugInfo.h
Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=187009&r1=187008&r2=187009&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Tue Jul 23 19:13:02 2013
@@ -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;
}
More information about the llvm-commits
mailing list