Merge pull request #10734 from akallabeth/tz-gen-fix

[ci,timezone] remove clang-format off
This commit is contained in:
akallabeth 2024-10-12 09:06:32 +02:00 committed by GitHub
commit d53e8c2574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,8 +30,6 @@ internal class Program
fs.WriteLine("");
fs.WriteLine("#include \"" + fname + ".h\"");
fs.WriteLine("");
fs.WriteLine("// clang-format off");
fs.WriteLine("");
fs.WriteLine("static const " + fname + "Entry " + fname + "[] ={");
bool first = true;
@ -61,8 +59,6 @@ internal class Program
fs.WriteLine("};");
fs.WriteLine("");
fs.WriteLine("static const size_t " + fname + "Size = ARRAYSIZE(" + fname + ");");
fs.WriteLine("");
fs.WriteLine("// clang-format on");
}
return true;
}
@ -173,7 +169,6 @@ internal class Program
fs.WriteLine("");
fs.WriteLine("#include \"" + fname + ".h\"");
fs.WriteLine("");
fs.WriteLine("// clang-format off");
fs.WriteLine("const WINDOWS_TZID_ENTRY " + fname + "[] = {");
foreach (XmlNode mzone in mzones)
@ -189,7 +184,6 @@ internal class Program
fs.WriteLine("};");
fs.WriteLine("");
fs.WriteLine("const size_t " + fname + "NrElements = ARRAYSIZE(" + fname + ");");
fs.WriteLine("// clang-format on");
}
stdout.WriteLine("Finished update");
return true;