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:
072b03c
)
[NFC] Suppress warning after D139114
author
Vitaly Buka
<vitalybuka@google.com>
Fri, 13 Jan 2023 22:29:51 +0000
(14:29 -0800)
committer
Vitaly Buka
<vitalybuka@google.com>
Fri, 13 Jan 2023 22:37:21 +0000
(14:37 -0800)
llvm/lib/Support/UnicodeNameToCodepoint.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/UnicodeNameToCodepoint.cpp
b/llvm/lib/Support/UnicodeNameToCodepoint.cpp
index
a10a7e8
..
df71be3
100644
(file)
--- a/
llvm/lib/Support/UnicodeNameToCodepoint.cpp
+++ b/
llvm/lib/Support/UnicodeNameToCodepoint.cpp
@@
-105,7
+105,7
@@
static Node readNode(uint32_t Offset, const Node *Parent = nullptr) {
uint8_t H = UnicodeNameToCodepointIndex[Offset++];
N.HasSibling = H & 0x80;
bool HasChildren = H & 0x40;
- H &= ~
0xC0
;
+ H &= ~
uint8_t(0xC0)
;
if (HasChildren) {
N.ChildrenOffset = (H << 16);
N.ChildrenOffset |=