diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-19 07:40:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-19 07:40:40 +0000 |
commit | 2fa3ec888a980bf09e3d68435e227d3c4280bf70 (patch) | |
tree | ef10d589b8b15bb438fd2bf55ddc6b80cb20f990 /include/clang/Basic/SourceManager.h | |
parent | b21e5a0fdd9bd6e6c6885428798070f0a9f71295 (diff) |
remove the public SourceManager::getContentCacheForLoc method.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r-- | include/clang/Basic/SourceManager.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index 270fba668e..41fa04183c 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h @@ -403,14 +403,6 @@ public: return PLoc.getFileLocWithOffset(Loc.getMacroSpellingOffs()); } - /// getContentCacheForLoc - Return the ContentCache for the spelling loc of - /// the specified SourceLocation, if one exists. - const SrcMgr::ContentCache* getContentCacheForLoc(SourceLocation Loc) const { - Loc = getSpellingLoc(Loc); - unsigned ChunkID = Loc.getChunkID(); - assert(ChunkID-1 < FileIDs.size() && "Invalid FileID!"); - return FileIDs[ChunkID-1].getContentCache(); - } /// getFileEntryForID - Returns the FileEntry record for the provided FileID. const FileEntry *getFileEntryForID(FileID FID) const { |