Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions clang/lib/Format/MacroCallReconstructor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -528,10 +528,10 @@ MacroCallReconstructor::createUnwrappedLine(const ReconstructedLine &Line,
// 1. One level below the current line's level.
// 2. At the correct level relative to each other.
unsigned MinChildLevel =
std::min_element(N->Children.begin(), N->Children.end(),
[](const auto &E1, const auto &E2) {
return E1->Level < E2->Level;
})
llvm::min_element(N->Children,
[](const auto &E1, const auto &E2) {
return E1->Level < E2->Level;
})
->get()
->Level;
for (const auto &Child : N->Children) {
Expand Down
Loading