[lld] [DRAFT][clang-format][lld] Run clang-format on lld (PR #80461)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 10:50:54 PST 2024


================
@@ -461,12 +461,11 @@ void AArch64Err843419Patcher::init() {
     llvm::stable_sort(mapSyms, [](const Defined *a, const Defined *b) {
       return a->value < b->value;
     });
-    mapSyms.erase(
-        std::unique(mapSyms.begin(), mapSyms.end(),
----------------
MaskRay wrote:

I believe this was output from a previous version of clang-format. Personally I'd avoid such a change, but if a special rule makes things harder, I think it would be fine to format this.

https://github.com/llvm/llvm-project/pull/80461


More information about the llvm-commits mailing list