This is a fix for https://bugs.llvm.org/show_bug.cgi?id=37967
I need some help to be sure that this fix is correct, even though it's trivial, I am not sure I fixed this in the best possible way.
- Is this a good fix for this issue, or is it just working around it?
- Is the test I wrote good enough? I just tested for the output of -debugify-each, but perhaps it'd be better to check the LLVM IR directly?
nit, we generally ask contributors to clang-format (just) their diffs, e.g. with
https://github.com/llvm-mirror/clang/blob/master/tools/clang-format/clang-format-diff.py
I personally hook this up to git via .gitconfig:
& run 'git fmt' before committing.