diff options
| author | Ted Kremenek <kremenek@apple.com> | 2008-03-18 20:13:06 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2008-03-18 20:13:06 +0000 |
| commit | fa7ceba5285625e61442ccef0407effb97bb6c9f (patch) | |
| tree | e71ca2a66b9fba87b6402a19634e4d9f1b94e9b3 | |
| parent | 40af38078286db809bd018d14d65a239aa2b3ad8 (diff) | |
| download | bcm5719-llvm-fa7ceba5285625e61442ccef0407effb97bb6c9f.tar.gz bcm5719-llvm-fa7ceba5285625e61442ccef0407effb97bb6c9f.zip | |
Fix comment.
llvm-svn: 48501
| -rw-r--r-- | clang/include/clang/Basic/SourceLocation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/SourceLocation.h b/clang/include/clang/Basic/SourceLocation.h index 4cffb350b98..4118a4c9aa7 100644 --- a/clang/include/clang/Basic/SourceLocation.h +++ b/clang/include/clang/Basic/SourceLocation.h @@ -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); |

