mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[winpr,timezone] deactivate clang-format for generated files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user