projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63b63c3
)
Correct typo introduced in f607884a04b0ca06951227a01d00bc59b948d337
author
serge-sans-paille
<sguelton@mozilla.com>
Sat, 3 Dec 2022 21:23:44 +0000
(22:23 +0100)
committer
serge-sans-paille
<sguelton@mozilla.com>
Sun, 4 Dec 2022 08:32:00 +0000
(09:32 +0100)
Fix #59321
clang/lib/Basic/SourceManager.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Basic/SourceManager.cpp
b/clang/lib/Basic/SourceManager.cpp
index
44ced42
..
96f0c42
100644
(file)
--- a/
clang/lib/Basic/SourceManager.cpp
+++ b/
clang/lib/Basic/SourceManager.cpp
@@
-1309,7
+1309,7
@@
LineOffsetMapping LineOffsetMapping::get(llvm::MemoryBufferRef Buffer,
Buf += N / 8 + 1;
unsigned char Byte = Word;
switch (Byte) {
- case 'r':
+ case '
\
r':
// If this is \r\n, skip both characters.
if (*Buf == '\n') {
++Buf;