clang-format: ignore generated files
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 30 Aug 2024 19:52:37 +0000 (15:52 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 30 Aug 2024 20:35:36 +0000 (16:35 -0400)
commit9bfa2aa7c7054496ad2efffdcd3882e288b9388b
tree1ffeeca161e7a49f902ec5adcb01b4fa87ba6512
parent7134be82708c0150ee89b9aec24f7b2e8aa58203
clang-format: ignore generated files

Two auto-generated files cause clang-format < v17 to hang when
they are being formatted. I have not looked into the root-cause,
but formatting them is useless anyhow.

Adding them to .clang-format-ignore works around the problem for the
moment.

Since clang-format 14 does not support ignore files, their support is
crudely emulated here using grep to filter out find's results.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I1cd10349ef1a66b1d595105b0ec1a4beef9dcc9a
.clang-format-ignore [new file with mode: 0644]
format-cpp
This page took 0.024737 seconds and 4 git commands to generate.