mirror of
https://github.com/verilator/verilator.git
synced 2024-12-29 10:47:34 +00:00
Apply 'make format'
This commit is contained in:
parent
708f875b31
commit
1537c9badc
@ -493,7 +493,10 @@ string V3Options::fileExists(const string& filename) {
|
||||
try {
|
||||
for (const auto& dirEntry : std::filesystem::directory_iterator(dir.c_str()))
|
||||
setp->insert(dirEntry.path().filename().string());
|
||||
} catch (std::filesystem::filesystem_error const& ex) { (void)ex; return ""; }
|
||||
} catch (std::filesystem::filesystem_error const& ex) {
|
||||
(void)ex;
|
||||
return "";
|
||||
}
|
||||
#else
|
||||
if (DIR* const dirp = opendir(dir.c_str())) {
|
||||
while (struct dirent* direntp = readdir(dirp)) setp->insert(direntp->d_name);
|
||||
|
Loading…
Reference in New Issue
Block a user