aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/DebugInfo.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-20 19:39:15 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-20 19:39:15 +0000
commit6115ed0e4347f17504f72e4d37545b4230b2cb50 (patch)
tree55a264952ec55bc47cc79b2cd9a272b3713cf66e /include/llvm/DebugInfo.h
parenta625e820711644a3dae22cad53c95100e6e7d3f1 (diff)
downloadexternal_llvm-6115ed0e4347f17504f72e4d37545b4230b2cb50.zip
external_llvm-6115ed0e4347f17504f72e4d37545b4230b2cb50.tar.gz
external_llvm-6115ed0e4347f17504f72e4d37545b4230b2cb50.tar.bz2
Refactor file/directory path in namespace debug info to refer directly to the pair rather than the DIFile
(paired to a Clang test - excuse the buildbot skew/fallout) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfo.h')
-rw-r--r--include/llvm/DebugInfo.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index d8576fa..d664941 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -646,12 +646,6 @@ namespace llvm {
explicit DINameSpace(const MDNode *N = 0) : DIScope(N) {}
DIScope getContext() const { return getFieldAs<DIScope>(2); }
StringRef getName() const { return getStringField(3); }
- StringRef getDirectory() const {
- return getFieldAs<DIFile>(1).getDirectory();
- }
- StringRef getFilename() const {
- return getFieldAs<DIFile>(1).getFilename();
- }
unsigned getLineNumber() const { return getUnsignedField(4); }
bool Verify() const;
};