forked from OSchip/llvm-project
[clangd] Fix naming warning from clang-tidy. NFC
Also remove newlines and braces. llvm-svn: 361147
This commit is contained in:
parent
2109572464
commit
03a7353fa0
|
@ -95,11 +95,8 @@ public:
|
|||
std::vector<std::pair<Path, bool>> filesWithDiags() const {
|
||||
std::vector<std::pair<Path, bool>> Result;
|
||||
std::lock_guard<std::mutex> Lock(Mutex);
|
||||
|
||||
for (const auto &it : LastDiagsHadError) {
|
||||
Result.emplace_back(it.first(), it.second);
|
||||
}
|
||||
|
||||
for (const auto &It : LastDiagsHadError)
|
||||
Result.emplace_back(It.first(), It.second);
|
||||
return Result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue