aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceManager.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-12-04 18:59:28 +0000
committerTed Kremenek <kremenek@apple.com>2007-12-04 18:59:28 +0000
commitb6427f821de8cce1566fb6e755143ea0918d5543 (patch)
tree54392e04b3a6e63e0d6009feb8225a37eed680d3 /include/clang/Basic/SourceManager.h
parent9551a2cbe5fdf316c126a39ec310208c2121321f (diff)
Fixed a few more comments to change "FileInfo" to "ContentCache."
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r--include/clang/Basic/SourceManager.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h
index 672a2c18b5..6798a21200 100644
--- a/include/clang/Basic/SourceManager.h
+++ b/include/clang/Basic/SourceManager.h
@@ -43,15 +43,15 @@ namespace SrcMgr {
const FileEntry* Entry;
/// Buffer - The actual buffer containing the characters from the input
- /// file. This is owned by the FileInfo object.
+ /// file. This is owned by the ContentCache object.
const llvm::MemoryBuffer* Buffer;
/// SourceLineCache - A new[]'d array of offsets for each source line. This
- /// is lazily computed. This is owned by the FileInfo object.
+ /// is lazily computed. This is owned by the ContentCache object.
unsigned* SourceLineCache;
- /// NumLines - The number of lines in this FileInfo. This is only valid if
- /// SourceLineCache is non-null.
+ /// NumLines - The number of lines in this ContentCache. This is only valid
+ /// if SourceLineCache is non-null.
unsigned NumLines;
ContentCache(const FileEntry* e = NULL)
@@ -181,7 +181,7 @@ class SourceManager {
/// MemBufferInfos - Information about various memory buffers that we have
/// read in. This is a list, instead of a vector, because we need pointers to
- /// the FileInfo objects to be stable. All FileEntry* within the
+ /// the ContentCache objects to be stable. All FileEntry* within the
/// stored ContentCache objects are NULL, as they do not refer to a file.
std::list<SrcMgr::ContentCache> MemBufferInfos;