]> granicus.if.org Git - clang/commitdiff
Fix comment.
authorTed Kremenek <kremenek@apple.com>
Tue, 18 Mar 2008 20:13:06 +0000 (20:13 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 18 Mar 2008 20:13:06 +0000 (20:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48501 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/SourceLocation.h

index 4cffb350b98a4cd77b05d47a3d58525ff7b0f1c7..4118a4c9aa7e8464dbb053cbc7053a1867166485 100644 (file)
@@ -116,7 +116,8 @@ public:
   /// getRawFilePos - Return the byte offset from the start of the file-chunk
   /// referred to by FileID.  This method should not be used to get the offset
   /// from the start of the file, instead you should use
-  /// SourceManager::getFilePos.  This method will be incorrect for large files.
+  /// SourceManager::getDecomposedFileLoc.  This method will be 
+  //  incorrect for large files.
   unsigned getRawFilePos() const { 
     assert(isFileID() && "can't get the file id of a non-file sloc!");
     return ID & (ChunkSize-1);