aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-19 07:36:42 +0000
committerChris Lattner <sabre@nondot.org>2009-01-19 07:36:42 +0000
commitb21e5a0fdd9bd6e6c6885428798070f0a9f71295 (patch)
treea4559014d6766a847540d5b9a979c25a30021e2d /include/clang/Basic/SourceManager.h
parent31530bae788dea5c79e72a1f99a56c3f5c6aa36f (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 'include/clang/Basic/SourceManager.h')
-rw-r--r--include/clang/Basic/SourceManager.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h
index b60d0dab23..270fba668e 100644
--- a/include/clang/Basic/SourceManager.h
+++ b/include/clang/Basic/SourceManager.h
@@ -412,12 +412,6 @@ public:
return FileIDs[ChunkID-1].getContentCache();
}
- /// getFileEntryForLoc - Return the FileEntry record for the spelling loc of
- /// the specified SourceLocation, if one exists.
- const FileEntry* getFileEntryForLoc(SourceLocation Loc) const {
- return getContentCacheForLoc(Loc)->Entry;
- }
-
/// getFileEntryForID - Returns the FileEntry record for the provided FileID.
const FileEntry *getFileEntryForID(FileID FID) const {
return getContentCache(FID)->Entry;