aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-21 23:08:34 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-21 23:08:34 +0000
commitbb4e619cd9ff34708e3baaf0aac70275a917e0ba (patch)
treebf1713b36a98ba653cb278b4f41b53c2249cec8e /include
parent8233050895f781befc1d4165435d0fff605b6b70 (diff)
downloadexternal_llvm-bb4e619cd9ff34708e3baaf0aac70275a917e0ba.zip
external_llvm-bb4e619cd9ff34708e3baaf0aac70275a917e0ba.tar.gz
external_llvm-bb4e619cd9ff34708e3baaf0aac70275a917e0ba.tar.bz2
Refactor the filename/directory information in DISubprogram to refer directly to the pair rather than the DIFile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177677 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 585682f..f8eba37 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -470,14 +470,6 @@ namespace llvm {
unsigned isOptimized() const;
- StringRef getFilename() const {
- return getFieldAs<DIFile>(1).getFilename();
- }
-
- StringRef getDirectory() const {
- return getFieldAs<DIFile>(1).getDirectory();
- }
-
/// getScopeLineNumber - Get the beginning of the scope of the
/// function, not necessarily where the name of the program
/// starts.