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

            Bug ID: 43395
           Summary: __is_signed doesn't work for floating point types
           Product: clang
           Version: 9.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: z.zoel...@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@metafoo.co.uk

The __is_signed builtin doesn't work for floating-point types. The following
compiles:
    static_assert(__is_signed(int));
But this does not:
    static_assert(__is_signed(float));
    static_assert(__is_signed(double));

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

Reply via email to