Removing unused DISubprogram::getFile
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 21 Mar 2013 00:10:31 +0000 (00:10 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 21 Mar 2013 00:10:31 +0000 (00:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177614 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo.h

index ea826d7fb66a0e19e609802af2c1b3d9fb48eae4..6ced25e5a42616a1bb702b704a3fa60d9ea3735a 100644 (file)
@@ -478,10 +478,6 @@ namespace llvm {
       return getFieldAs<DIFile>(6).getDirectory();
     }
 
-    DIFile getFile() const {
-      return getFieldAs<DIFile>(6);
-    }
-
     /// getScopeLineNumber - Get the beginning of the scope of the
     /// function, not necessarily where the name of the program
     /// starts.