thakis added inline comments.

================
Comment at: clang/lib/Basic/SourceManager.cpp:1262
+                                           unsigned char n) {
+  return ((x - ~0UL / 255 * (n + 1)) & ~x &
+          (x & ~0UL / 255 * 127) + ~0UL / 255 * (127 - (m - 1))) &
----------------
UL is 32-bit on windows but 64-bit on linux/mac in 64-bit builds (LP64 vs 
LLP64). Maybe you want 0ULL here?

If so, then you should be able to repro this on linux by building a 32-bit 
clang binary there.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99409/new/

https://reviews.llvm.org/D99409

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to