DirectXShaderCompiler
DirectXShaderCompiler copied to clipboard
Added test for type_traits
Issues I encountered:
-
__is_signedreturns false for float types, but it should return true. -
__is_unsignedreturns true for enum types, but I think it should return false. - I'm not sure how to implement tests for
__is_final, since there is nofinalkeyword. - I'm not sure how to implement tests for
__is_integral, since there is noconstexpr.
Status: // * __is_class - DONE // * __is_final - HOW? // * __is_literal - HOW? // * __is_arithmetic - DONE // * __is_scalar - DONE // * __is_floating_point - DONE // * __is_integral - DONE // * __is_complete_type- DONE // * __is_void - DONE // * __is_array - DONE // * __is_const - DONE // * __is_signed - DONE // * __is_unsigned - DONE // * __is_same - DONE // * __is_array - DONE // * __is_empty - DONE
CC: @llvm-beanz
@microsoft-github-policy-service agree company="Devsh Graphics Programming Sp. z O.O."