@@ -816,7 +816,8 @@ def StdC : StandardSpec<"stdc"> {
816
816
Macro<"stdc_count_ones">,
817
817
Macro<"stdc_has_single_bit">,
818
818
Macro<"std_bit_width">,
819
- Macro<"std_bit_floor">
819
+ Macro<"std_bit_floor">,
820
+ Macro<"std_bit_ceil">
820
821
], // Macros
821
822
[], // Types
822
823
[], // Enumerations
@@ -880,7 +881,12 @@ def StdC : StandardSpec<"stdc"> {
880
881
FunctionSpec<"stdc_bit_floor_us", RetValSpec<UnsignedShortType>, [ArgSpec<UnsignedShortType>]>,
881
882
FunctionSpec<"stdc_bit_floor_ui", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedIntType>]>,
882
883
FunctionSpec<"stdc_bit_floor_ul", RetValSpec<UnsignedLongType>, [ArgSpec<UnsignedLongType>]>,
883
- FunctionSpec<"stdc_bit_floor_ull", RetValSpec<UnsignedLongLongType>, [ArgSpec<UnsignedLongLongType>]>
884
+ FunctionSpec<"stdc_bit_floor_ull", RetValSpec<UnsignedLongLongType>, [ArgSpec<UnsignedLongLongType>]>,
885
+ FunctionSpec<"stdc_bit_ceil_uc", RetValSpec<UnsignedCharType>, [ArgSpec<UnsignedCharType>]>,
886
+ FunctionSpec<"stdc_bit_ceil_us", RetValSpec<UnsignedShortType>, [ArgSpec<UnsignedShortType>]>,
887
+ FunctionSpec<"stdc_bit_ceil_ui", RetValSpec<UnsignedIntType>, [ArgSpec<UnsignedIntType>]>,
888
+ FunctionSpec<"stdc_bit_ceil_ul", RetValSpec<UnsignedLongType>, [ArgSpec<UnsignedLongType>]>,
889
+ FunctionSpec<"stdc_bit_ceil_ull", RetValSpec<UnsignedLongLongType>, [ArgSpec<UnsignedLongLongType>]>
884
890
] // Functions
885
891
>;
886
892
0 commit comments