all: zig fmt and rename "@XToY" to "@YFromX"
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
committed by
Andrew Kelley
parent
a6c8ee5231
commit
50339f595a
@@ -1247,7 +1247,7 @@ fn processOneTarget(job: Job) anyerror!void {
|
||||
for (all_features.items) |feature| {
|
||||
if (feature.llvm_name) |llvm_name| {
|
||||
try w.print(
|
||||
\\ result[@enumToInt(Feature.{})] = .{{
|
||||
\\ result[@intFromEnum(Feature.{})] = .{{
|
||||
\\ .llvm_name = "{}",
|
||||
\\ .description = "{}",
|
||||
\\ .dependencies = featureSet(&[_]Feature{{
|
||||
@@ -1260,7 +1260,7 @@ fn processOneTarget(job: Job) anyerror!void {
|
||||
);
|
||||
} else {
|
||||
try w.print(
|
||||
\\ result[@enumToInt(Feature.{})] = .{{
|
||||
\\ result[@intFromEnum(Feature.{})] = .{{
|
||||
\\ .llvm_name = null,
|
||||
\\ .description = "{}",
|
||||
\\ .dependencies = featureSet(&[_]Feature{{
|
||||
|
||||
Reference in New Issue
Block a user