Commit c6c3946
authored
[clang] Use *Set::insert_range (NFC) (#132507)
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);
This patch does not touch custom begin like succ_begin for now.1 parent c5d4dfb commit c6c3946
File tree
13 files changed
+15
-17
lines changed- clang
- include/clang/StaticAnalyzer/Core/PathSensitive
- lib
- AST
- Analysis
- Driver
- Sema
- Serialization
- StaticAnalyzer/Frontend
- tools/libclang
- unittests/Analysis/FlowSensitive
- utils/TableGen
13 files changed
+15
-17
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | | - | |
| 488 | + | |
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3304 | 3304 | | |
3305 | 3305 | | |
3306 | 3306 | | |
3307 | | - | |
| 3307 | + | |
3308 | 3308 | | |
3309 | 3309 | | |
3310 | 3310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4298 | 4298 | | |
4299 | 4299 | | |
4300 | 4300 | | |
4301 | | - | |
| 4301 | + | |
4302 | 4302 | | |
4303 | 4303 | | |
4304 | 4304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1267 | 1267 | | |
1268 | 1268 | | |
1269 | 1269 | | |
1270 | | - | |
| 1270 | + | |
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18920 | 18920 | | |
18921 | 18921 | | |
18922 | 18922 | | |
18923 | | - | |
| 18923 | + | |
18924 | 18924 | | |
18925 | 18925 | | |
18926 | 18926 | | |
| |||
18947 | 18947 | | |
18948 | 18948 | | |
18949 | 18949 | | |
18950 | | - | |
| 18950 | + | |
18951 | 18951 | | |
18952 | 18952 | | |
18953 | 18953 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17944 | 17944 | | |
17945 | 17945 | | |
17946 | 17946 | | |
17947 | | - | |
17948 | | - | |
| 17947 | + | |
17949 | 17948 | | |
17950 | 17949 | | |
17951 | 17950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
0 commit comments