Skip to content

Commit 31decad

Browse files
mikolaj-piroggithub-actions[bot]
authored andcommitted
Automerge: [compiler-rt] Restore unsigned value in struct, use enum only in function (#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: #164713 See llvm/llvm-project#165034 for more background
2 parents 08ef525 + ce61550 commit 31decad

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)