Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36c78ec

Browse files
[DebugInfo] Use llvm::remove_if (NFC) (#149543)
We can pass a range to llvm::remove_if.
1 parent3c1a09d commit36c78ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ bool LVScope::removeElement(LVElement *Element) {
263263
return Item == Element;
264264
};
265265
auto RemoveElement = [Element, Predicate](auto &Container) ->bool {
266-
auto Iter =std::remove_if(Container->begin(), Container->end(), Predicate);
266+
auto Iter =llvm::remove_if(*Container, Predicate);
267267
if (Iter != Container->end()) {
268268
Container->erase(Iter, Container->end());
269269
Element->resetParent();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp