aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-09-01 18:25:16 -0700
committerFangrui Song <i@maskray.me>2023-09-01 18:25:16 -0700
commit111fcb0df02db3db8bed1d5db6d911b7ce544d92 (patch)
treebe1a4370f8a99e3dc03cade7c29337b8c432686b /llvm/lib/Support/SourceMgr.cpp
parent9f3e3efd98a29eb8df9e3ad43a573c9141d1ace2 (diff)
downloadllvm-111fcb0df02db3db8bed1d5db6d911b7ce544d92.zip
llvm-111fcb0df02db3db8bed1d5db6d911b7ce544d92.tar.gz
llvm-111fcb0df02db3db8bed1d5db6d911b7ce544d92.tar.bz2
[llvm] Fix duplicate word typos. NFC
Those fixes were taken from https://reviews.llvm.org/D137338
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
-rw-r--r--llvm/lib/Support/SourceMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/SourceMgr.cpp b/llvm/lib/Support/SourceMgr.cpp
index 8065f0a..ebeff87 100644
--- a/llvm/lib/Support/SourceMgr.cpp
+++ b/llvm/lib/Support/SourceMgr.cpp
@@ -117,7 +117,7 @@ unsigned SourceMgr::SrcBuffer::getLineNumberSpecialized(const char *Ptr) const {
return llvm::lower_bound(Offsets, PtrOffset) - Offsets.begin() + 1;
}
-/// Look up a given \p Ptr in in the buffer, determining which line it came
+/// Look up a given \p Ptr in the buffer, determining which line it came
/// from.
unsigned SourceMgr::SrcBuffer::getLineNumber(const char *Ptr) const {
size_t Sz = Buffer->getBufferSize();