diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-19 07:36:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-19 07:36:42 +0000 |
commit | b21e5a0fdd9bd6e6c6885428798070f0a9f71295 (patch) | |
tree | a4559014d6766a847540d5b9a979c25a30021e2d /lib/Basic/SourceLocation.cpp | |
parent | 31530bae788dea5c79e72a1f99a56c3f5c6aa36f (diff) |
remove the SourceManager:: and FullSourceLoc::getFileEntryForLoc methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceLocation.cpp')
-rw-r--r-- | lib/Basic/SourceLocation.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Basic/SourceLocation.cpp b/lib/Basic/SourceLocation.cpp index 1f5804ff9c..66ad720bb3 100644 --- a/lib/Basic/SourceLocation.cpp +++ b/lib/Basic/SourceLocation.cpp @@ -94,11 +94,6 @@ const char* FullSourceLoc::getSourceName() const { return SrcMgr->getSourceName(*this); } -const FileEntry* FullSourceLoc::getFileEntryForLoc() const { - assert(isValid()); - return SrcMgr->getFileEntryForLoc(*this); -} - bool FullSourceLoc::isInSystemHeader() const { assert(isValid()); return SrcMgr->isInSystemHeader(*this); |