summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-10-12 00:38:05 +0000
committerEric Christopher <echristo@apple.com>2011-10-12 00:38:05 +0000
commitd0851aae5133b138ee3f87277d0b7775994bea46 (patch)
treebfb3b1b65a681a42af58ea8b51848f2ad0c6911e /include
parent865703e53afb258805c9e35ea3cb346fa7eff115 (diff)
downloadllvm-d0851aae5133b138ee3f87277d0b7775994bea46.tar.gz
llvm-d0851aae5133b138ee3f87277d0b7775994bea46.tar.bz2
llvm-d0851aae5133b138ee3f87277d0b7775994bea46.tar.xz
Make this use a public accessor too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141752 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 402975b76c..9a53c4dadb 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -707,7 +707,7 @@ namespace llvm {
class DILexicalBlockFile : public DIScope {
public:
explicit DILexicalBlockFile(const MDNode *N = 0) : DIScope(N) {}
- DIScope getContext() const { return getScope().getFieldAs<DIScope>(1); }
+ DIScope getContext() const { return getScope().getContext(); }
unsigned getLineNumber() const { return getScope().getLineNumber(); }
unsigned getColumnNumber() const { return getScope().getColumnNumber(); }
StringRef getDirectory() const {