Skip to content

Commit d6d536c

Browse files
mikolaj-pirogaokblast
authored andcommitted
[compiler-rt] Restore unsigned value in struct, use enum only in function (llvm#165048)
Typed enums are c23 features and are too new to be used. This PR restores the types in the `__processor_model` struct back to `unsigned int`, removes typed enums, and uses the enum in the function as a variable that's later assigned to a struct in order to prevent errors fixed initially here: llvm#164713 See llvm#165034 for more background
1 parent 772b0b4 commit d6d536c

File tree

1 file changed

+130
-116
lines changed
  • compiler-rt/lib/builtins/cpu_model

1 file changed

+130
-116
lines changed

0 commit comments

Comments
 (0)