diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-15 05:22:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-15 05:22:18 +0000 |
commit | 57540c5be0c31cc91cc608462954bdd7cf8a44e7 (patch) | |
tree | e7e0d92899935d210ba57ca6c430bb733ceccb58 /clang/lib/Basic/SourceManager.cpp | |
parent | 0ab5e2cdedba59b4f81152d72d70e1796f796834 (diff) | |
download | llvm-57540c5be0c31cc91cc608462954bdd7cf8a44e7.zip llvm-57540c5be0c31cc91cc608462954bdd7cf8a44e7.tar.gz llvm-57540c5be0c31cc91cc608462954bdd7cf8a44e7.tar.bz2 |
fix a bunch of comment typos found by codespell. Patch by
Luis Felipe Strano Moraes!
llvm-svn: 129559
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
-rw-r--r-- | clang/lib/Basic/SourceManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp index 8262feb..d73a0af 100644 --- a/clang/lib/Basic/SourceManager.cpp +++ b/clang/lib/Basic/SourceManager.cpp @@ -70,7 +70,7 @@ const llvm::MemoryBuffer *ContentCache::getBuffer(Diagnostic &Diag, SourceLocation Loc, bool *Invalid) const { // Lazily create the Buffer for ContentCaches that wrap files. If we already - // computed it, jsut return what we have. + // computed it, just return what we have. if (Buffer.getPointer() || ContentsEntry == 0) { if (Invalid) *Invalid = isBufferInvalid(); @@ -1388,7 +1388,7 @@ bool SourceManager::isBeforeInTranslationUnit(SourceLocation LHS, while (!MoveUpIncludeHierarchy(LOffs, *this)) /*empty*/; while (!MoveUpIncludeHierarchy(ROffs, *this)) /*empty*/; - // If exactly one location is a memory buffer, assume it preceeds the other. + // If exactly one location is a memory buffer, assume it precedes the other. // Strip off macro instantation locations, going up to the top-level File // SLocEntry. |