aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-22 20:18:46 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-22 20:18:46 +0000
commit8faed2745c849fb35f6edf411263dfa564ef3643 (patch)
treefa73330d6b5dab14543dedcefabe3a4c7f4633b8 /include
parent7b246860bdf4c6b3ea4e09f6437537941cc0d1d4 (diff)
downloadexternal_llvm-8faed2745c849fb35f6edf411263dfa564ef3643.zip
external_llvm-8faed2745c849fb35f6edf411263dfa564ef3643.tar.gz
external_llvm-8faed2745c849fb35f6edf411263dfa564ef3643.tar.bz2
Swap the DIFile in DILexicalBlockFile out for the raw name/directory pair
This is the last change in transitioning all DIScopes to have a common prefix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-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 05ca385..3a2aff3 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -604,12 +604,6 @@ namespace llvm {
DIScope getContext() const { if (getScope().isSubprogram()) return getScope(); return getScope().getContext(); }
unsigned getLineNumber() const { return getScope().getLineNumber(); }
unsigned getColumnNumber() const { return getScope().getColumnNumber(); }
- StringRef getDirectory() const {
- return getFieldAs<DIFile>(1).getDirectory();
- }
- StringRef getFilename() const {
- return getFieldAs<DIFile>(1).getFilename();
- }
DILexicalBlock getScope() const { return getFieldAs<DILexicalBlock>(2); }
bool Verify() const;
};