SuccessChanges

Summary

  1. [CSKY] Add visibility macro to fix link error (details)
  2. [clang-format] Skip UTF8 Byte Order Mark while sorting includes (details)
  3. [ARM] Additional trunc cost tests. NFC (details)
  4. [clang-format] turn on formatting after "clang-format on" while sorting includes (details)
Commit cddd3faf5debdfd2c09bb5b723f579fa8c8d5027 by zixuan.wu
[CSKY] Add visibility macro to fix link error

Add LLVM_EXTERNAL_VISIBILITY macro to fix link error of
https://reviews.llvm.org/D88466#2476378
The file was modifiedllvm/lib/Target/CSKY/TargetInfo/CSKYTargetInfo.cpp
Commit ee27c767bd2062c81f0affc0e8992f60a755f099 by marek.kurdej
[clang-format] Skip UTF8 Byte Order Mark while sorting includes

If file contain BOM then first instruction (include or clang-format off) is ignored

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D94201
The file was modifiedclang/unittests/Format/SortIncludesTest.cpp
The file was modifiedclang/lib/Format/Format.cpp
Commit 0c8b748f321736d016da0f6d710778f503a89b51 by david.green
[ARM] Additional trunc cost tests. NFC
The file was modifiedllvm/test/Analysis/CostModel/ARM/cast.ll
Commit 7473940bae0f263832456d2c99a4bd606ed0d76e by marek.kurdej
[clang-format] turn on formatting after "clang-format on" while sorting includes

Formatting is not active after "clang-format on" due to merging lines while formatting is off. Also, use trimmed line. Behaviour with LF is different than with CRLF.

Reviewed By: curdeius, MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D94206
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/unittests/Format/SortIncludesTest.cpp