aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-10-30 17:46:51 +0000
committerChris Lattner <sabre@nondot.org>2007-10-30 17:46:51 +0000
commitf17765d202d1ec34ada7ff3f18d18731588143c2 (patch)
tree3136db30087e6d43f752108b004d1b4e56a69f6b
parentd65d8eea9f4d576a1101255eb1b16db84d0ce3ae (diff)
update some comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43506 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/FileManager.h2
-rw-r--r--include/clang/Basic/SourceManager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/FileManager.h b/include/clang/Basic/FileManager.h
index ad955d7280..b37d412bc0 100644
--- a/include/clang/Basic/FileManager.h
+++ b/include/clang/Basic/FileManager.h
@@ -36,7 +36,7 @@ public:
/// FileEntry - Cached information about one file on the disk.
///
class FileEntry {
- const char *Name; // Name of the directory.
+ const char *Name; // Name of the file.
off_t Size; // File size in bytes.
time_t ModTime; // Modification time of file.
const DirectoryEntry *Dir; // Directory file lives in.
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h
index ba731589d6..595a3ff8cc 100644
--- a/include/clang/Basic/SourceManager.h
+++ b/include/clang/Basic/SourceManager.h
@@ -81,7 +81,7 @@ namespace SrcMgr {
/// chunk number of this FileID.
unsigned ChunkNo;
- /// FileInfo - Information about the source buffer itself.
+ /// Info - Information about the source buffer itself.
///
const InfoRec *Info;
public: