summaryrefslogtreecommitdiff
path: root/lib/variables.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-01-29 15:27:26 -0500
committerPeter Jones <pmjones@gmail.com>2021-01-29 18:24:57 -0500
commit0172d43507f0d0af4b8940131770196b5a186aba (patch)
tree445227d00ffcd656545dfa2a925d058dde6a83ea /lib/variables.c
parent0789f48d70b7593808f18dc4f1dbce2ca67df0f4 (diff)
downloadefi-boot-shim-0172d43507f0d0af4b8940131770196b5a186aba.tar.gz
efi-boot-shim-0172d43507f0d0af4b8940131770196b5a186aba.zip
Work around some clang-format oddnesses
In the version of clang-format I've got locally[0], WhitespaceSensitiveMacros seems to only work sometimes. That means that if we ever run it on some particular things, it could seriously mess up a bunch of our debugging output. That's not great. In this patch, I've gone ahead and run clang-format on all the macros that use __LINE__, which are the obvious places this is dangerous, and then audited the result and fixed anything that's broken (including a couple of places where it was already broken.) [0] random:~/devel/github.com/shim/clang-format$ clang-format --version clang-format version 11.0.0 (Fedora 11.0.0-2.fc33) Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'lib/variables.c')
0 files changed, 0 insertions, 0 deletions