Bug ID: 41516
           Summary: -Wsign-conversion does not warn on uint64_t to int8_t,
                    int16_t, or int32_t implicit conversions
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++

Created attachment 21788
Program that does not raise sign conversion warning

Compile the attachment with

    clang++ -std=c++17 -Wsign-conversion ./test.cpp -o test

Implicit signedness conversions form uint64_t to numerous integer types are not
warned.  Only the conversion from uint64_t to int64_t is warned.

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to