Merge pull request #10734 from akallabeth/tz-gen-fix
[ci,timezone] remove clang-format off
This commit is contained in:
commit
d53e8c2574
@ -30,8 +30,6 @@ internal class Program
|
|||||||
fs.WriteLine("");
|
fs.WriteLine("");
|
||||||
fs.WriteLine("#include \"" + fname + ".h\"");
|
fs.WriteLine("#include \"" + fname + ".h\"");
|
||||||
fs.WriteLine("");
|
fs.WriteLine("");
|
||||||
fs.WriteLine("// clang-format off");
|
|
||||||
fs.WriteLine("");
|
|
||||||
fs.WriteLine("static const " + fname + "Entry " + fname + "[] ={");
|
fs.WriteLine("static const " + fname + "Entry " + fname + "[] ={");
|
||||||
|
|
||||||
bool first = true;
|
bool first = true;
|
||||||
@ -61,8 +59,6 @@ internal class Program
|
|||||||
fs.WriteLine("};");
|
fs.WriteLine("};");
|
||||||
fs.WriteLine("");
|
fs.WriteLine("");
|
||||||
fs.WriteLine("static const size_t " + fname + "Size = ARRAYSIZE(" + fname + ");");
|
fs.WriteLine("static const size_t " + fname + "Size = ARRAYSIZE(" + fname + ");");
|
||||||
fs.WriteLine("");
|
|
||||||
fs.WriteLine("// clang-format on");
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -173,7 +169,6 @@ internal class Program
|
|||||||
fs.WriteLine("");
|
fs.WriteLine("");
|
||||||
fs.WriteLine("#include \"" + fname + ".h\"");
|
fs.WriteLine("#include \"" + fname + ".h\"");
|
||||||
fs.WriteLine("");
|
fs.WriteLine("");
|
||||||
fs.WriteLine("// clang-format off");
|
|
||||||
fs.WriteLine("const WINDOWS_TZID_ENTRY " + fname + "[] = {");
|
fs.WriteLine("const WINDOWS_TZID_ENTRY " + fname + "[] = {");
|
||||||
|
|
||||||
foreach (XmlNode mzone in mzones)
|
foreach (XmlNode mzone in mzones)
|
||||||
@ -189,7 +184,6 @@ internal class Program
|
|||||||
fs.WriteLine("};");
|
fs.WriteLine("};");
|
||||||
fs.WriteLine("");
|
fs.WriteLine("");
|
||||||
fs.WriteLine("const size_t " + fname + "NrElements = ARRAYSIZE(" + fname + ");");
|
fs.WriteLine("const size_t " + fname + "NrElements = ARRAYSIZE(" + fname + ");");
|
||||||
fs.WriteLine("// clang-format on");
|
|
||||||
}
|
}
|
||||||
stdout.WriteLine("Finished update");
|
stdout.WriteLine("Finished update");
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user