[all-commits] [llvm/llvm-project] bc41b0: [lldb][Symtab][NFCI] Replace vector::swap with shr...
Michael Buch via All-commits
all-commits at lists.llvm.org
Wed Nov 1 03:44:09 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc41b0ac2b03b8c305d7399d772c87d27cc9831c
https://github.com/llvm/llvm-project/commit/bc41b0ac2b03b8c305d7399d772c87d27cc9831c
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2023-11-01 (Wed, 01 Nov 2023)
Changed paths:
M lldb/source/Symbol/Symtab.cpp
Log Message:
-----------
[lldb][Symtab][NFCI] Replace vector::swap with shrink_to_fit (#70918)
Replaces the old idiom (of swapping the container to shrink it) with the
newer STL alternative.
Similar transition in LLDB was done in: https://reviews.llvm.org/D47492
More information about the All-commits
mailing list