aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
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;