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 /include/clang/Basic | |
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 'include/clang/Basic')
-rw-r--r-- | include/clang/Basic/SourceLocation.h | 1 | ||||
-rw-r--r-- | include/clang/Basic/SourceManager.h | 6 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h index e56ce98026..8def5c5c1a 100644 --- a/include/clang/Basic/SourceLocation.h +++ b/include/clang/Basic/SourceLocation.h @@ -283,7 +283,6 @@ public: const llvm::MemoryBuffer* getBuffer() const; const char* getSourceName() const; - const FileEntry* getFileEntryForLoc() const; bool isInSystemHeader() const; 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; |