Make this use a public accessor too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141752 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2011-10-12 00:38:05 +00:00
parent 865703e53a
commit d0851aae51

View File

@ -707,7 +707,7 @@ namespace llvm {
class DILexicalBlockFile : public DIScope { class DILexicalBlockFile : public DIScope {
public: public:
explicit DILexicalBlockFile(const MDNode *N = 0) : DIScope(N) {} 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 getLineNumber() const { return getScope().getLineNumber(); }
unsigned getColumnNumber() const { return getScope().getColumnNumber(); } unsigned getColumnNumber() const { return getScope().getColumnNumber(); }
StringRef getDirectory() const { StringRef getDirectory() const {