[cfe-commits] r44574 - /cfe/trunk/include/clang/Basic/SourceManager.h

Ted Kremenek kremenek at apple.com
Tue Dec 4 10:59:29 PST 2007


Author: kremenek
Date: Tue Dec  4 12:59:28 2007
New Revision: 44574

URL: http://llvm.org/viewvc/llvm-project?rev=44574&view=rev
Log:
Fixed a few more comments to change "FileInfo" to "ContentCache."

Modified:
    cfe/trunk/include/clang/Basic/SourceManager.h

Modified: cfe/trunk/include/clang/Basic/SourceManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceManager.h?rev=44574&r1=44573&r2=44574&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/SourceManager.h (original)
+++ cfe/trunk/include/clang/Basic/SourceManager.h Tue Dec  4 12:59:28 2007
@@ -43,15 +43,15 @@
     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 @@
   
   /// 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;
   





More information about the cfe-commits mailing list