[winpr,timezone] deactivate clang-format for generated files

This commit is contained in:
akallabeth
2024-10-11 09:16:00 +02:00
parent 88ce44ed2e
commit 2cbb5685b4

View File

@@ -30,6 +30,8 @@ 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;
@@ -60,6 +62,8 @@ internal class Program
fs.WriteLine("");
fs.WriteLine("static const size_t " + fname + "Size = ARRAYSIZE(" + fname + ");");
fs.WriteLine("");
fs.WriteLine("// clang-format on");
fs.WriteLine("");
}
return true;
}