[lld] [LLD][COFF] Make /wholearchive thin-archive member identifiers consistent (PR #145487)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 20 15:06:49 PDT 2025


================
@@ -275,7 +275,12 @@ void LinkerDriver::addBuffer(std::unique_ptr<MemoryBuffer> mb,
 
       int memberIndex = 0;
       for (MemoryBufferRef m : getArchiveMembers(ctx, archive))
----------------
aganea wrote:

I would add braces to the `for` to enclose the code below.

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


More information about the llvm-commits mailing list