From: Ted Kremenek Date: Tue, 4 Dec 2007 18:59:28 +0000 (+0000) Subject: Fixed a few more comments to change "FileInfo" to "ContentCache." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6427f821de8cce1566fb6e755143ea0918d5543;p=clang 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 --- 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 MemBufferInfos;