IR: Remove dead code in DITemplate*

These are never referenced or filled in.

llvm-svn: 228607
This commit is contained in:
Duncan P. N. Exon Smith 2015-02-09 21:23:34 +00:00
parent a7343d65f4
commit 43e53ccc0d
1 changed files with 0 additions and 12 deletions

View File

@ -722,15 +722,9 @@ public:
: DIDescriptor(N) {}
StringRef getName() const { return getHeaderField(1); }
unsigned getLineNumber() const { return getHeaderFieldAs<unsigned>(2); }
unsigned getColumnNumber() const { return getHeaderFieldAs<unsigned>(3); }
DIScopeRef getContext() const { return getFieldAs<DIScopeRef>(1); }
DITypeRef getType() const { return getFieldAs<DITypeRef>(2); }
StringRef getFilename() const { return getFieldAs<DIFile>(3).getFilename(); }
StringRef getDirectory() const {
return getFieldAs<DIFile>(3).getDirectory();
}
bool Verify() const;
};
@ -741,16 +735,10 @@ public:
: DIDescriptor(N) {}
StringRef getName() const { return getHeaderField(1); }
unsigned getLineNumber() const { return getHeaderFieldAs<unsigned>(2); }
unsigned getColumnNumber() const { return getHeaderFieldAs<unsigned>(3); }
DIScopeRef getContext() const { return getFieldAs<DIScopeRef>(1); }
DITypeRef getType() const { return getFieldAs<DITypeRef>(2); }
Metadata *getValue() const;
StringRef getFilename() const { return getFieldAs<DIFile>(4).getFilename(); }
StringRef getDirectory() const {
return getFieldAs<DIFile>(4).getDirectory();
}
bool Verify() const;
};