[cfe-commits] r48501 - /cfe/trunk/include/clang/Basic/SourceLocation.h
Ted Kremenek
kremenek at apple.com
Tue Mar 18 13:13:06 PDT 2008
Author: kremenek
Date: Tue Mar 18 15:13:06 2008
New Revision: 48501
URL: http://llvm.org/viewvc/llvm-project?rev=48501&view=rev
Log:
Fix comment.
Modified:
cfe/trunk/include/clang/Basic/SourceLocation.h
Modified: cfe/trunk/include/clang/Basic/SourceLocation.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceLocation.h?rev=48501&r1=48500&r2=48501&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/SourceLocation.h (original)
+++ cfe/trunk/include/clang/Basic/SourceLocation.h Tue Mar 18 15:13:06 2008
@@ -116,7 +116,8 @@
/// 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);
More information about the cfe-commits
mailing list