mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-30 12:07:34 +00:00
[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
Block a user