https://bugs.llvm.org/show_bug.cgi?id=42426

            Bug ID: 42426
           Summary: lib/Basic/SourceManager.cpp is causing warning on MSVC
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

After

commit 979ae80af7ec49624b932954d22cb91900f17121
Author: Richard Smith <[email protected]>
Date:   Fri Jun 21 20:46:22 2019 +0000

    PR42301: Abort cleanly if we encounter a huge source file rather than
    crashing.

We have new warning reported by MSVC:

path/to/clang/lib/Basic/SourceManager.cpp(116): error C2220: warning treated as
error - no 'object' file generated
path/to/clang/lib/Basic/SourceManager.cpp(116): warning C4018: '>=':
signed/unsigned mismatch

I can see in other places in this file result of ContentsEntry->getSize() is
casted to unsingned.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to