tschuett added a comment.

  error: comparison of integers of different signs: 'long' and 'unsigned long' 
[-Werror,-Wsign-compare]
   if (End - Start > sizeof(Word)) {



================
Comment at: clang/lib/Basic/SourceManager.cpp:1292
   // This is much faster than scanning each byte independently.
-  if (BufLen > sizeof(Word)) {
+  if (End - Start > sizeof(Word)) {
     do {
----------------
Sorry for being late. This comparison has issues.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138474

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

Reply via email to