[all-commits] [llvm/llvm-project] 4a7643: [clang-tools-extra] Use *Set::insert_range (NFC) (...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun Mar 23 00:23:40 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a7643400c44db434983c172d2329bf31679e8fa
https://github.com/llvm/llvm-project/commit/4a7643400c44db434983c172d2329bf31679e8fa
Author: Kazu Hirata <kazu at google.com>
Date: 2025-03-23 (Sun, 23 Mar 2025)
Changed paths:
M clang-tools-extra/clang-move/Move.cpp
M clang-tools-extra/clang-tidy/bugprone/ExceptionEscapeCheck.cpp
M clang-tools-extra/clang-tidy/misc/NoRecursionCheck.cpp
M clang-tools-extra/clang-tidy/openmp/ExceptionEscapeCheck.cpp
M clang-tools-extra/clang-tidy/utils/ExceptionAnalyzer.cpp
M clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp
M clang-tools-extra/clangd/unittests/TestIndex.cpp
Log Message:
-----------
[clang-tools-extra] Use *Set::insert_range (NFC) (#132589)
DenseSet, SmallPtrSet, SmallSet, SetVector, and StringSet recently
gained C++23-style insert_range. This patch replaces:
Dest.insert(Src.begin(), Src.end());
with:
Dest.insert_range(Src);
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list