mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-10 12:28:25 +00:00
Fix clang-tidy issue with the u suffix (#8047)
Assisted-by: Antigravity with Gemini
This commit is contained in:
1 parent
f27a977d86
commit
c008bec1a5
1 file changed
+1
-1
@@ -1048,7 +1048,7 @@ static auto SkipHorizontalWhitespaceX86(llvm::StringRef source_text,
|
||||
// `tzcnt`/`bsf`
|
||||
// (`std::countr_zero`) instead of looping per byte.
|
||||
uint32_t non_ws_mask =
|
||||
~static_cast<uint32_t>(_mm_movemask_epi8(is_ws)) & 0xFFFFu;
|
||||
~static_cast<uint32_t>(_mm_movemask_epi8(is_ws)) & 0xFFFFU;
|
||||
if (LLVM_LIKELY(non_ws_mask != 0)) {
|
||||
position += std::countr_zero(non_ws_mask);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user