[PATCH] D101072: [lld] reformat multi-line error messages in source code

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 13:53:28 PDT 2021


int3 added a comment.

Hm, I'd prefer not to have to see spurious clang-format messages.

It also means that I can't just `clang-format -i` the entire directory any more. I know there's clang-format-diff, but sometimes cleaning up the whole directory is what's needed...

How about introducing a `multilineError` function that takes multiple string parameters instead and adds the appropriate `\n` and `>>>` bits?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101072/new/

https://reviews.llvm.org/D101072



More information about the llvm-commits mailing list