@@ -57,7 +57,7 @@ namespace clang {
5757 // / convert an argument to a parameter's type. The enumerator values
5858 // / match with Table 9 of (C++ 13.3.3.1.1) and are listed such that
5959 // / better conversion kinds have smaller values.
60- enum ImplicitConversionKind {
60+ enum ImplicitConversionKind : unsigned int {
6161 ICK_Identity = 0 , // /< Identity conversion (no conversion)
6262 ICK_Lvalue_To_Rvalue, // /< Lvalue-to-rvalue conversion (C++ 4.1)
6363 ICK_Array_To_Pointer, // /< Array-to-pointer conversion (C++ 4.2)
@@ -79,27 +79,28 @@ namespace clang {
7979 ICK_Vector_Conversion, // /< Vector conversions
8080 ICK_Vector_Splat, // /< A vector splat from an arithmetic type
8181 ICK_Complex_Real, // /< Complex-real conversions (C99 6.3.1.7)
82- ICK_Block_Pointer_Conversion, // /< Block Pointer conversions
82+ ICK_Block_Pointer_Conversion, // /< Block Pointer conversions
8383 ICK_TransparentUnionConversion, // /< Transparent Union Conversions
84- ICK_Writeback_Conversion, // /< Objective-C ARC writeback conversion
84+ ICK_Writeback_Conversion, // /< Objective-C ARC writeback conversion
8585 ICK_Zero_Event_Conversion, // /< Zero constant to event (OpenCL1.2 6.12.10)
8686
8787 // HLSL Change Starts
88- // The following conversion types also imply a potential followup
88+ // The following conversion types also imply a potential followup
8989 // ComponentConversion.
9090 // List is roughly ordered to preserve the property:
9191 // "better conversion kinds have smaller values"
92- // Unfortunately, this property isn't really possible to preserve due
92+ // Unfortunately, this property isn't really possible to preserve due
9393 // to potential additional component conversion.
9494 ICK_HLSLVector_Scalar, // /< HLSLVector/Matrix to scalar
9595 ICK_HLSLVector_Conversion, // /< HLSLVector/Matrix conversion
96- ICK_Flat_Conversion, // /< Flat assignment conversion for HLSL (inline conversion, straddled)
96+ ICK_Flat_Conversion, // /< Flat assignment conversion for HLSL (inline
97+ // /< conversion, straddled)
9798 ICK_HLSLVector_Splat, // /< HLSLVector/Matrix splat
9899 ICK_HLSLVector_Truncation, // /< HLSLVector/Matrix truncation
99100 ICK_HLSL_Derived_To_Base, // /< HLSL Derived-to-base
100101 // HLSL Change Ends
101102
102- ICK_Num_Conversion_Kinds // /< The number of conversion kinds
103+ ICK_Num_Conversion_Kinds // /< The number of conversion kinds
103104 };
104105
105106 // / ImplicitConversionRank - The rank of an implicit conversion
0 commit comments